combined boot.s into cstartup.s
This commit is contained in:
parent
c3015f7e3d
commit
635a7f58a7
|
@ -28,6 +28,9 @@
|
|||
__program_root_section:
|
||||
.asciz "WDC"
|
||||
w65c265s_init:
|
||||
; Begin tracing for the emulator. NOP for the real hardware.
|
||||
wdm #0x80
|
||||
|
||||
; Disable interrupts
|
||||
sei
|
||||
stz UIER
|
||||
|
@ -70,8 +73,6 @@ delay_y
|
|||
tsb PDD6
|
||||
trb PD6
|
||||
|
||||
|
||||
wdm #0x80
|
||||
clc
|
||||
xce ; native 16-bit mode
|
||||
rep #0x38 ; 16-bit registers, no decimal mode
|
||||
|
@ -128,8 +129,6 @@ __call_heap_initialize:
|
|||
lda ##.word0 (.sectionSize heap)
|
||||
jsl long:__heap_initialize
|
||||
|
||||
wdm #0x81
|
||||
|
||||
.section boot, root, noreorder
|
||||
lda ##0 ; argc = 0
|
||||
jsl long:main
|
||||
|
|
Loading…
Reference in New Issue