File:  [RetroPC.NET] / np2 / bios / Attic / bios08.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Fri Oct 17 02:58:19 2003 JST (22 years ago) by yui
Branches: mie
CVS tags: start, rel_036, VER_0_72, VER_0_71, VER_0_70
Neko Project II

#include	"compiler.h"
#include	"i286.h"
#include	"memory.h"
#include	"pccore.h"
#include	"iocore.h"
#include	"bios.h"
#include	"biosmem.h"


void bios0x08(void) {

	UINT16	catimcnt;

	catimcnt = GETBIOSMEM16(MEMW_CA_TIM_CNT);
	catimcnt--;
	SETBIOSMEM16(MEMW_CA_TIM_CNT, catimcnt);
	if (catimcnt == 0) {
		pic.pi[0].imr |= PIC_SYSTEMTIMER;
		iocore_out8(0x00, 0x20);
		i286_interrupt(7);
	}
	else {
		iocore_out8(0x00, 0x20);
		bios0x1c_03();
	}
}


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