notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge mapper code from FCEUX
[fceu.git]
/
mappers
/
80.c
diff --git
a/mappers/80.c
b/mappers/80.c
index
1e7982e
..
d569fa0
100644
(file)
--- a/
mappers/80.c
+++ b/
mappers/80.c
@@
-15,7
+15,7
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 5
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
*/
#include "mapinc.h"
*/
#include "mapinc.h"
@@
-24,7
+24,7
@@
static uint32 lastA;
static int isfu;
static uint8 CCache[8];
static int isfu;
static uint8 CCache[8];
-static void F
P_FASTAPASS(1) F
udou_PPU(uint32 A)
+static void Fudou_PPU(uint32 A)
{
static int last=-1;
static uint8 z;
{
static int last=-1;
static uint8 z;
@@
-87,7
+87,8
@@
static void booga(int version)
void Mapper80_init(void)
{
void Mapper80_init(void)
{
- SetWriteHandler(0x4020,0x7fff,Mapper80_write);
+ SetWriteHandler(0x4020,0x7eff,Mapper80_write);// 7f00-7fff battery backed ram inside mapper chip,
\r
+ // controlled by 7ef8 register, A8 - enable, FF - disable (?)
\r
MapStateRestore=booga;
isfu=0;
}
MapStateRestore=booga;
isfu=0;
}