dev: growing this into the Zone OS project

The scope of this project is growing, mostly for fun. I doubt
I'll ever get to the point where I can actually use it on a real
Z80 system, but who knows. Mostly this is a good way to learn
about vasm and refresh my Z80 assembly knowledge.
This commit is contained in:
A.M. Rowsell 2025-12-20 17:58:51 -05:00
commit 94d6f474cd
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1
7 changed files with 412 additions and 8 deletions

17
vectorTable.asm Normal file
View file

@ -0,0 +1,17 @@
; 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
.global os_vectors
os_vectors:
.word os_print_vec
.word os_getch_vec
.word os_outbyte_vec
.word os_inbyte_vec
.zero 248