Add OPL4 playback and analyzer support

This commit is contained in:
2026-09-15 14:59:29 +03:00
commit 1686838e03
553 changed files with 50524 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
.module wc_istr
.area _CODE
WC_ENTRY = 0x6006
.globl _wc_istr
_wc_istr::
push ix
ld ix, #0
add ix, sp
ld a, 4(ix) ; A = mode (from stack)
ex af, af' ; A' = mode
push hl
pop ix ; IX = win (HL = 1st arg)
ld a, #0x09
call WC_ENTRY
pop ix
; callee cleans 1 byte (mode)
pop hl
inc sp
jp (hl)