20 lines
424 B
NASM
20 lines
424 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 a, ixl
|
|
ld sp, 0x6FFF
|
|
jp os_main_loop
|
|
|
|
os_warm_boot:
|
|
ret
|