mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-10-27 00:29:39 -04:00
(c) and stuff
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@404 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
08fe8094f7
commit
65ca3034d4
5 changed files with 24 additions and 4 deletions
|
|
@ -1,12 +1,18 @@
|
||||||
/*
|
/*
|
||||||
* should better do some pointer stuff here. But as none of these bankswitch
|
* Support for a few cart mappers.
|
||||||
|
*
|
||||||
|
* (c) Copyright 2008, Grazvydas "notaz" Ignotas
|
||||||
|
* Free for non-commercial use.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* I should better do some pointer stuff here. But as none of these bankswitch
|
||||||
* while the game runs, memcpy will suffice.
|
* while the game runs, memcpy will suffice.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../PicoInt.h"
|
#include "../PicoInt.h"
|
||||||
|
|
||||||
|
|
||||||
/* 12-in-1 and 4-in-1. Assuming 2MB ROMs here. */
|
/* 12-in-1 and 4-in-1. Assuming >= 2MB ROMs here. */
|
||||||
static unsigned int carthw_12in1_baddr = 0;
|
static unsigned int carthw_12in1_baddr = 0;
|
||||||
|
|
||||||
static carthw_state_chunk carthw_12in1_state[] =
|
static carthw_state_chunk carthw_12in1_state[] =
|
||||||
|
|
@ -110,7 +116,7 @@ static void carthw_realtec_write8(unsigned int a, unsigned int d, int realsize)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
elprintf(EL_ANOMALY, "realtec: unexpected write [%06x] %02x @ %06x", a, d, SekPc);
|
elprintf(EL_ANOMALY, "realtec: unexpected write [%06x] %02x @ %06x", a, d, SekPc);
|
||||||
|
|
||||||
if (realtec_bank >= 0 && realtec_size >= 0 &&
|
if (realtec_bank >= 0 && realtec_size >= 0 &&
|
||||||
(realtec_bank != bank_old || realtec_size != size_old))
|
(realtec_bank != bank_old || realtec_size != size_old))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// The SVP chip emulator
|
// The SVP chip emulator, mem I/O stuff
|
||||||
|
|
||||||
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
|
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
|
||||||
// Free for non-commercial use.
|
// Free for non-commercial use.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SSP1601 to ARM recompiler
|
||||||
|
|
||||||
|
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
|
||||||
|
// Free for non-commercial use.
|
||||||
|
|
||||||
#include "../../PicoInt.h"
|
#include "../../PicoInt.h"
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
// Basic macros to emit ARM instructions and some utils
|
||||||
|
|
||||||
|
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
|
||||||
|
// Free for non-commercial use.
|
||||||
|
|
||||||
#define EMIT(x) *tcache_ptr++ = x
|
#define EMIT(x) *tcache_ptr++ = x
|
||||||
|
|
||||||
#define A_R4M (1 << 4)
|
#define A_R4M (1 << 4)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
@ vim:filetype=armasm
|
@ vim:filetype=armasm
|
||||||
|
|
||||||
|
@ Compiler helper functions and some SVP HLE code
|
||||||
|
|
||||||
|
@ (c) Copyright 2008, Grazvydas "notaz" Ignotas
|
||||||
|
@ Free for non-commercial use.
|
||||||
|
|
||||||
.if 0
|
.if 0
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
.endif
|
.endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue