Proper behaviour of RDIO regs

This commit is contained in:
pagefault
2003-05-05 00:54:54 +00:00
parent e85cbe154d
commit 5926338641
2 changed files with 4 additions and 4 deletions

View File

@@ -664,9 +664,10 @@ NEWSYM SDD1BankD, db 3
NEWSYM vramread2, db 0 ; previous character for vram read
NEWSYM nosprincr, db 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
; pharos equ hack *sigh*
@@ -1371,9 +1372,7 @@ debblah2:
; Programmable I/O port
reg4213r:
; mov al,[mode7A]
; xor al,al
; mov al,0FFh
mov al,[rdioval]
ret
; Quotent of Divide Result (Low)

View File

@@ -1504,6 +1504,7 @@ reg4200w:
; Programmable I/O port (out-port)
reg4201w:
mov byte[rdioval],al
mov bl,al
and bl,80h
and byte[MultiTapStat],07Fh