1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-06-03 04:29:31 +00:00

Updated Apple 1 and Apple 2 header files

This commit is contained in:
Curtis F Kaylor 2019-03-22 20:14:00 -04:00
parent 076586be05
commit 71d308aa57
5 changed files with 15 additions and 7 deletions

View File

@ -6,7 +6,7 @@ ESCKEY EQU $1B ;Escape/Stop Key (Escape)
RTNKEY EQU $0D ;Return/Enter Key (Return)
;Zero Page Variables (*=System Variable)
DSTLO EQU $06 ;Destination String Pointer (string.a02)
DSTLO EQU $06 ;Destination String/Array Pointer
DSTHI EQU $07
BLKLO EQU $08 ;Block Segment Pointer (block.a02)
BLKHI EQU $09
@ -16,14 +16,16 @@ RANDOM EQU $1F ;Random Number
INVFLG EQU $32 ;*Inverse Flag: $3F=Blinking, $7F=Inverse, $FF=Normal
RDSEED EQU $4E ;O/S Random Number Low Byte
; EQU $4F ;O/S Random Number High Byte
SRCLO EQU $71 ;Source String Pointer (stdio.a02)
SRCLO EQU $71 ;Source String/Array Pointer
SRCHI EQU $72
; $E3 ;Unused
BLKSLO EQU $EB ;Block Start Address
BLKSHI EQU $ED
BLKSHI EQU $EC
BLKELO EQU $ED ;Block End Address
BLKEHI EQU $EE
BLKLEN EQU $EF ;Block Segment Length
BFRLO EQU $FA ;Work Buffer Pointer
BFRHI EQU $FB
TEMP0 EQU $FC ;Temporary Storage
TEMP1 EQU $FD
TEMP2 EQU $FE

View File

@ -5,6 +5,7 @@
/* Standard Library Variables */
char srclo,srchi; //Source String Pointer for Library Functions
char dstlo,dsthi; //Destination String Pointer for Library Functions
char bfrlo,bfrhi; //Buffer Pointer for Library Functions
char blklo,blkhi; //Block Segment Pointer
char ptrlo,ptrhi; //System Pointer

View File

@ -21,10 +21,12 @@ SRCLO EQU $30 ;Source String Pointer (stdio.a02)
SRCHI EQU $31
DSTLO EQU $32 ;Destination String Pointer (string.a02)
DSTHI EQU $33
BLKLO EQU $34 ;Block Segment Pointer (block.a02)
BLKHI EQU $35
STKLO EQU $35 ;System Pointer (pointer.a02)
STKHI EQU $36
DSTLO EQU $34 ;Destination String Pointer (string.a02)
DSTHI EQU $35
BLKLO EQU $36 ;Block Segment Pointer (block.a02)
BLKHI EQU $37
STKLO EQU $38 ;System Pointer (pointer.a02)
STKHI EQU $39
RDSEED EQU $3E ;Pseudo-RANDOM Seed
RANDOM EQU $3F ;Pseudo-RANDOM Number Storage

View File

@ -22,6 +22,8 @@ BLKSHI EQU $ED
BLKELO EQU $ED ;Block End Address
BLKEHI EQU $EE
BLKLEN EQU $EF ;Block Segment Length
BFRLO EQU $FA ;Work Buffer Pointer
BFRHI EQU $FB
TEMP0 EQU $FC ;Temporary Storage
TEMP1 EQU $FD
TEMP2 EQU $FE

View File

@ -8,6 +8,7 @@
/* Standard Library Pointers */
char srclo,srchi; //Source String Pointer for Library Functions
char dstlo,dsthi; //Destination String Pointer for Library Functions
char bfrlo,bfrhi; //Buffer Pointer for Library Functions
char blklo,blkhi; //Block Segment Pointer
char stklo,stkhi; //System Pointer