AppleIIAsm-Collection/source/d1_reqcommon/T.MIN.MAC.COMMON
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

41 lines
723 B
Plaintext

MFILL MAC
_MLIT ]1;WPAR1
_MLIT ]2;WPAR2
LDA ]3
STA BPAR1
JSR MEMFILL
<<<
BEEP MAC
LDX ]1
]LP1
JSR BELL
DEX
CPX #0
BNE ]LP1
<<<
MMOVE MAC
_MLIT ]1;WPAR1
_MLIT ]2;WPAR2
_MLIT ]3;WPAR3
JSR MEMMOVE
<<<
DELAY MAC
LDY ]1
JSR DELAYMS
<<<
ZSAVE MAC
_AXLIT ]1
JSR ZMSAVE
<<<
ZLOAD MAC
_AXLIT ]1
JSR ZMLOAD
<<<
MSWAP MAC
_MLIT ]2;WPAR2
_MLIT ]1;WPAR1
LDA ]3
STA BPAR1
JSR MEMSWAP
<<<