mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Allocate own zp pointer for conio implementation
This commit is contained in:
parent
0eaf3eef6d
commit
60fffb289a
11
libsrc/atari7800/extzp.inc
Normal file
11
libsrc/atari7800/extzp.inc
Normal 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
11
libsrc/atari7800/extzp.s
Normal 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
|
Loading…
Reference in New Issue
Block a user