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
+16
View File
@@ -0,0 +1,16 @@
.module wc_load512
.area _CODE
WC_ENTRY = 0x6006
.globl _wc_load512
_wc_load512::
push ix
ld ix, #0
add ix, sp
ld b, 4(ix) ; B = blocks (1 byte on stack)
; HL = dest (sdcccall(1) first uint16 → HL)
ld a, #0x30
call WC_ENTRY
pop ix
pop hl ; HL = return address
inc sp ; discard 1-byte 'blocks' arg
jp (hl) ; return (callee cleans stack arg)