diff options
| author | Astrid Smith | 2010-06-19 11:49:03 -0700 |
|---|---|---|
| committer | Astrid Smith | 2010-06-19 11:49:03 -0700 |
| commit | 576e73dc1078bad98a4d84d1393b636bc3cf51ef (patch) | |
| tree | 91c40eacef36acd4d636e391198e40b938e15676 /ports.asm | |
| parent | 95376909dfb09dc70ce19b877e3f0303d7d452e4 (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 |
