2016-08-14 22:07:17 -04:00
|
|
|
/* Copyright holders: Sarah Walker
|
|
|
|
|
see COPYING for more details
|
|
|
|
|
*/
|
2016-06-26 00:34:39 +02:00
|
|
|
/*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"
|
2017-05-18 01:57:16 -04:00
|
|
|
#include "plat_keyboard.h"
|
|
|
|
|
#include "plat_mouse.h"
|
2016-06-26 00:34:39 +02:00
|
|
|
|
|
|
|
|
void ppi_reset()
|
|
|
|
|
{
|
2017-05-05 01:49:42 +02:00
|
|
|
ppi.pa=0x0;
|
2016-06-26 00:34:39 +02:00
|
|
|
ppi.pb=0x40;
|
|
|
|
|
}
|
|
|
|
|
|