mirror of
https://github.com/cc65/cc65.git
synced 2025-02-26 23:30:03 +00:00
startup code now resides in LOWCODE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3444 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9e61c50de1
commit
0093a8f388
@ -15,7 +15,7 @@
|
||||
.import initlib, donelib, callmain
|
||||
.import zerobss, pushax
|
||||
.import _main, __filetab, getfd
|
||||
.import __CODE_LOAD__, __BSS_LOAD__
|
||||
.import __LOWCODE_LOAD__, __BSS_LOAD__
|
||||
.ifdef DYNAMIC_DD
|
||||
.import __getdefdev
|
||||
.endif
|
||||
@ -29,13 +29,13 @@
|
||||
|
||||
.segment "EXEHDR"
|
||||
.word $FFFF
|
||||
.word __CODE_LOAD__
|
||||
.word __LOWCODE_LOAD__
|
||||
.word __BSS_LOAD__ - 1
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; Actual code
|
||||
|
||||
.code
|
||||
.segment "LOWCODE"
|
||||
|
||||
rts ; fix for SpartaDOS / OS/A+
|
||||
; they first call the entry point from AUTOSTRT and
|
||||
@ -184,4 +184,4 @@ old_lmargin: .res 1
|
||||
.segment "AUTOSTRT"
|
||||
.word $02E0
|
||||
.word $02E1
|
||||
.word __CODE_LOAD__ + 1
|
||||
.word __LOWCODE_LOAD__ + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user