mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2024-12-01 06:49:59 +00:00
1cca2ca580
mostly updated the required and common libraries, as well as created a minify program in applesoft basic that automatically creates a .min file from fully-commented source.
56 lines
923 B
Plaintext
56 lines
923 B
Plaintext
MFILL MAC
|
|
_ISLIT ]1
|
|
_ISLIT ]2
|
|
LDA ]3 ; FILL VALUE
|
|
PHA
|
|
JSR MEMFILL
|
|
<<<
|
|
BEEP MAC
|
|
LUP ]1
|
|
JSR BELL
|
|
--^
|
|
<<<
|
|
MMOVE MAC
|
|
LDA #>]1
|
|
PHA
|
|
LDA #<]1
|
|
PHA
|
|
LDA #>]2
|
|
PHA
|
|
LDA #<]2
|
|
PHA
|
|
_ISLIT ]3
|
|
JSR MEMMOVE
|
|
<<<
|
|
DELAY MAC
|
|
LDY ]1
|
|
JSR DELAYMS
|
|
<<<
|
|
ZSAVE MAC
|
|
LDA #>]1
|
|
PHA
|
|
LDA #<]1
|
|
PHA
|
|
JSR ZMSAVE
|
|
<<<
|
|
ZLOAD MAC
|
|
LDA #>]1
|
|
PHA
|
|
LDA #<]1
|
|
PHA
|
|
JSR ZMLOAD
|
|
<<<
|
|
MSWAP MAC
|
|
LDA #>]2
|
|
PHA
|
|
LDA #<]2
|
|
PHA
|
|
LDA #>]1
|
|
PHA
|
|
LDA #<]1
|
|
PHA
|
|
LDA ]3
|
|
PHA
|
|
JSR MEMSWAP
|
|
<<<
|