INT 2F R - InterWave Game API(Application Program[ming] Interface) The defined set of calls which a program may make to interact with or request services of the operating system or environment under which it is running. Because the inputs and outputs of the calls are well-defined, a program using the API can continue using the identical calls even if the internal organization of the program providing the API changes. - OPEN GAME DEVICE AX = CD21h BX = installed program identifier ES:DI -> ASCIZA NUL-terminated ASCII string. The ASCIZ string "ABC" consists of the four bytes 41h, 42h, 43h, and 00h. Unless otherwise specified, maximum lengths given in the interrupt list do not include the terminating NUL. device name "MIDISIMPLE" "MIDICOMPLEX" "DIRECTCODEC" Return: AL = status 00h successful DX = device handle ---MIDISIMPLE and MIDICOMPLEX--- BX = real-mode interrupt number (see #03074,#03075) ---DIRECTCODEC--- BX = base port CL = IRQ(Interrupt ReQuest) A hardware line connected to the interrupt controller chip which signals that a CPU interrupt should be generated. CH = DMAsee Direct Memory Access channel (04h = no DMAsee Direct Memory Access) SI = size of FIFO in bytes (0000h = use DMAsee Direct Memory Access) nonzero failed (not supported or already in use) AH may be destroyed Range: AH=CDh-ECh, selected by scanning for an available multiplex number SeeAlso: AX=CD00h"InterWave",AX=CD01h"InterWave",AX=CD02h"InterWave" SeeAlso: AX=CD05h"InterWave",AX=CD22h"InterWave",AX=CD80h"InterWave" (Table 03074) Call MIDISIMPLE with: EAX = function number 0001h MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. byte out BL = MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. byte to send 0002h MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. string out ECX = length of MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. string in bytes ES:EDI -> MIDI(Musical Instrument Digital Interface) A standardized interface for controlling musical instruments with a computer. string to send (should not include timing info) DX = device handle INT xxh (as returned by AX=CD21h) Return: EAX = status 00000000h if successful FFFFFFFFh on error (bad handle) SeeAlso: #03075,INT 7E/AX=0001h"IWSBSDRV",INT 7E/AX=0002h"IWSBSDRV" (Table 03075) Call MIDICOMPLEX with: EAX = function number ??? (specification is still in development) DX = device handle INT xxh (as returned by AX=CD21h) Return: EAX = status 00000000h if successful FFFFFFFFh on error (bad handle) SeeAlso: #03074