mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2024-12-02 12:52:03 +00:00
c8cac53c5e
Massive updates that changes the way most subroutines are handled. Major bugfixes, various utilities added, started higher-level libraries.
30 lines
616 B
Plaintext
30 lines
616 B
Plaintext
DELAYMS
|
|
MSCNT EQU $0CA
|
|
|
|
|
|
:DELAY
|
|
CPY #0
|
|
BEQ :EXIT
|
|
NOP
|
|
CPY #1
|
|
BNE :DELAYA
|
|
JMP :LAST1
|
|
:DELAYA
|
|
DEY
|
|
:DELAY0
|
|
LDX #MSCNT
|
|
:DELAY1
|
|
DEX
|
|
BNE :DELAY1
|
|
NOP
|
|
NOP
|
|
DEY
|
|
BNE :DELAY0
|
|
:LAST1
|
|
LDX #MSCNT-3
|
|
:DELAY2
|
|
DEX
|
|
BNE :DELAY2
|
|
:EXIT
|
|
RTS
|