linker: ensured .bss comes after .data, and added map file output

This commit is contained in:
A.M. Rowsell 2025-12-21 14:40:15 -05:00
commit e3c9c7b642
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1
4 changed files with 11 additions and 5 deletions

View file

@ -5,6 +5,10 @@
.global os_warm_boot
.extern os_main_loop
; ==================================
; This is the cold boot entry point!
; It is linked to land at 0xC3C3
; ==================================
zone_setup:
ld sp, 0x6FFF
jp os_main_loop