(c) and stuff

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@404 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-03-29 17:51:59 +00:00
parent 08fe8094f7
commit 65ca3034d4
5 changed files with 24 additions and 4 deletions

View file

@ -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.
*/
#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 carthw_state_chunk carthw_12in1_state[] =
@ -110,7 +116,7 @@ static void carthw_realtec_write8(unsigned int a, unsigned int d, int realsize)
}
else
elprintf(EL_ANOMALY, "realtec: unexpected write [%06x] %02x @ %06x", a, d, SekPc);
if (realtec_bank >= 0 && realtec_size >= 0 &&
(realtec_bank != bank_old || realtec_size != size_old))
{

View file

@ -1,4 +1,4 @@
// The SVP chip emulator
// The SVP chip emulator, mem I/O stuff
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
// Free for non-commercial use.

View file

@ -1,3 +1,7 @@
// SSP1601 to ARM recompiler
// (c) Copyright 2008, Grazvydas "notaz" Ignotas
// Free for non-commercial use.
#include "../../PicoInt.h"
#include "compiler.h"

View file

@ -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 A_R4M (1 << 4)

View file

@ -1,5 +1,10 @@
@ vim:filetype=armasm
@ Compiler helper functions and some SVP HLE code
@ (c) Copyright 2008, Grazvydas "notaz" Ignotas
@ Free for non-commercial use.
.if 0
#include "compiler.h"
.endif