Exemplo n.º 1
0
void kmr800_reset(KMZ80_CONTEXT *context) {
	kmz80_reset_common(context);
	EXFLAG = EXF_ICEXIST;
	M1CYCLE = 0;	/* MSXなら2 */
	MEMCYCLE = 1;
	IOCYCLE = 1;
	context->opt = (void *)kmz80_ot_xx;
	context->optcb = (void *)kmz80_ot_cbxx;
	context->opted = (void *)kmr800_ot_edxx;
	context->cyt = (void *)kmr800_ct;
	SYSMEMREAD = kmr800_memread;
	SYSMEMWRITE = kmr800_memwrite;
}
Exemplo n.º 2
0
void kmdmg_reset(KMZ80_CONTEXT *context) {
	kmz80_reset_common(context);
	EXFLAG = 0/*EXF_ICEXIST*/;
	IMODE = 3;
	M1CYCLE = 0;
	MEMCYCLE = 4;
	IOCYCLE = 4;
	context->opt = kmdmg_ot_xx;
	context->optcb = kmdmg_ot_cbxx;
	context->opted = 0;
	context->cyt = kmdmg_ct;
	SYSMEMREAD = kmdmg_memread;
	SYSMEMWRITE = kmdmg_memwrite;

	//\82\B1\82\B1\82\A9\82烁\83\82\83\8A\81[\83r\83\85\83A\81[\90ݒ\E8
	memview_context = context;
	MEM_MAX=0xffff;
	MEM_IO =0xff00;
	MEM_RAM=0xc000;
	MEM_ROM=0x0000;
	memview_memread = memview_memread_;
	//\82\B1\82\B1\82܂Ń\81\83\82\83\8A\81[\83r\83\85\83A\81[\90ݒ\E8
}
Exemplo n.º 3
0
void kmdmg_reset(KMZ80_CONTEXT *context) {
	kmz80_reset_common(context);
	EXFLAG = 0/*EXF_ICEXIST*/;
	IMODE = 3;
	M1CYCLE = 0;
	MEMCYCLE = 4;
	IOCYCLE = 4;
	context->opt = (void *)kmdmg_ot_xx;
	context->optcb = (void *)kmdmg_ot_cbxx;
	context->opted = (void *)0;
	context->cyt = (void *)kmdmg_ct;
	SYSMEMREAD = kmdmg_memread;
	SYSMEMWRITE = kmdmg_memwrite;

	//ここからメモリービュアー設定
	memview_context = context;
	MEM_MAX=0xffff;
	MEM_IO =0xff00;
	MEM_RAM=0xc000;
	MEM_ROM=0x0000;
	memview_memread = memview_memread_;
	//ここまでメモリービュアー設定
}