Proper behaviour of RDIO regs
This commit is contained in:
@@ -664,9 +664,10 @@ NEWSYM SDD1BankD, db 3
|
|||||||
NEWSYM vramread2, db 0 ; previous character for vram read
|
NEWSYM vramread2, db 0 ; previous character for vram read
|
||||||
NEWSYM nosprincr, db 0
|
NEWSYM nosprincr, db 0
|
||||||
NEWSYM poamaddrs, dw 0
|
NEWSYM poamaddrs, dw 0
|
||||||
|
NEWSYM rdioval, db 0
|
||||||
|
|
||||||
|
|
||||||
NEWSYM tempdat, times 480 db 0 ; expandable area
|
NEWSYM tempdat, times 479 db 0 ; expandable area
|
||||||
|
|
||||||
num2writeppureg equ $-sndrot
|
num2writeppureg equ $-sndrot
|
||||||
; pharos equ hack *sigh*
|
; pharos equ hack *sigh*
|
||||||
@@ -1371,9 +1372,7 @@ debblah2:
|
|||||||
|
|
||||||
; Programmable I/O port
|
; Programmable I/O port
|
||||||
reg4213r:
|
reg4213r:
|
||||||
; mov al,[mode7A]
|
mov al,[rdioval]
|
||||||
; xor al,al
|
|
||||||
; mov al,0FFh
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
; Quotent of Divide Result (Low)
|
; Quotent of Divide Result (Low)
|
||||||
|
|||||||
@@ -1504,6 +1504,7 @@ reg4200w:
|
|||||||
|
|
||||||
; Programmable I/O port (out-port)
|
; Programmable I/O port (out-port)
|
||||||
reg4201w:
|
reg4201w:
|
||||||
|
mov byte[rdioval],al
|
||||||
mov bl,al
|
mov bl,al
|
||||||
and bl,80h
|
and bl,80h
|
||||||
and byte[MultiTapStat],07Fh
|
and byte[MultiTapStat],07Fh
|
||||||
|
|||||||
Reference in New Issue
Block a user