Initial submission of the PCem-Experimental source code.
This commit is contained in:
19
src/ppi.c
Normal file
19
src/ppi.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/*IBM 5150 cassette nonsense
|
||||
Calls F979 twice
|
||||
Expects CX to be nonzero, BX >$410 and <$540
|
||||
CX is loops between bit 4 of $62 changing
|
||||
BX is timer difference between calls
|
||||
*/
|
||||
|
||||
#include "ibm.h"
|
||||
#include "pit.h"
|
||||
|
||||
#include "plat-keyboard.h"
|
||||
#include "plat-mouse.h"
|
||||
|
||||
void ppi_reset()
|
||||
{
|
||||
ppi.pa=0x0;//0x1D;
|
||||
ppi.pb=0x40;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user