rl2/ench.s

21 lines
318 B
ArmAsm
Raw Normal View History

2023-08-16 06:16:32 -07:00
; script to enable both adlib gold channels in pcem
; (maybe real hardware? the official drivers never
; actually set it so i really dont know)
pusha
mov dx, 0x38A
mov al, 0xFF
out dx, al
; select control register 8
mov al, 8
out dx, al
inc dx; 0x38B
in al, dx
or al, 6 ; both channels enabled
out dx, al
popa
ret