]> git.sur5r.net Git - cc65/blob - asminc/zeropage.inc
Fixed _textcolor definition.
[cc65] / asminc / zeropage.inc
1 ;
2 ; zeropage.inc
3 ;
4 ; (C) Copyright 2002-2012, Ullrich von Bassewitz (uz@cc65.org)
5 ;
6
7 ; Assembler include file that imports the runtime zero page locations used
8 ; by the compiler, ready for usage in asm code.
9
10
11         .globalzp       sp, sreg, regsave
12         .globalzp       ptr1, ptr2, ptr3, ptr4
13         .globalzp       tmp1, tmp2, tmp3, tmp4
14         .globalzp       regbank
15   
16 ; The size of the register bank
17 regbanksize     = 6
18
19 ; The total amount of zero page space used
20 zpspace         = 26
21
22 ; The amount of space that needs to be saved by an interrupt handler that
23 ; calls C code (does not include the register bank, which is saved by the
24 ; generated C code if required).
25 zpsavespace     = zpspace - regbanksize
26