minor adjustments

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@456 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-21 22:01:10 +00:00
parent 2cb51c3c62
commit 582890c000
3 changed files with 18 additions and 13 deletions

View file

@ -110,7 +110,6 @@ end:
// ----------------------------------------------------------------- // -----------------------------------------------------------------
// Write Ram // Write Ram
/* /*
void dump(u16 w) void dump(u16 w)
{ {
@ -118,6 +117,7 @@ void dump(u16 w)
char fname[32]; char fname[32];
int num = PicoPicohw.r12 & 0xf; int num = PicoPicohw.r12 & 0xf;
w = (w << 8) | (w >> 8);
sprintf(fname, "ldump%i.bin", num); sprintf(fname, "ldump%i.bin", num);
if (f[num] == NULL) if (f[num] == NULL)
f[num] = fopen(fname, "wb"); f[num] = fopen(fname, "wb");
@ -159,7 +159,7 @@ static void PicoWritePico16(u32 a,u16 d)
a&=0xfffffe; a&=0xfffffe;
if ((a&0xfffff0)==0xc00000) { PicoVideoWrite(a,(u16)d); return; } // VDP if ((a&0xfffff0)==0xc00000) { PicoVideoWrite(a,(u16)d); return; } // VDP
// if (a == 0x800010) dump(d); //if (a == 0x800010) dump(d);
if (a == 0x800010) if (a == 0x800010)
{ {
PicoPicohw.fifo_bytes += 2; PicoPicohw.fifo_bytes += 2;

View file

@ -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 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. (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 The sole purpose of this port is to demonstrate my SVP and Sega Pico emulation
makes it one of the most minimal emulators out there. If you need more code. This makes it one of the most minimal emulators out there. If you need
features, you will have to wait until SVP support is integrated in Kega, Gens more features, you will have to wait until support is integrated in Kega,
and the likes, as this emu was not meant to compete with them. Gens and the likes, as this emu was not meant to compete with them.
For more info, visit http://notaz.gp2x.de/svp.php For more info, visit http://notaz.gp2x.de/svp.php
@ -20,6 +20,7 @@ Releases
1.40 - first release. 1.40 - first release.
1.40a - Tasco Deluxe's dithering fix. 1.40a - Tasco Deluxe's dithering fix.
1.40b - Perspective fix thanks to Pierpaolo Prazzoli's info. 1.40b - Perspective fix thanks to Pierpaolo Prazzoli's info.
1.45 - Added preliminary Sega Pico emulation.
Controls Controls
@ -27,10 +28,12 @@ Controls
These are currently hardcoded, keyboard only: These are currently hardcoded, keyboard only:
PC Gen/MD Sega Pico
-------+-----------+---------
Enter: Start Enter: Start
Z: A Z: A
X: B X: B red button
C: C C: C pen push
TAB: (reset) TAB: (reset)
Esc: (load ROM) Esc: (load ROM)
Arrows: D-pad Arrows: D-pad
@ -41,7 +44,7 @@ Credits
A lot of work on making SVP emulation happen was done by Tasco Deluxe, my 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 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 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. z80: CZ80 by Stéphane Dallongeville and modified by NJ.
YM2612 and SN76496 cores: MAME devs. 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! Greets to all the sceners and emu authors out there!

View file

@ -1,2 +1,2 @@
#define VERSION "1.42" #define VERSION "1.45"