tape training

This commit is contained in:
Joppe Blondel
2026-10-03 17:30:43 +02:00
parent 5897e55094
commit 9823a05ffe
8 changed files with 1085 additions and 43 deletions
+12
View File
@@ -113,6 +113,15 @@ init:
di
ld sp, #STACK_TOP
; A reset may have interrupted a CTC service routine without executing
; RETI. Release any stale daisy-chain in-service latches before the
; channels are reinitialized. RETI acts as RET for each CALL while
; also signalling end-of-interrupt to daisy-chained peripherals.
call release_daisy_chain
call release_daisy_chain
call release_daisy_chain
call release_daisy_chain
call gsinit
; Setup interrupt mode 2
@@ -125,6 +134,9 @@ init:
hang:
jr hang
release_daisy_chain:
reti
.area _GSINIT
gsinit:
ld bc, #l__INITIALIZER