MonsterCommit(tm) with typo-fixes, void-ness fixes, correct CaPs for directories, etc. No real code changes.

This commit is contained in:
waltje
2017-08-24 01:14:39 -04:00
parent 7cf0e24caa
commit 2ffedb680b
142 changed files with 1229 additions and 991 deletions

View File

@@ -5,14 +5,17 @@
#include "io.h"
#include "nmi.h"
int nmi_mask;
void nmi_write(uint16_t port, uint8_t val, void *p)
{
nmi_mask = val & 0x80;
}
void nmi_init()
void nmi_init(void)
{
io_sethandler(0x00a0, 0x0001, NULL, NULL, NULL, nmi_write, NULL, NULL, NULL);
nmi_mask = 0;