diff options
| author | Duncan Smith | 2010-06-19 11:49:03 -0700 |
|---|---|---|
| committer | Duncan Smith | 2010-06-19 11:49:03 -0700 |
| commit | 135edb48d254eef5fc6899b36c6e7ceab3ba8d18 (patch) | |
| tree | a2b3de0135d5519ccd65dba0744bf0f22ae03301 /ports.asm | |
| parent | d4b445737c2c39cc6214d97366d754f5bf4c0cc4 (diff) | |
Fixes to port IO
Diffstat (limited to 'ports.asm')
| -rw-r--r-- | ports.asm | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -8,12 +8,6 @@ port_in: jmp (a0) rts -port_out: - ;; Fix this to work properly ... -; movea lut_ports_in(pc,d0),a0 - jmp (a0) - rts - lut_ports_in: dc.l port_in_00 dc.l port_in_01 @@ -272,6 +266,11 @@ lut_ports_in: dc.l port_in_fe dc.l port_in_ff +port_out: + movea lut_ports_out(pc,d0.w),a0 + jmp (a0) + rts + lut_ports_out: dc.l port_out_00 dc.l port_out_01 @@ -632,7 +631,7 @@ port_out_10_01: ; 8-bit mode rts port_out_10_02: ; screen off move.b #$20,p10_enabled - rtsp + rts port_out_10_03: ; screen on move.b #$00,p10_enabled rts |
