Init work
This commit is contained in:
parent
a2bf42fa01
commit
3a46f91535
|
@ -34,6 +34,7 @@
|
|||
.pubweak __program_root_section
|
||||
|
||||
__program_root_section:
|
||||
wdm #0x80
|
||||
clc
|
||||
xce ; native 16-bit mode
|
||||
rep #0x38 ; 16-bit registers, no decimal mode
|
||||
|
@ -90,6 +91,8 @@ __call_heap_initialize:
|
|||
lda ##.word0 (.sectionSize heap)
|
||||
jsl long:__heap_initialize
|
||||
|
||||
wdm #0x81
|
||||
|
||||
.section code, root, noreorder
|
||||
lda ##0 ; argc = 0
|
||||
jsl long:main
|
||||
|
|
Loading…
Reference in New Issue