Moved the data that keeps a copy of the used zero page locations in its own

segment to reduce the executable size.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3849 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2008-07-03 19:39:14 +00:00
parent ab39981db1
commit f257b2ee81
16 changed files with 34 additions and 11 deletions

View File

@@ -147,8 +147,8 @@ IRQ: cld ; Just to be sure
bne dobreak
; It's an IRQ and RAM is enabled. If we have handlers, call them. We will use
; a flag here instead of loading __INTERRUPTOR_COUNT__ directly, since the
; condes function is not reentrant. The irqcount flag will be set/reset from
; a flag here instead of loading __INTERRUPTOR_COUNT__ directly, since the
; condes function is not reentrant. The irqcount flag will be set/reset from
; the main code, to avoid races.
ldy irqcount
@@ -194,13 +194,16 @@ nohandler:
; Data
.data
zpsave: .res zpspace
; BRK handling
brk_jmp: jmp $0000
spsave: .res 1
.segment "ZPSAVE"
zpsave: .res zpspace
.bss
irqcount: .byte 0