mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:13:13 -06:00
Create ctcstub.asm
This commit is contained in:
20
Source/HBIOS/ctcstub.asm
Normal file
20
Source/HBIOS/ctcstub.asm
Normal file
@@ -0,0 +1,20 @@
|
||||
;___CTC________________________________________________________________________________________________________________
|
||||
;
|
||||
; Z80 CTC STUB
|
||||
;
|
||||
; DISPLAY CONFIGURATION DETAILS
|
||||
;______________________________________________________________________________________________________________________
|
||||
;
|
||||
CTC_INIT: ; MINIMAL INIT
|
||||
CTC_PRTCFG:
|
||||
; ANNOUNCE PORT
|
||||
CALL NEWLINE ; FORMATTING
|
||||
PRTS("CTC$") ; FORMATTING
|
||||
; LD A,(IY) ; DEVICE NUM
|
||||
; CALL PRTDECB ; PRINT DEVICE NUM
|
||||
PRTS(": IO=0x$") ; FORMATTING
|
||||
LD A,CTCBASE ; GET BASE PORT
|
||||
CALL PRTHEXBYTE ; PRINT BASE PORT
|
||||
;
|
||||
XOR A
|
||||
RET
|
||||
Reference in New Issue
Block a user