1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

Allocate own zp pointer for conio implementation

This commit is contained in:
Karri Kaksonen 2022-04-05 11:13:18 +03:00 committed by mrdudz
parent 0eaf3eef6d
commit 60fffb289a
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
;
; extzp.inc for the Atari 7800
;
; Karri Kaksonen, 2022-04-05
;
; Assembler include file that imports the runtime zero page locations used
; by the atari7800 runtime, ready for usage in asm code.
;
.global ptr7800: zp

11
libsrc/atari7800/extzp.s Normal file
View File

@ -0,0 +1,11 @@
;
; Karri Kaksonen, 2022-04-05
;
; zeropage locations for exclusive use by the library
;
.include "extzp.inc"
.segment "EXTZP" : zeropage
ptr7800: .res 2