2015-02-23 10:47:22 +00:00
|
|
|
proc_defconv snd_determine_mode
|
2014-11-28 23:56:26 +00:00
|
|
|
mov ah, PMD_GET_DRIVER_VERSION
|
|
|
|
int 60h
|
|
|
|
xor bx, bx
|
|
|
|
cmp al, -1
|
|
|
|
jz short @@set_to_MIDI_activity
|
|
|
|
inc bx
|
2015-02-23 10:47:22 +00:00
|
|
|
mov _snd_fm_possible, 1
|
2014-11-28 23:56:26 +00:00
|
|
|
jmp short @@set_and_ret
|
|
|
|
|
|
|
|
@@set_to_MIDI_activity:
|
2015-02-23 10:47:22 +00:00
|
|
|
mov bl, _snd_midi_active
|
2014-11-28 23:56:26 +00:00
|
|
|
|
|
|
|
@@set_and_ret:
|
2015-02-23 10:47:22 +00:00
|
|
|
mov _snd_active, bl
|
2014-11-28 23:56:26 +00:00
|
|
|
mov ax, bx
|
|
|
|
ret
|
2015-02-23 10:47:22 +00:00
|
|
|
endp_defconv
|
2014-11-28 23:56:26 +00:00
|
|
|
nop ; word alignment
|