This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent efa2227d9d
commit 3c303430b9
2 files changed
+48 -25

No files matched your search

+20 -21
View File
@@ -5,27 +5,8 @@
ZVM_entry:
jsr ZVM_init
; XXX fetch BDOS and Command Processor
jmp ZVM_next
ZVM_init:
; Reset registers and internal data
ldz #$00 ; .Z is required to be 0 all the time
lda #$00
tay
@1:
sta REG_AF, y
iny
cmp #(REG_IFF2+1)
bne @1
; XXX what is the initial SP value?
; XXX clean memory
jmp ZVM_set_bank_1
; XXX mark that this is the first start of CP/M iin the lifecycle, display BIOS information
jmp zvm_BIOS_00_BOOT
ZVM_store_next:
@@ -91,6 +72,24 @@ Z80_instr_FD: +ZVM_DISPATCH Z80_vectab_FD_0, Z80_vectab_FD_1 ;