mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
idle loop detection (Cyclone only, with debug stuff)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@502 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
6af8fee534
commit
260f1bcc8a
9 changed files with 25 additions and 20 deletions
|
@ -128,7 +128,7 @@ OBJS += ../../cpu/musashi/m68kops.o ../../cpu/musashi/m68kcpu.o
|
|||
endif
|
||||
ifeq "$(use_cyclone)" "1"
|
||||
DEFINC += -DEMU_C68K
|
||||
OBJS += ../../cpu/Cyclone/proj/Cyclone.o
|
||||
OBJS += ../../cpu/Cyclone/proj/Cyclone.o ../../cpu/Cyclone/tools/idle.o
|
||||
endif
|
||||
# drz80/mz80
|
||||
ifeq "$(mz80)" "1"
|
||||
|
|
19
gp2x/menu.c
19
gp2x/menu.c
|
@ -25,7 +25,7 @@
|
|||
#include <zlib/zlib.h>
|
||||
|
||||
#ifndef _DIRENT_HAVE_D_TYPE
|
||||
#error "need d_type for file browser
|
||||
#error "need d_type for file browser"
|
||||
#endif
|
||||
|
||||
extern int mmuhack_status;
|
||||
|
@ -67,7 +67,7 @@ static unsigned long wait_for_input(unsigned long interesting)
|
|||
repeats = 0;
|
||||
wait = 20;
|
||||
}
|
||||
if (wait > 6 && (ret&(GP2X_UP|GP2X_LEFT|GP2X_DOWN|GP2X_RIGHT)))
|
||||
if (wait > 6 && (ret&(GP2X_UP|GP2X_LEFT|GP2X_DOWN|GP2X_RIGHT|GP2X_L|GP2X_R)))
|
||||
wait = 6;
|
||||
inp_prev = ret;
|
||||
inp_prevjoy = 0;
|
||||
|
@ -1075,6 +1075,7 @@ menu_entry opt2_entries[] =
|
|||
{ "craigix's RAM timings", MB_ONOFF, MA_OPT2_RAMTIMINGS, ¤tConfig.EmuOpt, 0x0100, 0, 0, 1, 1 },
|
||||
{ NULL, MB_ONOFF, MA_OPT2_SQUIDGEHACK, ¤tConfig.EmuOpt, 0x0010, 0, 0, 1, 1 },
|
||||
{ "SVP dynarec", MB_ONOFF, MA_OPT2_SVP_DYNAREC, &PicoOpt, 0x20000, 0, 0, 1, 1 },
|
||||
{ "Disable idle loop patching",MB_ONOFF, MA_OPT2_NO_IDLE_LOOPS, &PicoOpt, 0x80000, 0, 0, 1, 1 },
|
||||
{ "done", MB_NONE, MA_OPT2_DONE, NULL, 0, 0, 0, 1, 0 },
|
||||
};
|
||||
|
||||
|
@ -1428,7 +1429,7 @@ static int menu_loop_options(void)
|
|||
|
||||
static void draw_menu_credits(void)
|
||||
{
|
||||
int tl_x = 15, tl_y = 64, y;
|
||||
int tl_x = 15, tl_y = 56, y;
|
||||
gp2x_pd_clone_buffer2();
|
||||
|
||||
text_out16(tl_x, 20, "PicoDrive v" VERSION " (c) notaz, 2006-2008");
|
||||
|
@ -1438,17 +1439,19 @@ static void draw_menu_credits(void)
|
|||
text_out16(tl_x, (y+=10), " base code of PicoDrive");
|
||||
text_out16(tl_x, (y+=10), "Reesy & FluBBa: DrZ80 core");
|
||||
text_out16(tl_x, (y+=10), "MAME devs: YM2612 and SN76496 cores");
|
||||
text_out16(tl_x, (y+=10), "Charles MacDonald: Genesis hw docs");
|
||||
text_out16(tl_x, (y+=10), "Stephane Dallongeville:");
|
||||
text_out16(tl_x, (y+=10), " opensource Gens");
|
||||
text_out16(tl_x, (y+=10), "Haze: Genesis hw info");
|
||||
text_out16(tl_x, (y+=10), "rlyeh and others: minimal SDK");
|
||||
text_out16(tl_x, (y+=10), "Squidge: squidgehack");
|
||||
text_out16(tl_x, (y+=10), "Dzz: ARM940 sample");
|
||||
text_out16(tl_x, (y+=10), "GnoStiC / Puck2099: USB joystick");
|
||||
text_out16(tl_x, (y+=10), "GnoStiC / Puck2099: USB joy code");
|
||||
text_out16(tl_x, (y+=10), "craigix: GP2X hardware");
|
||||
text_out16(tl_x, (y+=10), "ketchupgun: skin design");
|
||||
|
||||
text_out16(tl_x, (y+=20), "special thanks (for code, docs, ideas)");
|
||||
text_out16(tl_x, (y+=10), " Charles MacDonald, Haze,");
|
||||
text_out16(tl_x, (y+=10), " Stephane Dallongeville,");
|
||||
text_out16(tl_x, (y+=10), " Lordus, Exophase, Rokas,");
|
||||
text_out16(tl_x, (y+=10), " Nemesis, Tasco Deluxe");
|
||||
|
||||
menu_flip();
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#define CAN_HANDLE_240_LINES 1
|
||||
|
||||
// logging emu events
|
||||
#define EL_LOGMASK EL_STATUS // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO|EL_INTS|EL_CDPOLL) // xffff
|
||||
#define EL_LOGMASK (EL_STATUS|EL_IDLE) // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO|EL_INTS|EL_CDPOLL) // xffff
|
||||
|
||||
//#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
|
||||
#define dprintf(x...)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#define VERSION "1.45"
|
||||
#define VERSION "1.50"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue