mirror of
https://github.com/cc65/cc65.git
synced 2025-01-15 07:31:32 +00:00
Renamed program start label.
This commit is contained in:
parent
7e4c4ee53e
commit
c6bbea0bb0
@ -5,7 +5,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
.export _exit
|
.export _exit
|
||||||
.export sim65start
|
.export startup
|
||||||
.export __STARTUP__ : absolute = 1 ; Mark as startup
|
.export __STARTUP__ : absolute = 1 ; Mark as startup
|
||||||
.import zerobss, callmain
|
.import zerobss, callmain
|
||||||
.import initlib, donelib
|
.import initlib, donelib
|
||||||
@ -17,8 +17,7 @@
|
|||||||
|
|
||||||
.segment "STARTUP"
|
.segment "STARTUP"
|
||||||
|
|
||||||
sim65start:
|
startup:cld
|
||||||
cld
|
|
||||||
ldx #$FF
|
ldx #$FF
|
||||||
txs
|
txs
|
||||||
lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
|
lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
.export __EXEHDR__ : absolute = 1 ; Linker referenced
|
.export __EXEHDR__ : absolute = 1 ; Linker referenced
|
||||||
.importzp sp
|
.importzp sp
|
||||||
.import __MAIN_START__
|
.import __MAIN_START__
|
||||||
.import sim65start
|
.import startup
|
||||||
|
|
||||||
.segment "EXEHDR"
|
.segment "EXEHDR"
|
||||||
|
|
||||||
@ -16,4 +16,4 @@
|
|||||||
.byte .defined(__SIM65C02__) ; CPU type
|
.byte .defined(__SIM65C02__) ; CPU type
|
||||||
.byte sp ; sp address
|
.byte sp ; sp address
|
||||||
.addr __MAIN_START__ ; load address
|
.addr __MAIN_START__ ; load address
|
||||||
.addr sim65start ; reset address
|
.addr startup ; reset address
|
||||||
|
Loading…
x
Reference in New Issue
Block a user