Pre Tandy1000 overhaul

This commit is contained in:
Jacob Alexander 2011-11-28 22:20:04 -08:00
parent 969b8c8bee
commit ac5f6c015d
17 changed files with 198 additions and 110 deletions

View file

@ -94,6 +94,10 @@ inline void scan_setup()
// Initially buffer doesn't need to be cleared (it's empty...)
BufferReadyToClear = 0;
// Reset the keyboard before scanning, we might be in a wierd state
// Note: This should be run asap, but we need the USART setup to run this command on the 8304
scan_resetKeyboard();
}
@ -223,3 +227,10 @@ void scan_unlockKeyboard( void )
SET_RESET();
}
// Reset Keyboard
void scan_resetKeyboard( void )
{
// Reset command for the 8304
scan_sendData( 0x92 );
}