; int DEFCONV snd_pmd_resident(void) 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 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 endp_defconv nop ; word alignment