2015-02-23 10:47:22 +00:00
|
|
|
proc_defconv snd_pmd_resident
|
|
|
|
mov _snd_interrupt_if_midi, 60h
|
|
|
|
mov _snd_midi_active, 0
|
|
|
|
mov _snd_fm_possible, 0
|
|
|
|
mov _snd_midi_possible, 0
|
2014-11-24 21:36:57 +00:00
|
|
|
xor ax, ax
|
|
|
|
mov es, ax
|
|
|
|
assume es:nothing
|
|
|
|
les bx, dword ptr es:[60h * 4]
|
|
|
|
cmp byte ptr es:[bx+2], 'P'
|
|
|
|
jnz short @@nope
|
|
|
|
cmp byte ptr es:[bx+3], 'M'
|
|
|
|
jnz short @@nope
|
|
|
|
cmp byte ptr es:[bx+4], 'D'
|
|
|
|
jnz short @@nope
|
|
|
|
mov ax, 1
|
|
|
|
ret
|
|
|
|
|
|
|
|
@@nope:
|
|
|
|
xor ax, ax
|
|
|
|
ret
|
2015-02-23 10:47:22 +00:00
|
|
|
endp_defconv
|
2014-11-24 21:36:57 +00:00
|
|
|
nop ; word alignment
|