summaryrefslogtreecommitdiff
path: root/tcl/interface/parport.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/interface/parport.cfg')
-rw-r--r--tcl/interface/parport.cfg8
1 files changed, 7 insertions, 1 deletions
diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg
index 0f18ce9e..326005a9 100644
--- a/tcl/interface/parport.cfg
+++ b/tcl/interface/parport.cfg
@@ -3,6 +3,12 @@
#
# Addresses: 0x378/LPT1 or 0x278/LPT2 ...
+if { [info exists PARPORTADDR] } {
+ set _PARPORTADDR $PARPORTADDR
+} else {
+ set _PARPORTADDR 0x378
+}
+
interface parport
-parport_port 0x378
+parport_port $_PARPORTADDR
parport_cable wiggler