Epple-II/rom/stdout.m4
Christopher A. Mosher b2bcf31857 build roms
2022-11-01 21:00:07 -04:00

34 lines
432 B
Plaintext

YSAV1 = $35
STKBAS = $0100
LATCHC = $C080
COUT = $FDF0
MONRTS = $FF58
STDOUT STY YSAV1
PHA
TXA
PHA
JSR MONRTS
TSX
LDA STKBAS,X
ASL
ASL
ASL
ASL
TAX
PLA
TAY
PLA
STA LATCHC,X
PHA
TYA
TAX
PLA
LDY YSAV1
JMP COUT