mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2024-12-01 06:49:59 +00:00
eb2b7deea0
- 16bit array subroutines will be added here at a later date. - Strings library separated from arrays on its own disk in anticipation of larger libraries.
47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
Plaintext
*
|
|
*``````````````````````````````*
|
|
* DECLARATIONS.PUT *
|
|
*- -*
|
|
* USED IN CONJUNCTION WITH *
|
|
* OTHER PUT FILES. DEFINES *
|
|
* BASIC DECLARATIONS USED *
|
|
* ACROSS DIFFERENT ROUTINES *
|
|
*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*
|
|
*
|
|
** ADDRESS STORAGE LOCATIONS FOR
|
|
** INDIRECT ADDRESSING.
|
|
*
|
|
ADDR1 EQU $06
|
|
ADDR2 EQU $08
|
|
ADDR3 EQU $EB
|
|
ADDR4 EQU $ED
|
|
*
|
|
** SCRATCHPAD ZERO PAGE LOCATIONS AND
|
|
** DEDICATED ZERO PAGE ADDRESS TO HOLD
|
|
** A RETURN ADDRESS PASSED VIA THE STACK
|
|
*
|
|
SCRATCH EQU $19
|
|
SCRATCH2 EQU $1E
|
|
RETADR EQU $FE
|
|
*
|
|
** ZERO PAGE ADDRESSES DEDICATED TO PASSING
|
|
** BACK RESULTS WHEN THERE ARE MORE THAN
|
|
** THREE BYTES BEING PASSED (AXY) AND THE
|
|
** USE OF THE STACK IS IMPRACTICAL OR TOO SLOW
|
|
*
|
|
RESULT EQU $FA
|
|
RESULT2 EQU $FC
|
|
*
|
|
** VARIOUS HOOKS USED BY ALL ROUTINES
|
|
*
|
|
REENTRY EQU $3D0
|
|
*
|
|
** ERROR HANDLING MEMORY LOCATIONS
|
|
*
|
|
** THIS DESIGNATES A 16-BYTE BLOCK OF MEMORY
|
|
** THAT HOLDS DATA RELATED TO IDENTIFYING
|
|
** RUNTIME VALUES FOR DEBUGGING.
|
|
*
|
|
ERRLOC EQU $0C00
|
|
*
|