Fixed bug in H-DMA code

This commit is contained in:
pagefault
2001-12-03 18:59:53 +00:00
parent 4351305979
commit 9b994d559a
2 changed files with 3 additions and 44 deletions

View File

@@ -23,7 +23,7 @@ EXTSYM memtablew8,regptr
EXTSYM dmadata
EXTSYM hdmatype
EXTSYM nexthdma
EXTSYM curhdma,curypos,disablehdma,hdmadata,hdmadelay,hdmaearlstart
EXTSYM curhdma,curypos,pdh,cycphb,hdmadata,hdmadelay,hdmaearlstart
EXTSYM resolutn
EXTSYM memtabler16
@@ -778,7 +778,8 @@ NEWSYM reg420Cw
mov bx,[resolutn]
cmp word[curypos],bx
jae near .nohdma
cmp byte[disablehdma],0
mov dh,[pdh]
cmp dh,[cycphb]
jne near .nohdma
; jmp starthdma
mov al,[curhdma]