zone/vectorTable.asm

17 lines
507 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
.zero 248