Searched refs:dos_inportb (Results 1 – 6 of 6) sorted by relevance
156 if (!(dos_inportb(dsp_port + 0xe) & 0x80)) continue; in ResetDSP()157 if (dos_inportb(dsp_port + 0xa) == 0xaa) break; in ResetDSP()166 while (!(dos_inportb(dsp_port+0xe)&0x80)) ; in ReadDSP()167 return dos_inportb(dsp_port+0xa); in ReadDSP()172 while ((dos_inportb(dsp_port+0xc)&0x80)) ; in WriteDSP()179 return dos_inportb(mixer_port+5); in ReadMixer()230 dos_inportb(dsp_port+0xe); // ack the dsp in StartSB()487 dos_inportb(dsp_port+0xf); // 16 bit audio in BLASTER_GetDMAPos()489 dos_inportb(dsp_port+0xe); // 8 bit audio in BLASTER_GetDMAPos()496 count = dos_inportb(dma*2+1); in BLASTER_GetDMAPos()[all …]
620 return(dos_inportb(Gf1DataHigh)); in GetGf18()634 dos_inportb(Gf1TimerControl); in Gf1Delay()695 dos_inportb(CodecStatus); in GUS_GetIWData()700 if ((dos_inportb(CodecRegisterSelect) & 0x80) == 0) in GUS_GetIWData()707 if ((dos_inportb(CodecRegisterSelect) & 0x7F) != CODEC_MODE_AND_ID) in GUS_GetIWData()709 if ((dos_inportb(CodecData) & 0x0F) == 0) in GUS_GetIWData()743 if (dos_inportb(GusBase+0x0A)!=0x55) in GUS_GetMAXData()746 if (dos_inportb(GusBase+0x0A)!=0xAA) in GUS_GetMAXData()764 dos_inportb(CodecStatus); in GUS_GetMAXData()769 if ((dos_inportb(CodecRegisterSelect) & 0x80) == 0) in GUS_GetMAXData()[all …]
227 joy_buttonstate = ((dos_inportb(0x201) >> 4)&15)^15; in IN_Commands()420 b = dos_inportb(0x201); in IN_ReadJoystick()426 b = dos_inportb(0x201); in IN_ReadJoystick()461 buttons = ((dos_inportb(0x201) >> 4)&1)^1; in WaitJoyButton()481 buttons = ((dos_inportb(0x201) >> 4)&1)^1; in WaitJoyButton()
149 keybuf[keybuf_head] = dos_inportb(0x60); in TrapKey()703 r = dos_inportb(0x40); in Sys_FloatTime()704 r |= dos_inportb(0x40) << 8; in Sys_FloatTime()
78 int dos_inportb(int port);
75 int dos_inportb(int port) in dos_inportb() function