Beispiel #1
0
static int		dump_rom_1	(CalcHandle* handle)
{
	// Send dumping program
	if (handle->model == CALC_TI73)
	{
		return rd_send(handle, "romdump.73p", romDumpSize73, romDump73);
	}
	else
	{
		CalcInfos infos;

		int ret = get_version(handle, &infos);
		if (!ret)
		{
			if (infos.hw_version < 5)
			{
				ret = rd_send(handle, "romdump.8Xp", romDumpSize8Xp, romDump8Xp);
			}
			else
			{
				ret = rd_send(handle, "romdump.8Xp", romDumpSize84pc, romDump84pc);
			}
		}

		return ret;
	}
}
Beispiel #2
0
static int		dump_rom_1	(CalcHandle* handle)
{
	// Send dumping program
	TRYF(rd_send(handle, "romdump.83p", romDumpSize83, romDump83));

	return 0;
}
Beispiel #3
0
static int		dump_rom_1	(CalcHandle* handle)
{
	// Send dumping program
	TRYF(rd_send(handle, "romdump.86p", romDumpSize86, romDump86));
	PAUSE(1000);

	return 0;
}
Beispiel #4
0
static int		dump_rom_1	(CalcHandle* handle)
{
	// Send dumping program
	if (handle->model == CALC_TI82)
	{
		return rd_send(handle, "romdump.82p", romDumpSize82, romDump82);
	}
	else if (handle->model == CALC_TI83)
	{
		return rd_send(handle, "romdump.83p", romDumpSize83, romDump83);
	}
	else if (handle->model == CALC_TI85)
	{
		return rd_send(handle, "romdump.85s", romDumpSize85, romDump85);
	}
	else
	{
		return rd_send(handle, "romdump.86p", romDumpSize86, romDump86);
	}
}
Beispiel #5
0
static int		dump_rom_1	(CalcHandle* handle)
{
	// Go back to homescreen
	PAUSE(200);
	TRYF(send_key(handle, (KEY92P_CTRL + KEY92P_Q)));
	TRYF(send_key(handle, KEY92P_CLEAR));
	TRYF(send_key(handle, KEY92P_CLEAR));
	PAUSE(200);

	// Send dumping program
	TRYF(rd_send(handle, "romdump.92p", romDumpSize92, romDump92));
	PAUSE(1000);

	return 0;
}
Beispiel #6
0
static int		dump_rom_1	(CalcHandle* handle)
{
	TRYF(rd_send(handle, "romdump.8Xp", romDumpSize84p, romDump84p));

	return 0;
}