1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00

Renamed program start label.

This commit is contained in:
Oliver Schmidt 2019-05-30 00:06:31 +02:00
parent 7e4c4ee53e
commit c6bbea0bb0
2 changed files with 4 additions and 5 deletions

View File

@ -5,7 +5,7 @@
;
.export _exit
.export sim65start
.export startup
.export __STARTUP__ : absolute = 1 ; Mark as startup
.import zerobss, callmain
.import initlib, donelib
@ -17,8 +17,7 @@
.segment "STARTUP"
sim65start:
cld
startup:cld
ldx #$FF
txs
lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)

View File

@ -7,7 +7,7 @@
.export __EXEHDR__ : absolute = 1 ; Linker referenced
.importzp sp
.import __MAIN_START__
.import sim65start
.import startup
.segment "EXEHDR"
@ -16,4 +16,4 @@
.byte .defined(__SIM65C02__) ; CPU type
.byte sp ; sp address
.addr __MAIN_START__ ; load address
.addr sim65start ; reset address
.addr startup ; reset address