mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
Update Survey.asm
- Make SURVEY.COM port probing compatible with Z280
This commit is contained in:
@@ -600,9 +600,11 @@ PORTLP:
|
||||
mov c,a ; port number to reg c
|
||||
mvi b,0 ; for 16 bit port addressing
|
||||
db 0edh,078h ; z80: in a,(c)
|
||||
; inactive port could return 0xFF or 0x78
|
||||
CPI 0FFH
|
||||
JZ NEXTPT
|
||||
; inactive port could return 0xFF or 0x78 or the port address
|
||||
cmp c
|
||||
jz nextpt
|
||||
cpi 0FFh
|
||||
jz nextpt
|
||||
cpi 078h
|
||||
jz nextpt
|
||||
ISPORT:
|
||||
|
||||
Reference in New Issue
Block a user