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:
parent
f753eb9642
commit
94d6f474cd
7 changed files with 412 additions and 8 deletions
17
vectorTable.asm
Normal file
17
vectorTable.asm
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue