mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
Sonic CD runs on GP2X
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@21 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
d1df87866b
commit
b837b69b3f
20 changed files with 364 additions and 184 deletions
|
@ -23,10 +23,11 @@ extern "C" {
|
|||
// ----------------------- 68000 CPU -----------------------
|
||||
#ifdef EMU_C68K
|
||||
#include "../cpu/Cyclone/Cyclone.h"
|
||||
extern struct Cyclone PicoCpu;
|
||||
extern struct Cyclone PicoCpu, PicoCpuS68k;
|
||||
#define SekCyclesLeft PicoCpu.cycles // cycles left for this run
|
||||
#define SekSetCyclesLeft(c) PicoCpu.cycles=c
|
||||
#define SekPc (PicoCpu.pc-PicoCpu.membase)
|
||||
#define SekPcS68k (PicoCpuS68k.pc-PicoCpuS68k.membase)
|
||||
#endif
|
||||
|
||||
#ifdef EMU_A68K
|
||||
|
@ -201,15 +202,16 @@ void PicoFrameFull();
|
|||
// Memory.c
|
||||
int PicoInitPc(unsigned int pc);
|
||||
unsigned int CPU_CALL PicoRead32(unsigned int a);
|
||||
int PicoMemInit();
|
||||
void PicoMemSetup();
|
||||
void PicoMemReset();
|
||||
void PicoDasm(int start,int len);
|
||||
//void PicoDasm(int start,int len);
|
||||
unsigned char z80_read(unsigned short a);
|
||||
unsigned short z80_read16(unsigned short a);
|
||||
void z80_write(unsigned char data, unsigned short a);
|
||||
void z80_write16(unsigned short data, unsigned short a);
|
||||
|
||||
// cd/Memory.c
|
||||
void PicoMemSetupCD();
|
||||
unsigned char PicoReadCD8 (unsigned int a);
|
||||
unsigned short PicoReadCD16(unsigned int a);
|
||||
unsigned int PicoReadCD32(unsigned int a);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue