#include "../unzip/unzip.h"\r
#include "../unzip/unzip_stream.h"\r
\r
+\r
static char *rom_exts[] = { "bin", "gen", "smd", "iso" };\r
\r
\r
f = fopen(path, "rb");\r
if (f == NULL) return NULL;\r
\r
+ /* we use our own buffering */\r
+ setvbuf(f, NULL, _IONBF, 0);\r
+\r
file = malloc(sizeof(*file));\r
if (file == NULL) {\r
fclose(f);\r
{\r
if (stream->type == PMT_UNCOMPRESSED)\r
{\r
- return fseek(stream->file, offset, whence);\r
+ fseek(stream->file, offset, whence);\r
+ return ftell(stream->file);\r
}\r
else if (stream->type == PMT_ZIP)\r
{\r
\r
// Allocate space for the rom plus padding\r
rom=PicoCartAlloc(size);\r
- if (rom==NULL) return 1; // { fclose(f); return 1; }\r
+ if (rom==NULL) {\r
+ printf("out of memory (wanted %i)\n", size);\r
+ return 1;\r
+ }\r
\r
pm_read(rom,size,f); // Load up the rom\r
\r
#ifdef EMU_C68K\r
#include "../cpu/Cyclone/Cyclone.h"\r
extern struct Cyclone PicoCpu, PicoCpuS68k;\r
-#define SekCyclesLeft PicoCpu.cycles // cycles left for this run\r
-#define SekSetCyclesLeft(c) PicoCpu.cycles=c\r
+#define SekCyclesLeftNoMCD PicoCpu.cycles // cycles left for this run\r
+#define SekCyclesLeft \\r
+ (((PicoMCD&1) && (PicoOpt & 0x2000)) ? (SekCycleAim-SekCycleCnt) : SekCyclesLeftNoMCD)\r
+#define SekSetCyclesLeftNoMCD(c) PicoCpu.cycles=c\r
+#define SekSetCyclesLeft(c) { \\r
+ if ((PicoMCD&1) && (PicoOpt & 0x2000)) SekCycleCnt=SekCycleAim-(c); else SekSetCyclesLeftNoMCD(c); \\r
+}\r
#define SekPc (PicoCpu.pc-PicoCpu.membase)\r
#define SekPcS68k (PicoCpuS68k.pc-PicoCpuS68k.membase)\r
#endif\r
extern m68ki_cpu_core PicoM68kCPU; // MD's CPU\r
extern m68ki_cpu_core PicoS68kCPU; // Mega CD's CPU\r
#ifndef SekCyclesLeft\r
-#define SekCyclesLeft m68k_cycles_remaining()\r
-#define SekSetCyclesLeft(c) SET_CYCLES(c)\r
+#define SekCyclesLeftNoMCD m68k_cycles_remaining()\r
+#define SekCyclesLeft \\r
+ (((PicoMCD&1) && (PicoOpt & 0x2000)) ? (SekCycleAim-SekCycleCnt) : SekCyclesLeftNoMCD)\r
+#define SekSetCyclesLeftNoMCD(c) SET_CYCLES(c)\r
+#define SekSetCyclesLeft(c) { \\r
+ if ((PicoMCD&1) && (PicoOpt & 0x2000)) SekCycleCnt=SekCycleAim-(c); else SET_CYCLES(c); \\r
+}\r
#define SekPc m68k_get_reg(&PicoM68kCPU, M68K_REG_PC)\r
#define SekPcS68k m68k_get_reg(&PicoS68kCPU, M68K_REG_PC)\r
#endif\r
\r
if(Pico.m.scanline != -1) {\r
Pico.m.dma_bytes += len;\r
- SekSetCyclesLeft(SekCyclesLeft - CheckDMA());\r
+ if ((PicoMCD&1) && (PicoOpt & 0x2000)) SekCycleCnt+=CheckDMA();\r
+ else SekSetCyclesLeftNoMCD(SekCyclesLeftNoMCD - CheckDMA());\r
} else {\r
// be approximate in non-accurate mode\r
SekSetCyclesLeft(SekCyclesLeft - (len*(((488<<8)/167))>>8));\r
a = (a&2) | (cell_map(a >> 2) << 2); // cell arranged\r
else a &= 0x1fffe;\r
d = *(u16 *)(Pico_mcd->word_ram1M[bank]+a);\r
-//d = 0xaaaa;\r
} else {\r
// allow access in any mode, like Gens does\r
d = *(u16 *)(Pico_mcd->word_ram2M+(a&0x3fffe));\r
u8 *pd = Pico_mcd->word_ram1M[!(r3 & 1)] + (((a>>1)^1)&0x1ffff);\r
u8 oldmask = (a&1) ? 0xf0 : 0x0f;\r
\r
- //if ((a & 0x3ffff) < 0x28000) return;\r
- //return;\r
-\r
r3 &= 0x18;\r
d &= 0x0f;\r
if (!(a&1)) d <<= 4;\r
#endif
}
-#define PS_STEP_M68K 8
-#define PS_STEP_S68K 13
+#define PS_STEP_M68K ((488<<16)/20) // ~24
+//#define PS_STEP_S68K 13
+#ifndef _ASM_CD_PICO_C
static __inline void SekRunPS(int cyc_m68k, int cyc_s68k)
{
- int cyc_do_m68k, cyc_do_s68k, it=0;
- int cyc_done_m68k=0, cyc_done_s68k=0;
+ int cycn, cycn_s68k, cyc_do;
+ int d_cm = 0, d_cs = 0, ex;
SekCycleAim+=cyc_m68k;
SekCycleAimS68k+=cyc_s68k;
- cyc_do_m68k=SekCycleAim-SekCycleCnt;
- cyc_do_s68k=SekCycleAimS68k-SekCycleCntS68k;
- while (cyc_done_m68k < cyc_do_m68k || cyc_done_s68k < cyc_do_s68k) {
- it++;
- if (cyc_done_m68k < cyc_do_m68k && it*PS_STEP_M68K > cyc_done_m68k) {
+
+// fprintf(stderr, "=== start %3i/%3i [%3i/%3i] {%05i.%i} ===\n", cyc_m68k, cyc_s68k,
+// SekCycleAim-SekCycleCnt, SekCycleAimS68k-SekCycleCntS68k, Pico.m.frame_count, Pico.m.scanline);
+
+ /* loop 488 downto 0 in steps of PS_STEP */
+ for (cycn = (488<<16)-PS_STEP_M68K; cycn >= 0; cycn -= PS_STEP_M68K)
+ {
+ ex = 0;
+ cycn_s68k = (cycn + cycn/2 + cycn/8) >> 16;
+//fprintf(stderr, "%3i/%3i: ", cycn>>16, cycn_s68k);
+ if ((cyc_do = SekCycleAim-SekCycleCnt-(cycn>>16)) > 0) {
#if defined(EMU_C68K)
- PicoCpu.cycles = PS_STEP_M68K;
+ PicoCpu.cycles = cyc_do;
CycloneRun(&PicoCpu);
- cyc_done_m68k += PS_STEP_M68K - PicoCpu.cycles;
+ SekCycleCnt += cyc_do - PicoCpu.cycles;
#elif defined(EMU_M68K)
m68k_set_context(&PicoM68kCPU);
- cyc_done_m68k += m68k_execute(PS_STEP_M68K);
+ SekCycleCnt += (ex = m68k_execute(cyc_do));
#endif
- } //else dprintf("m68k skipping it #%i", it);
- if (cyc_done_s68k < cyc_do_s68k && it*PS_STEP_S68K > cyc_done_s68k) {
+ }
+//fprintf(stderr, "%3i ", ex); d_cm += ex; ex = 0;
+ if ((cyc_do = SekCycleAimS68k-SekCycleCntS68k-cycn_s68k) > 0) {
#if defined(EMU_C68K)
- PicoCpuS68k.cycles = PS_STEP_S68K;
+ PicoCpuS68k.cycles = cyc_do;
CycloneRun(&PicoCpuS68k);
- cyc_done_s68k += PS_STEP_S68K - PicoCpuS68k.cycles;
+ SekCycleCntS68k += cyc_do - PicoCpuS68k.cycles;
#elif defined(EMU_M68K)
m68k_set_context(&PicoS68kCPU);
- cyc_done_s68k += m68k_execute(PS_STEP_S68K);
+ SekCycleCntS68k += (ex = m68k_execute(cyc_do));
#endif
- } //else dprintf("s68k skipping it #%i", it);
+ }
+//fprintf(stderr, "%3i\n", ex); d_cs += ex;
}
- SekCycleCnt += cyc_done_m68k;
- SekCycleCntS68k += cyc_done_s68k;
- //dprintf("== end SekRunPS, it=%i ==", it);
+
+//fprintf(stderr, "== end %3i/%3i ==\n", d_cm, d_cs);
}
+#else
+void SekRunPS(int cyc_m68k, int cyc_s68k);
+#endif
static __inline void check_cd_dma(void)
//dprintf("m68k starting exec @ %06x", SekPc);
if(Pico.m.dma_bytes) SekCycleCnt+=CheckDMA();
if((PicoOpt & 0x2000) && (Pico_mcd->m.busreq&3) == 1) {
- SekRunPS(cycles_68k, cycles_s68k); // "perfect sync"
+ SekRunPS(cycles_68k, cycles_s68k); // "better/perfect sync"
} else {
SekRun(cycles_68k);
if ((Pico_mcd->m.busreq&3) == 1) // no busreq/no reset
--- /dev/null
+@ vim:filetype=armasm
+
+@ SekRunPS runs PicoCpu and PicoCpuS68k interleaved in steps of PS_STEP_M68K
+@ cycles. This is done without calling CycloneRun and jumping directly to
+@ Cyclone code to avoid pushing/popping all the registers every time.
+
+@ (c) Copyright 2007, Grazvydas "notaz" Ignotas
+@ All Rights Reserved
+
+
+.equiv PS_STEP_M68K, ((488<<16)/20) @ ~24
+
+@ .extern is ignored by gas, we add these here just to see what we depend on.
+.extern CycloneJumpTab
+.extern CycloneDoInterrupt
+.extern PicoCpu
+.extern PicoCpuS68k
+.extern SekCycleAim
+.extern SekCycleCnt
+.extern SekCycleAimS68k
+.extern SekCycleCntS68k
+
+
+.text
+.align 4
+
+
+.global SekRunPS @ cyc_m68k, cyc_s68k
+
+SekRunPS:
+ stmfd sp!, {r4-r11,lr}
+ sub sp, sp, #2*4 @ sp[0] = main_cycle_cnt, sp[4] = run_cycle_cnt
+
+ @ override CycloneEnd for both contexts
+ ldr r7, =PicoCpu
+ ldr lr, =PicoCpuS68k
+ ldr r2, =CycloneEnd_M68k
+ ldr r3, =CycloneEnd_S68k
+ str r2, [r7,#0x54]
+ str r3, [lr,#0x54]
+
+ @ update aims
+ ldr r8, =SekCycleAim
+ ldr r9, =SekCycleAimS68k
+ ldr r2, [r8]
+ ldr r3, [r9]
+ add r2, r2, r0
+ add r3, r3, r1
+ str r2, [r8]
+ str r3, [r9]
+
+ ldr r1, =SekCycleCnt
+ ldr r0, =((488<<16)-PS_STEP_M68K)
+ ldr r6, =CycloneJumpTab
+
+ @ schedule m68k for the first time..
+ ldr r1, [r1]
+ str r0, [sp] @ main target 'left cycle' counter
+ sub r1, r2, r1
+ subs r5, r1, r0, asr #16
+ ble schedule_s68k @ m68k has not enough cycles
+
+ str r5, [sp,#4] @ run_cycle_cnt
+ b CycloneRunLocal
+
+
+
+CycloneEnd_M68k:
+ ldr r3, =SekCycleCnt
+ ldr r0, [sp,#4] @ run_cycle_cnt
+ ldr r1, [r3]
+ str r4, [r7,#0x40] ;@ Save Current PC + Memory Base
+ strb r9, [r7,#0x46] ;@ Save Flags (NZCV)
+ sub r0, r0, r5 @ subtract leftover cycles (which should be negative)
+ add r0, r0, r1
+ str r0, [r3]
+
+schedule_s68k:
+ ldr r8, =SekCycleCntS68k
+ ldr r9, =SekCycleAimS68k
+ ldr r3, [sp]
+ ldr r8, [r8]
+ ldr r9, [r9]
+
+ sub r0, r9, r8
+ add r3, r3, r3, asr #1
+ add r3, r3, r3, asr #3 @ cycn_s68k = (cycn + cycn/2 + cycn/8)
+
+ subs r5, r0, r3, asr #16
+ ble schedule_m68k @ s68k has not enough cycles
+
+ ldr r7, =PicoCpuS68k
+ str r5, [sp,#4] @ run_cycle_cnt
+ b CycloneRunLocal
+
+
+
+CycloneEnd_S68k:
+ ldr r3, =SekCycleCntS68k
+ ldr r0, [sp,#4] @ run_cycle_cnt
+ ldr r1, [r3]
+ str r4, [r7,#0x40] ;@ Save Current PC + Memory Base
+ strb r9, [r7,#0x46] ;@ Save Flags (NZCV)
+ sub r0, r0, r5 @ subtract leftover cycles (should be negative)
+ add r0, r0, r1
+ str r0, [r3]
+
+schedule_m68k:
+ ldr r1, =PS_STEP_M68K
+ ldr r3, [sp] @ main_cycle_cnt
+ ldr r8, =SekCycleCnt
+ ldr r9, =SekCycleAim
+ subs r3, r3, r1
+ bmi SekRunPS_end
+
+ ldr r8, [r8]
+ ldr r9, [r9]
+ str r3, [sp] @ update main_cycle_cnt
+ sub r0, r9, r8
+
+ subs r5, r0, r3, asr #16
+ ble schedule_s68k @ m68k has not enough cycles
+
+ ldr r7, =PicoCpu
+ str r5, [sp,#4] @ run_cycle_cnt
+ b CycloneRunLocal
+
+
+
+SekRunPS_end:
+ ldr r7, =PicoCpu
+ ldr lr, =PicoCpuS68k
+ mov r0, #0
+ str r0, [r7,#0x54] @ remove CycloneEnd handler
+ str r0, [lr,#0x54]
+ @ return
+ add sp, sp, #2*4
+ ldmfd sp!, {r4-r11,pc}
+
+
+
+
+CycloneRunLocal:
+ ;@ r0-3 = Temporary registers
+ ldr r4,[r7,#0x40] ;@ r4 = Current PC + Memory Base
+ ;@ r5 = Cycles
+ ;@ r6 = Opcode Jump table
+ ;@ r7 = Pointer to Cpu Context
+ ;@ r8 = Current Opcode
+ ldrb r9,[r7,#0x46] ;@ r9 = Flags (NZCV)
+ ldr r0,[r7,#0x44]
+ mov r9,r9,lsl #28 ;@ r9 = Flags 0xf0000000, cpsr format
+ ;@ r10 = Source value / Memory Base
+
+;@ CheckInterrupt:
+ movs r0,r0,lsr #24 ;@ Get IRQ level
+ beq NoIntsLocal
+ cmp r0,#6 ;@ irq>6 ?
+ ldrleb r1,[r7,#0x44] ;@ Get SR high: T_S__III
+ andle r1,r1,#7 ;@ Get interrupt mask
+ cmple r0,r1 ;@ irq<=6: Is irq<=mask ?
+ blgt CycloneDoInterrupt
+;@ Check if interrupt used up all the cycles:
+ subs r5,r5,#0
+ ldrlt r1,[r7,#0x54]
+ bxlt r1 ;@ jump to alternative CycloneEnd
+NoIntsLocal:
+
+;@ Check if our processor is in stopped state and jump to opcode handler if not
+ ldr r0,[r7,#0x58]
+ ldrh r8,[r4],#2 ;@ Fetch first opcode
+ tst r0,r0 ;@ stopped?
+ ldreq pc,[r6,r8,asl #2] ;@ Jump to opcode handler
+
+ @ stopped
+ ldr r1,[r7,#0x54]
+ mov r5,#0
+ bx r1
+
ot(" ldrleb r1,[r7,#0x44] ;@ Get SR high: T_S__III\n");\r
ot(" andle r1,r1,#7 ;@ Get interrupt mask\n");\r
ot(" cmple r0,r1 ;@ irq<=6: Is irq<=mask ?\n");\r
- ot(" blgt DoInterrupt\n");\r
+ ot(" blgt CycloneDoInterrupt\n");\r
ot("NoInts%x%s\n", op,ms?"":":");\r
ot("\n");\r
}\r
ot(" mov r7,r0 ;@ r7 = Pointer to Cpu Context\n");\r
ot(" ;@ r0-3 = Temporary registers\n");\r
ot(" ldrb r9,[r7,#0x46] ;@ r9 = Flags (NZCV)\n");\r
- ot(" ldr r6,=JumpTab ;@ r6 = Opcode Jump table\n");\r
+ ot(" ldr r6,=CycloneJumpTab ;@ r6 = Opcode Jump table\n");\r
ot(" ldr r5,[r7,#0x5c] ;@ r5 = Cycles\n");\r
ot(" ldr r4,[r7,#0x40] ;@ r4 = Current PC + Memory Base\n");\r
ot(" ;@ r8 = Current Opcode\n");\r
ot(" ldrleb r1,[r7,#0x44] ;@ Get SR high: T_S__III\n");\r
ot(" andle r1,r1,#7 ;@ Get interrupt mask\n");\r
ot(" cmple r0,r1 ;@ irq<=6: Is irq<=mask ?\n");\r
- ot(" blgt DoInterrupt\n");\r
+ ot(" blgt CycloneDoInterrupt\n");\r
ot(";@ Check if interrupt used up all the cycles:\n");\r
ot(" subs r5,r5,#0\n");\r
ot(" blt CycloneEndNoBack\n");\r
ot("CycloneEnd%s\n", ms?"":":");\r
ot(" sub r4,r4,#2\n");\r
ot("CycloneEndNoBack%s\n", ms?"":":");\r
+#ifdef CYCLONE_FOR_PICODRIVE\r
+ ot(" ldr r1,[r7,#0x54]\n");\r
ot(" mov r9,r9,lsr #28\n");\r
+ ot(" tst r1,r1\n");\r
+ ot(" bxne r1 ;@ jump to alternative CycloneEnd\n");\r
+#else\r
+ ot(" mov r9,r9,lsr #28\n");\r
+#endif\r
ot(" str r4,[r7,#0x40] ;@ Save Current PC + Memory Base\n");\r
ot(" str r5,[r7,#0x5c] ;@ Save Cycles\n");\r
ot(" strb r9,[r7,#0x46] ;@ Save Flags (NZCV)\n");\r
ot(";@ uncompress jump table\n");\r
if (ms) ot("CycloneInit\n");\r
else ot("CycloneInit:\n");\r
- ot(" ldr r12,=JumpTab\n");\r
+ ot(" ldr r12,=CycloneJumpTab\n");\r
ot(" add r0,r12,#0xe000*4 ;@ ctrl code pointer\n");\r
ot(" ldr r1,[r0,#-4]\n");\r
ot(" tst r1,r1\n");\r
ot(" bgt unc_loop_in\n");\r
ot(" b unc_loop\n");\r
ot("unc_finish%s\n", ms?"":":");\r
- ot(" ldr r12,=JumpTab\n");\r
+ ot(" ldr r12,=CycloneJumpTab\n");\r
ot(" ;@ set a-line and f-line handlers\n");\r
ot(" add r0,r12,#0xa000*4\n");\r
ot(" ldr r1,[r0,#4] ;@ a-line handler\n");\r
ot("\n");\r
\r
ot(";@ DoInterrupt - r0=IRQ number\n");\r
- ot("DoInterrupt%s\n", ms?"":":");\r
+ ot("CycloneDoInterrupt%s\n", ms?"":":");\r
ot(" stmdb sp!,{lr} ;@ Push ARM return address\n");\r
\r
ot(";@ Get IRQ Vector address:\n");\r
// space for decompressed table\r
ot(ms?" area |.data|, data\n":" .data\n .align 4\n\n");\r
\r
- ot("JumpTab%s\n", ms?"":":");\r
+ ot("CycloneJumpTab%s\n", ms?"":":");\r
if(ms) {\r
for(i = 0; i < 0xa000/8; i++)\r
ot(" dcd 0,0,0,0,0,0,0,0\n");\r
ot("\n");\r
free(indexes);\r
#else\r
- ot("JumpTab%s\n", ms?"":":");\r
+ ot("CycloneJumpTab%s\n", ms?"":":");\r
len=0xfffe; // Hmmm, armasm 2.50.8684 messes up with a 0x10000 long jump table\r
// notaz: same thing with GNU as 2.9-psion-98r2 (reloc overflow)\r
// this is due to COFF objects using only 2 bytes for reloc count\r
ot(" .global CycloneSetSr\n");\r
ot(" .global CycloneGetSr\n");\r
ot(" .global CycloneVer\n");\r
+#ifdef CYCLONE_FOR_PICODRIVE\r
+ ot(" .global CycloneDoInterrupt\n");\r
+ ot(" .global CycloneJumpTab\n");\r
+#endif\r
ot("CycloneVer: .long 0x%.4x\n",CycloneVer);\r
}\r
ot("\n");\r
\r
if (ms) ot(" END\n");\r
\r
+ ot("\n\n;@ vim:filetype=armasm\n");\r
+\r
fclose(AsmFile); AsmFile=NULL;\r
\r
#if 0\r
-CFLAGS = -Wall
+CFLAGS = -Wall -DCYCLONE_FOR_PICODRIVE
-ALL : cyclone.s
+all : cyclone.s
cyclone.s : Cyclone.exe
./Cyclone.exe
asm_render = 1\r
asm_ym2612 = 1\r
asm_misc = 1\r
+asm_cdpico = 1\r
#profile = 1\r
#use_musashi = 1\r
#up = 1\r
\r
DEFINC = -I../.. -I. -DARM -D__GP2X__ -D_UNZIP_SUPPORT # -DBENCHMARK\r
-COPT_COMMON = -static -s -O3 -ftracer -fstrength-reduce -Wall -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ffast-math\r
+COPT_COMMON = -static -O3 -ftracer -fstrength-reduce -Wall -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ffast-math # -s\r
ifeq "$(profile)" "1"\r
COPT_COMMON += -fprofile-generate\r
endif\r
DEFINC += -D_ASM_MISC_C\r
OBJS += ../../Pico/misc_asm.o\r
endif\r
+ifeq "$(asm_cdpico)" "1"\r
+DEFINC += -D_ASM_CD_PICO_C\r
+OBJS += ../../Pico/cd/pico_asm.o\r
+endif\r
# Pico - sound\r
OBJS += ../../Pico/sound/mix_asm.o\r
OBJS += ../../Pico/sound/sound.o ../../Pico/sound/sn76496.o ../../Pico/sound/ym2612.o\r
\r
PicoDrive.gpe : $(OBJS) helix/helix_mp3.a\r
@echo $@\r
- @$(GCC) -o $@ $(COPT) $^ -lm\r
+ @$(GCC) -o $@ $(COPT) $^ -lm -Wl,-Map=PicoDrive.map\r
+ifeq ($(DEBUG),)\r
@$(STRIP) $@\r
+endif\r
# @$(GCC) $(COPT) $(OBJS) -lm -o PicoDrive_.gpe\r
# @gpecomp PicoDrive_.gpe $@\r
ifeq "$(up)" "1"\r
../../Pico/misc_asm.o : ../../Pico/misc.s\r
@echo $<\r
@$(AS) $(ASOPT) $< -o $@\r
+../../Pico/cd/pico_asm.o : ../../Pico/cd/Pico.s\r
+ @echo $<\r
+ @$(AS) $(ASOPT) $< -o $@\r
\r
# build Cyclone\r
../../cpu/Cyclone/proj/Cyclone.s :\r
strncpy(cfg, PicoConfigFile, 511);\r
cfg[511] = 0;\r
} else {\r
- romfname_ext(cfg, "cfg", ".pbcfg");\r
+ romfname_ext(cfg, "cfg/", ".pbcfg");\r
}\r
\r
printf("emu_WriteConfig: %s ", cfg);\r
gp2x_text_out8(tl_x, (y+=10), "CD LEDs %s", (currentConfig.EmuOpt &0x0400)?"ON":"OFF"); // 3\r
gp2x_text_out8(tl_x, (y+=10), "CDDA audio (using mp3s) %s", (currentConfig.PicoOpt&0x0800)?"ON":"OFF"); // 4\r
gp2x_text_out8(tl_x, (y+=10), "PCM audio %s", (currentConfig.PicoOpt&0x0400)?"ON":"OFF"); // 5\r
- gp2x_text_out8(tl_x, (y+=10), "Better sync (very slow) %s", (currentConfig.PicoOpt&0x2000)?"ON":"OFF"); // 6\r
+ gp2x_text_out8(tl_x, (y+=10), "Better sync (slow) %s", (currentConfig.PicoOpt&0x2000)?"ON":"OFF"); // 6\r
gp2x_text_out8(tl_x, (y+=10), "ReadAhead buffer %s", ra_buff); // 7\r
gp2x_text_out8(tl_x, (y+=10), "Done");\r
\r
+ Added data pre-buffering support, this allows to reduce frequency of short pauses\r
in FMV games, but makes those pauses longer.\r
* Fixed PCM DMA transfers (intro FMV in Popful Mail).\r
+ + Properly implemented "decode" data transformation (Jaguar XJ220).\r
+ * Integrated "better sync" code into cyclone code, what made this mode much faster.\r
+ * Fixed a bug related to game specific config saving.\r
\r
1.201\r
+ Added basic cheat support (GameGenie and Genecyst patches).\r