| 
/*******************************************************************************
  procedure: reset
  purpose:   reset controller
  synopsis:  void CALLTYPE reset( rs )
  input:     int rs = port address, that identifies controller (state register)
  result:    nothing
*******************************************************************************/
void CALLTYPE reset( rs )
  int rs;
{
  /* do nothing, if using FakeDevice */
  if (FakeDevice)
    return;
#ifndef __WIN32__
  /* first write state register (port address, that identifies controller) into
     data register. then write lower byte of accumulator register to the data
     register */
  _asm {
    mov dx, rs;
    out dx, al;
  }
#endif // ndef __WIN32__
}
// __LastLine__
 |