dev: added signon strings and some other basic bootup code

This commit is contained in:
A.M. Rowsell 2026-01-23 16:44:05 -05:00
commit 95344d73cb
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1
2 changed files with 62 additions and 22 deletions

View file

@ -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