Searched refs:GUSregb (Results 1 – 2 of 2) sorted by relevance
33 #define GUSregb(position) (* (gusptr+(position))) macro55 return GUSregb(IRQStatReg2x6); in gus_read()58 if (GUSregb(GUS45TimerCtrl) & 1) in gus_read()59 return GUSregb(TimerStatus2x8); in gus_read()60 return GUSregb(AdLibStatus2x8); /* AdLibStatus */ in gus_read()63 return GUSregb(AdLibData2x9); /* AdLibData */ in gus_read()65 return GUSregb(AdLibCommand2xA); /* AdLib2x8_2xA */ in gus_read()69 switch (GUSregb(RegCtrl_2xF) & 0x07) in gus_read()72 if (GUSregb(MixerCtrlReg2x0) & 0x40) in gus_read()73 return GUSregb(IRQ_2xB); /* control register select bit */ in gus_read()[all …]
29 #define GUSregb(position) (* (gusptr+(position))) macro50 if (!(GUSregb(GUS4cReset) & 0x01)) /* reset flag active? */ in gus_mixvoices()53 for (Voice = 0; Voice <= (GUSregb(NumVoices) & 31); Voice++) in gus_mixvoices()67 … ((GUSregb(NumVoices) & 31) + 1); /* 6.10 increment/frame to 23.9 increment/sample */ in gus_mixvoices()75 …crement32 = (((VolumeIncrement32 * 44100 / 2) / playback_freq) * 14) / ((GUSregb(NumVoices) & 31) … in gus_mixvoices()192 if (GUSregb(TimerDataReg2x9) & 1) /* start timer 1 (80us decrement rate) */ in gus_irqgen()196 … newtimerirqs = (elapsed_time + timer1fraction) / (80 * (256 - GUSregb(GUS46Counter1))); in gus_irqgen()197 … state->timer1fraction = (elapsed_time + timer1fraction) % (80 * (256 - GUSregb(GUS46Counter1))); in gus_irqgen()200 if (!(GUSregb(TimerDataReg2x9) & 0x40)) in gus_irqgen()201 GUSregb(TimerStatus2x8) |= 0xc0; /* maskable bits */ in gus_irqgen()[all …]