File:  [RetroPC.NET] / np2 / io / necio.c
Revision 1.1: download - view: text, annotated - select for diffs
Mon Jan 5 15:05:11 2004 JST (21 years, 9 months ago) by yui
Branches: MAIN
CVS tags: HEAD
delete itf / add necio (T.Yui)

#include	"compiler.h"
#include	"cpucore.h"
#include	"pccore.h"
#include	"iocore.h"


// ---- I/O

static void IOOUTCALL necio_o043d(UINT port, REG8 dat) {

	switch(dat) {
		case 0x10:
			CPU_ITFBANK = 1;
			break;

		case 0x12:
			CPU_ITFBANK = 0;
			break;
	}
	(void)port;
}


// ---- I/F

void necio_reset(void) {
}

void necio_bind(void) {

	if (!(pc.model & PCMODEL_EPSON)) {
		iocore_attachout(0x043d, necio_o043d);
	}
}


RetroPC.NET-CVS <cvs@retropc.net>