mirror of
https://github.com/cc65/cc65.git
synced 2026-04-23 23:17:45 +00:00
Use the new declarations from the zeropage include file. In interrupt handlers
that call C code, we don't need to save the register bank, because the C code will save it, when needed. git-svn-id: svn://svn.cc65.org/cc65/trunk@5909 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -35,11 +35,11 @@
|
||||
|
||||
.include "o65.inc"
|
||||
.include "modload.inc"
|
||||
.include "zeropage.inc"
|
||||
|
||||
.import pushax, pusha0, push0, push1, decax1
|
||||
.import _malloc, _free, _bzero
|
||||
.import __ZP_START__ ; Linker generated
|
||||
.importzp sp, ptr1, tmp1, regbank
|
||||
|
||||
.macpack generic
|
||||
|
||||
@@ -58,7 +58,7 @@ TPtr = regbank+4 ; Pointer to module data for relocation
|
||||
|
||||
; Save areas and error recovery data
|
||||
Stack: .byte 0 ; Old stackpointer
|
||||
RegBankSave: .res 6 ; Save area for register bank
|
||||
RegBankSave: .res regbanksize ; Save area for register bank
|
||||
|
||||
; The header of the o65 file. Since we don't need the first 8 bytes any
|
||||
; longer, once we've checked them, we will overlay them with other data to
|
||||
|
||||
Reference in New Issue
Block a user