Files
86Box/src/ppi.c
waltje 7c67e867c8 Major commit, cleaning a lot of old stuff.
IBM.H is gone, video stuff re-organized. Keyboard stuff reorganized.
Machines that have their own video, mouse and/or keyboard now have all this in their machine file.
Fixed and other cleanups here and there.
2017-11-05 02:00:50 -05:00

27 lines
464 B
C

/* Copyright holders: Sarah Walker
see COPYING for more details
*/
/*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 <stdio.h>
#include <stdint.h>
#include <string.h>
#include <wchar.h>
#include "pit.h"
#include "ppi.h"
PPI ppi;
int ppispeakon;
void ppi_reset(void)
{
ppi.pa=0x0;
ppi.pb=0x40;
}