Another massive cleanup run. Ibm.h no longer includes system header files. ROM loading simplified, and moved from mem.c to rom.c. Fixes in Makefile. Corrected mamy wrong includes. Removed old junk from days long gone. First phase of new SCAT chipset driver - no longer gives errors in BIOS, but NOT DONE YET.
This commit is contained in:
10
src/ppi.c
10
src/ppi.c
@@ -7,18 +7,22 @@
|
||||
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 "ibm.h"
|
||||
#include "pit.h"
|
||||
#include "plat_keyboard.h"
|
||||
#include "plat_mouse.h"
|
||||
|
||||
|
||||
PPI ppi;
|
||||
int ppispeakon;
|
||||
|
||||
void ppi_reset()
|
||||
|
||||
void ppi_reset(void)
|
||||
{
|
||||
ppi.pa=0x0;
|
||||
ppi.pb=0x40;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user