mirror of
https://github.com/bobbimanners/EightBall.git
synced 2024-06-15 07:29:29 +00:00
Added eightballvmzp_a2e.S, which was missed for v0.75
This commit is contained in:
parent
da7dea8906
commit
d0cf5fc223
18
eightballvmzp_a2e.S
Normal file
18
eightballvmzp_a2e.S
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
;
|
||||||
|
; Apple II zero page is used for VM
|
||||||
|
; registers: evalptr, PC, SP, FP
|
||||||
|
|
||||||
|
; $80-$9a are used by cc65 ZP segment so avoid this range
|
||||||
|
|
||||||
|
; Zero-page usage is documented in:
|
||||||
|
; ProDOS 8 Technical Reference Manual Section A.4
|
||||||
|
; The upper half of ZP is generally used by BASIC only, so we can use it.
|
||||||
|
|
||||||
|
.exportzp _evalptr := $a0
|
||||||
|
.exportzp _pc := $a1
|
||||||
|
.exportzp _sp := $a3
|
||||||
|
.exportzp _fp := $a5
|
||||||
|
.exportzp _wordptr := $a7
|
||||||
|
.exportzp _byteptr := $a9
|
||||||
|
.exportzp _evalstack := $ab ; 32 bytes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user