18 lines
530 B
NASM
18 lines
530 B
NASM
; SPDX-License-Identifier: MPL-2.0
|
|
; SPDX-FileCopyrightText: (c) 2025 A.M. Rowsell
|
|
; ============================================================
|
|
; OS Vector Table (128 x 2-byte addresses) at 0xF000-0xF1FF
|
|
; ============================================================
|
|
.equ OS_VEC_BASE,0xF000
|
|
|
|
; .vectors is pinned to 0xF000 via linker.cmd
|
|
.section ".vectors","adr"
|
|
.global os_vectors
|
|
|
|
os_vectors:
|
|
.word os_print_vec
|
|
.word os_getch_vec
|
|
.word os_outbyte_vec
|
|
.word os_inbyte_vec
|
|
.word os_warm_boot
|
|
.zero 246
|