示例#1
0
void fn0C00_0100(byte cl, byte ah, Eq_15 * es, Eq_49 * ds)
{
	bios_video_set_mode(0x13);
	byte al_2 = 0x13;
	word16 ax_31 = DPB(ax, 0x13, 0, 8);
	while (true)
	{
		Eq_13 di_40 = 0x0400;
		word16 cx_44 = DPB(cx, 0xFA, 8, 8);
		while (cx_44 != 0x0000)
		{
			Mem49[es:di_40 + 0x0000:byte] = al_2;
			di_40 = di_40 + 0x0001;
			cx_44 = cx_44 - 0x0001;
		}
		Eq_13 di_101 = 0x0400;
		do
		{
			Eq_35 rLoc2_62 = rLoc2 / 32;
			Eq_39 rLoc2_64 = cos(rLoc2_62);
			fn0C00_015E(fp - 0x0006, 0xFE00, di_131.u0, (byte) (fn0C00_0171(fp - 0x0006, 0xFE00, di_131, (byte) (ax_31 + 0x0001), es, ds, sin(rLoc2_62)) + 0x0001), es, ds);
			word16 ax_91 = fn0C00_0171(fp - 0x0006, 0xFE00, di_131, 0x04, es, ds, rLoc2_64);
			al_2 = __inb(0x60);
			rLoc2.u1 = 1;
			ax_31 = DPB(ax_91, al_2, 0, 8);
			if (al_2 == 0x01)
				msdos_terminate_program20();
			di_101.u0 = di_131.u0;
			Eq_13 di_131 = di_101;
		} while (di_131 <u 0x0340);
		Mem107[ss:fp - 0x000A:word16] = 0xA000;
		cx = DPB(cx_44, 0xFA, 8, 8);
		byte Eq_49::*si_113 = Eq_49::a0400;
		byte Eq_106::*di_114 = Eq_106::a0000;
		while (cx != 0x0000)
		{
			0xA000->*di_114 = ds->*si_113;
			si_113 = si_113 + 1;
			di_114 = di_114 + 1;
			cx = cx - 0x0001;
		}
	}
}
示例#2
0
void fn0C00_0100(Eq_36 * ds)
{
	bios_video_set_mode(0x13);
	__outb(0x03C8, 0x00);
	byte al_11 = 0x00;
	do
	{
		__outb(0x03C9, al_11);
		al_11 = al_11 + 0x01;
	} while (al_11 != 0x00);
	byte ah_19 = SLICE(cs, byte, 8);
	Eq_23 * ax_21 = DPB(cs, ah_19 + 0x10, 8, 8);
	Eq_23 * ax_24 = DPB(cs, ah_19 + 0x20, 8, 8);
	Eq_31 Eq_23::*bx_30 = Eq_23::a0000;
	do
	{
		rLoc2 = sin(rLoc2) * (real64) ds->ptr01C6;
		(ax_24->*bx_30).w0000 = (int16) rLoc2;
		(ax_21->*bx_30).w0000 = 0x0000;
		word16 bx_48 = &bx_30->w0000;
		bx_30 = bx_48 + 0x0001;
	} while (bx_48 != 0x0001);
	Eq_56 Eq_36::*di_55 = &Eq_36::t010A;
	do
	{
		word16 si_66 = (ds->*di_55).w0000;
		byte Eq_23::*bx_67 = Eq_23::a0000;
		int8 bl_68 = 0x00;
		int8 bh_69 = 0x00;
		do
		{
			if (bh_69 *s bh_69 + bl_68 *s bl_68 <=u 0x09C3)
				bx_67[si_66] = 0xC9;
			bx_67 = bx_67 + 1;
			bl_68 = (byte) bx_67;
			bh_69 = SLICE(bx_67, byte, 8);
		} while (bx_67 != Eq_23::a0000);
		word16 di_91 = di_55 - 0x0001;
		di_55 = di_91 - 0x0001;
	} while (di_91 != 0xFF01);
	do
	{
		byte Z_95 = fn0C00_0171(0xA000, ds, ax_21, ax_24);
		byte al_96;
		bios_kbd_check_keystroke(out al_96);
	} while (Z_95);
	bios_video_set_mode(0x03);
	return;
}