mirror of https://github.com/nmlgc/ReC98.git
20 lines
325 B
C
20 lines
325 B
C
#pragma codeseg SHARED
|
|
|
|
#include <dos.h>
|
|
#include "platform.h"
|
|
#include "libs/kaja/kaja.h"
|
|
#include "th02/snd/snd.h"
|
|
|
|
int16_t DEFCONV snd_kaja_interrupt(int16_t ax)
|
|
{
|
|
if(snd_active) {
|
|
_AX = ax;
|
|
if(snd_midi_active != true) {
|
|
geninterrupt(PMD);
|
|
} else {
|
|
geninterrupt(MMD);
|
|
}
|
|
}
|
|
return _AX;
|
|
}
|