mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2024-11-27 12:49:27 +00:00
9849dbb5ea
items in disk folder will be updated automatically, whereas items in the source folder will be updated periodically due to having to manually sort through files to copy and paste
90 lines
2.5 KiB
Plaintext
90 lines
2.5 KiB
Plaintext
*
|
|
*``````````````````````````````*
|
|
*CURSFOR :: MOVE CURSOR FORWD *
|
|
* *
|
|
*- -*
|
|
* FLAGS: NZC----- REG: AYM- *
|
|
* CYCLES: 20 *
|
|
*- -*
|
|
* USAGE: *
|
|
* LDA (AMT TO MOVE) *
|
|
* JSR CURSFOR *
|
|
*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*
|
|
*
|
|
CURSFOR
|
|
CLC
|
|
ADC CURSH
|
|
STA CURSH
|
|
JSR VTAB
|
|
RTS
|
|
*
|
|
*``````````````````````````````*
|
|
*CURSBAK :: MOVE CURSOR BACKWD *
|
|
* *
|
|
*- -*
|
|
* FLAGS: NZC----- REG: AYM- *
|
|
* CYCLES: 26 *
|
|
*- -*
|
|
* USAGE: *
|
|
* LDA (AMT TO MOVE) *
|
|
* JSR CURSBAK *
|
|
*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*
|
|
*
|
|
CURSBAK
|
|
SEC
|
|
STA :SCRATCH
|
|
LDA CURSH
|
|
SBC :SCRATCH
|
|
STA CURSH
|
|
JSR VTAB
|
|
RTS
|
|
*
|
|
** DATA
|
|
*
|
|
:SCRATCH DS 1
|
|
*
|
|
*``````````````````````````````*
|
|
* CURSDN :: MOVE CURSOR DOWN *
|
|
* *
|
|
*- -*
|
|
* FLAGS: NZC----- REG: AYM- *
|
|
* CYCLES: 20 *
|
|
*- -*
|
|
* USAGE: *
|
|
* LDA (AMT TO MOVE) *
|
|
* JSR CURSDN *
|
|
*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*
|
|
*
|
|
CURSDN
|
|
CLC
|
|
ADC CURSV
|
|
STA CURSV
|
|
JSR VTAB
|
|
RTS
|
|
*
|
|
*``````````````````````````````*
|
|
* CURSUP :: MOVE CURSOR UP *
|
|
* *
|
|
*- -*
|
|
* FLAGS: NZC----- REG: AYM- *
|
|
* CYCLES: 26 *
|
|
*- -*
|
|
* USAGE: *
|
|
* LDA (AMT TO MOVE) *
|
|
* JSR CURSUP *
|
|
*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*
|
|
*
|
|
CURSUP
|
|
SEC
|
|
STA :SCRATCH
|
|
LDA CURSV
|
|
SBC :SCRATCH
|
|
STA CURSV
|
|
JSR VTAB
|
|
RTS
|
|
*
|
|
** DATA
|
|
*
|
|
:SCRATCH DS 1
|
|
*
|