mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
Fixed none/crt0.s to respect none.cfg
This commit is contained in:
parent
cea8332084
commit
45482b4fb1
@ -2,15 +2,14 @@
|
||||
.export __STARTUP__ : absolute = 1 ; Mark as startup
|
||||
.import zerobss, _main
|
||||
.import initlib, donelib
|
||||
.import __MAIN_START__, __MAIN_SIZE__ ; Linker generated
|
||||
.import __STACKSIZE__ ; Linker generated
|
||||
.import __STACKSTART__, __STACKSIZE__ ; Linker generated
|
||||
|
||||
.include "zeropage.inc"
|
||||
|
||||
.segment "STARTUP"
|
||||
|
||||
lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
|
||||
ldx #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
|
||||
lda #<__STACKSTART__
|
||||
lda #>__STACKSTART__
|
||||
sta sp
|
||||
stx sp+1
|
||||
jsr zerobss
|
||||
|
Loading…
Reference in New Issue
Block a user