Files
86Box/src/ppi.c
David Hrdlička a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00

28 lines
501 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 <86box/timer.h>
#include <86box/pit.h>
#include <86box/ppi.h>
PPI ppi;
int ppispeakon;
void ppi_reset(void)
{
ppi.pa=0x0;
ppi.pb=0x40;
}