zone/boot.asm

18 lines
393 B
NASM

; 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
; ==================================
_start:
zone_setup:
ld sp, 0x6FFF
jp os_main_loop
os_warm_boot:
ret