dev: added signon strings and some other basic bootup code
This commit is contained in:
parent
fc244f8481
commit
95344d73cb
2 changed files with 62 additions and 22 deletions
28
boot.asm
28
boot.asm
|
|
@ -1,18 +1,20 @@
|
|||
; SPDX-License-Identifier: MPL-2.0
|
||||
; SPDX-FileCopyrightText: (c) 2025 A.M. Rowsell
|
||||
.section "boot","acrx"
|
||||
.global zone_setup
|
||||
.global os_warm_boot
|
||||
.extern os_main_loop
|
||||
; SPDX-License-Identifier: MPL-2.0
|
||||
; SPDX-FileCopyrightText: (c) 2025 A.M. Rowsell
|
||||
.section "boot", "acrx"
|
||||
.global zone_setup
|
||||
.global os_warm_boot
|
||||
.extern os_main_loop
|
||||
|
||||
; ==================================
|
||||
; This is the cold boot entry point!
|
||||
; It is linked to land at 0xC3C3
|
||||
; ==================================
|
||||
|
||||
; ==================================
|
||||
; This is the cold boot entry point!
|
||||
; It is linked to land at 0xC3C3
|
||||
; ==================================
|
||||
_start:
|
||||
zone_setup:
|
||||
ld sp, 0x6FFF
|
||||
jp os_main_loop
|
||||
ld a, ixl
|
||||
ld sp, 0x6FFF
|
||||
jp os_main_loop
|
||||
|
||||
os_warm_boot:
|
||||
ret
|
||||
ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue