AppleIIAsm-Collection/source/d2_stdio/T.MIN.SUB.TVLINE
nathanriggs 9f35f32f67 Revision 0.5.0
- massive overhaul of architecture
- first round of optimizations
- first draft of the technical manual for the entire library
- reorganization of directory structure
2019-09-27 16:57:34 -04:00

18 lines
348 B
Plaintext

]X1 EQU WPAR1
]Y1 EQU WPAR2
]Y2 EQU WPAR2+1
]F EQU BPAR1
TVLINE
LDA ]Y1
LDY ]X1
:LOOP
JSR GBCALC
LDA ]F
STA (GBPSH),Y
INC ]Y1
LDA ]Y1
CMP ]Y2
BNE :LOOP ; LOOP
:EXIT
RTS