Update to have some more hardcoding and differences
This commit is contained in:
parent
811766af00
commit
6fb93429cc
@ -31,11 +31,9 @@ GETD LHLD SAVE_HL ; restore HL
|
||||
|
||||
INPDEL LXI H,0 ; Init HL to zero before starting the delay loop
|
||||
IN 0FFH
|
||||
CPI 0FFH ; All Sense switches on is a HALT.
|
||||
CPI 00H ; All Sense switches off finishes the program.
|
||||
JZ DONE
|
||||
ADI 1
|
||||
MOV C,A ; sense switches to B
|
||||
MVI B,0 ; BC = <sense>00
|
||||
LXI B,4H ; Hardcoded timer
|
||||
|
||||
BLINK LDAX D
|
||||
LDAX D
|
||||
@ -46,7 +44,7 @@ BLINK LDAX D
|
||||
JMP GETD
|
||||
; Done with this loop go get the next D
|
||||
|
||||
; Return to CP/M if FF on sense switches. Some way to drop out.
|
||||
; Return to CP/M if 00 on sense switches. Some way to drop out.
|
||||
DONE JMP 0H
|
||||
; Somewhere to save HL, since it will get clobbered by the delay routine.
|
||||
SAVE_HL DW 0
|
||||
|
Loading…
Reference in New Issue
Block a user