.globl map_process
.globl map_process_a
.globl map_process_always
+ .globl map_kernel_di
+ .globl map_process_di
+ .globl map_process_always_di
.globl map_process_save
.globl map_kernel_restore
- .globl map_save
+ .globl map_save_kernel
.globl map_restore
.globl map_save_kmap
.globl map_restore_kmap
; before jumping out of common. Thus we don't need to do anything but
; restore the last saved kernel map!
;
+map_kernel_di:
map_kernel:
map_kernel_restore:
push bc
; Select the bank for the relevant process. Update the ksave_map so we
; can restore the correct kernel mapping when banked.
;
+map_process_di:
map_process:
ld a, h
or l
map_process_save:
map_process_always:
+map_process_always_di:
push af
push bc
ld bc, (map_reg)
pop af
ret
-map_save: push bc
+map_save_kernel:
+ push bc
ld bc, (map_reg)
ld (map_store), bc
+ ld bc, (ksave_map)
+ ld (map_reg), bc
+ out (c), b
pop bc
ret
.globl map_process
.globl map_process_a
.globl map_process_always
- .globl map_save
+ .globl map_save_kernel
.globl map_restore
.globl map_kernel_restore
.globl l__COMMONMEM
.globl _trs80_model
+ .globl _int_disabled
; hard disk helpers
.globl _hd_xfer_in
ret
_platform_reboot:
- di
- ld sp,#0xffff
- xor a
- out (0x43),a
- rst 0
+ di
+ ld sp,#0xffff
+ xor a
+ out (0x43),a
+ rst 0
+
+_int_disabled:
+ .db 1
; -----------------------------------------------------------------------------
; BOOT MEMORY BANK (below 0x8000)