From 582890c000105f81c34c88d18924f7a3dc3b66b2 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 21 May 2008 22:01:10 +0000 Subject: [PATCH] minor adjustments git-svn-id: file:///home/notaz/opt/svn/PicoDrive@456 be3aeb3a-fb24-0410-a615-afba39da0efa --- Pico/Pico/Memory.c | 4 ++-- platform/win32/GenaDrive/readme.txt | 25 +++++++++++++++---------- platform/win32/GenaDrive/version.h | 2 +- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/Pico/Pico/Memory.c b/Pico/Pico/Memory.c index 7e106a3..8c4674b 100644 --- a/Pico/Pico/Memory.c +++ b/Pico/Pico/Memory.c @@ -110,7 +110,6 @@ end: // ----------------------------------------------------------------- // Write Ram - /* void dump(u16 w) { @@ -118,6 +117,7 @@ void dump(u16 w) char fname[32]; int num = PicoPicohw.r12 & 0xf; + w = (w << 8) | (w >> 8); sprintf(fname, "ldump%i.bin", num); if (f[num] == NULL) f[num] = fopen(fname, "wb"); @@ -159,7 +159,7 @@ static void PicoWritePico16(u32 a,u16 d) a&=0xfffffe; if ((a&0xfffff0)==0xc00000) { PicoVideoWrite(a,(u16)d); return; } // VDP -// if (a == 0x800010) dump(d); + //if (a == 0x800010) dump(d); if (a == 0x800010) { PicoPicohw.fifo_bytes += 2; diff --git a/platform/win32/GenaDrive/readme.txt b/platform/win32/GenaDrive/readme.txt index 4153273..521532f 100644 --- a/platform/win32/GenaDrive/readme.txt +++ b/platform/win32/GenaDrive/readme.txt @@ -6,10 +6,10 @@ This is a quick windows port of PicoDrive, a Megadrive / Genesis emulator for handheld devices. It was originally coded having ARM CPU based devices in mind (most work was done on GP2X version), but there is also a PSP port. -The sole purpose of this port is to demonstrate my SVP emulation code. This -makes it one of the most minimal emulators out there. If you need more -features, you will have to wait until SVP support is integrated in Kega, Gens -and the likes, as this emu was not meant to compete with them. +The sole purpose of this port is to demonstrate my SVP and Sega Pico emulation +code. This makes it one of the most minimal emulators out there. If you need +more features, you will have to wait until support is integrated in Kega, +Gens and the likes, as this emu was not meant to compete with them. For more info, visit http://notaz.gp2x.de/svp.php @@ -20,6 +20,7 @@ Releases 1.40 - first release. 1.40a - Tasco Deluxe's dithering fix. 1.40b - Perspective fix thanks to Pierpaolo Prazzoli's info. +1.45 - Added preliminary Sega Pico emulation. Controls @@ -27,13 +28,15 @@ Controls These are currently hardcoded, keyboard only: +PC Gen/MD Sega Pico +-------+-----------+--------- Enter: Start Z: A -X: B -C: C -TAB: (reset) -Esc: (load ROM) -Arrows: D-pad +X: B red button +C: C pen push +TAB: (reset) +Esc: (load ROM) +Arrows: D-pad Credits @@ -41,7 +44,7 @@ Credits A lot of work on making SVP emulation happen was done by Tasco Deluxe, my stuff is a continuation of his. Pierpaolo Prazzoli's information and his -SSP1610 disassebler in MAME code helped a lot too. +SSP1610 disassembler in MAME code helped a lot too. The original PicoDrive was written by fDave from finalburn.com @@ -51,5 +54,7 @@ This PicoDrive version uses bits and pieces of from other projects: z80: CZ80 by Stéphane Dallongeville and modified by NJ. YM2612 and SN76496 cores: MAME devs. +Special thanks to Rokas and Lordus for various ideas. + Greets to all the sceners and emu authors out there! diff --git a/platform/win32/GenaDrive/version.h b/platform/win32/GenaDrive/version.h index bbcef00..580a8ae 100644 --- a/platform/win32/GenaDrive/version.h +++ b/platform/win32/GenaDrive/version.h @@ -1,2 +1,2 @@ -#define VERSION "1.42" +#define VERSION "1.45" -- 2.39.2