code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/8.cpp
C++
gpl2
1,046
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/76.cpp
C++
gpl2
1,682
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or ...
zyking1987-zhsy
fceu_src/mappers/244.cpp
C++
gpl2
1,135
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 1998 BERO * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either...
zyking1987-zhsy
fceu_src/mappers/simple.cpp
C++
gpl2
2,535
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Licen...
zyking1987-zhsy
fceu_src/mappers/204.cpp
C++
gpl2
1,204
#ifndef _EMUTYPES_H_ #define _EMUTYPES_H_ #ifndef INLINE #if defined(_MSC_VER) #define INLINE __forceinline #elif defined(__GNUC__) #define INLINE __inline__ #elif defined(_MWERKS_) #define INLINE inline #else #define INLINE #endif #endif #if defined(EMU_DLL_IMPORTS) #define EMU2149_DLL_IMPORTS #define EMU2212_DLL_I...
zyking1987-zhsy
fceu_src/mappers/emutypes.h
C
gpl2
741
#include "../types.h" #include "../x6502.h" #include "../fceu.h" #include "../ppu.h" #define INESPRIV #include "../cart.h" #include "../ines.h" #include "../utils/memory.h" #include "../sound.h" #include "../state.h"
zyking1987-zhsy
fceu_src/mappers/mapinc.h
C
gpl2
218
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/97.cpp
C++
gpl2
1,116
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/50.cpp
C++
gpl2
1,632
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/228.cpp
C++
gpl2
1,924
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License,...
zyking1987-zhsy
fceu_src/mappers/231.cpp
C++
gpl2
1,162
#include "mapinc.h" static DECLFW(Mapper214_write) { // FCEU_printf("%02x:%02x\n",A,V); ROM_BANK16(0x8000,(A>>2)&3); ROM_BANK16(0xC000,(A>>2)&3); VROM_BANK8(A&3); } void Mapper214_init(void) { ROM_BANK16(0x8000,0); ROM_BANK16(0xC000,0); VROM_BANK8(0); SetWriteHandler(0x8000,0xFFFF,Mapper214_writ...
zyking1987-zhsy
fceu_src/mappers/214.cpp
C++
gpl2
328
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/77.cpp
C++
gpl2
1,382
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/80.cpp
C++
gpl2
2,396
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/41.cpp
C++
gpl2
1,359
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/72.cpp
C++
gpl2
1,044
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 1998 BERO * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either...
zyking1987-zhsy
fceu_src/mappers/16.cpp
C++
gpl2
7,561
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/65.cpp
C++
gpl2
2,182
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/32.cpp
C++
gpl2
1,571
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/89.cpp
C++
gpl2
1,047
#include "mapinc.h" static DECLFW(M241wr) { // FCEU_printf("Wr: $%04x:$%02x, $%04x\n",A,V,X.PC); if(A<0x8000) { // printf("$%04x:$%02x, $%04x\n",A,V,X.PC); } else ROM_BANK32(V); } static DECLFR(M241rd) { //DumpMem("out",0x8000,0xffff); //printf("Rd: $%04x, $%04x\n",A,X.PC); return(0x50); } void Mapper241_i...
zyking1987-zhsy
fceu_src/mappers/241.cpp
C++
gpl2
469
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/202.cpp
C++
gpl2
1,156
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/232.cpp
C++
gpl2
1,306
#include "mapinc.h" static DECLFW(Mapper213_write) { ROM_BANK32((A>>1)&3); VROM_BANK8((A>>3)&7); } void Mapper213_init(void) { ROM_BANK32(0); VROM_BANK8(0); SetWriteHandler(0x8000,0xFFFF,Mapper213_write); }
zyking1987-zhsy
fceu_src/mappers/213.cpp
C++
gpl2
228
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or ...
zyking1987-zhsy
fceu_src/mappers/60.cpp
C++
gpl2
1,180
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, ...
zyking1987-zhsy
fceu_src/mappers/91.cpp
C++
gpl2
1,589
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or ...
zyking1987-zhsy
fceu_src/mappers/230.cpp
C++
gpl2
1,810
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/86.cpp
C++
gpl2
1,148
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/151.cpp
C++
gpl2
1,191
my_list = Split(""" 151.cpp 16.cpp 17.cpp 18.cpp 193.cpp 201.cpp 202.cpp 203.cpp 204.cpp 212.cpp 213.cpp 214.cpp 215.cpp 217.cpp 21.cpp 225.cpp 227.cpp 228.cpp 229.cpp 22.cpp 230.cpp 231.cpp 232.cpp 234.cpp 241.cpp 242.cpp 244.cpp 246.cpp 24and26.cpp 255.cpp 25.cpp 27.cpp 32.cpp 33.cpp 40.cpp 41.cpp 42.cpp 46.cpp 50....
zyking1987-zhsy
fceu_src/mappers/SConscript
Python
gpl2
638
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/229.cpp
C++
gpl2
1,120
/* VRC7 instruments, January 17, 2004 update -Xodnizel */ {0x03, 0x21, 0x04, 0x06, 0x8D, 0xF2, 0x42, 0x17}, {0x13, 0x41, 0x05, 0x0E, 0x99, 0x96, 0x63, 0x12}, {0x31, 0x11, 0x10, 0x0A, 0xF0, 0x9C, 0x32, 0x02}, {0x21, 0x61, 0x1D, 0x07, 0x9F, 0x64, 0x20, 0x27}, {0x22, 0x21, 0x1E,...
zyking1987-zhsy
fceu_src/mappers/vrc7tone.h
C
gpl2
941
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/85.cpp
C++
gpl2
4,393
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/46.cpp
C++
gpl2
1,321
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or ...
zyking1987-zhsy
fceu_src/mappers/62.cpp
C++
gpl2
1,224
#ifndef _EMU2413_H_ #define _EMU2413_H_ #include "emutypes.h" #ifdef EMU2413_DLL_EXPORTS #define EMU2413_API __declspec(dllexport) #elif defined(EMU2413_DLL_IMPORTS) #define EMU2413_API __declspec(dllimport) #else #define EMU2413_API #endif #ifdef __cplusplus extern "C" { #endif #define PI 3.14159265358979323...
zyking1987-zhsy
fceu_src/mappers/emu2413.h
C
gpl2
2,848
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/69.cpp
C++
gpl2
5,854
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/59.cpp
C++
gpl2
1,270
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/40.cpp
C++
gpl2
1,460
#include "mapinc.h" static DECLFW(Mapper212_write) { if((A&0x4000)==0x4000) { ROM_BANK32((A&6)>>1); } else { ROM_BANK16(0x8000,A&7); ROM_BANK16(0xc000,A&7); } VROM_BANK8(A&7); MIRROR_SET((A>>3)&1); } void Mapper212_init(void) { ROM_BANK32(~0); VROM_BANK8(~0); S...
zyking1987-zhsy
fceu_src/mappers/212.cpp
C++
gpl2
371
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/21.cpp
C++
gpl2
3,024
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/92.cpp
C++
gpl2
1,231
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/255.cpp
C++
gpl2
1,724
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/33.cpp
C++
gpl2
2,145
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/227.cpp
C++
gpl2
1,645
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/61.cpp
C++
gpl2
1,456
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/mmc2and4.cpp
C++
gpl2
2,788
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/79.cpp
C++
gpl2
1,139
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/203.cpp
C++
gpl2
1,103
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/42.cpp
C++
gpl2
1,705
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/242.cpp
C++
gpl2
1,140
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/99.cpp
C++
gpl2
1,120
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/17.cpp
C++
gpl2
2,152
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/25.cpp
C++
gpl2
3,304
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/82.cpp
C++
gpl2
1,613
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/67.cpp
C++
gpl2
1,932
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/225.cpp
C++
gpl2
1,968
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or ...
zyking1987-zhsy
fceu_src/mappers/201.cpp
C++
gpl2
1,162
#include "mapinc.h" static uint32 regchr[9]; static DECLFW(Mapper27_write) { int regnum; A&=0xF00F; if((A>=0xB000) && (A<=0xE003)) { regnum=((((A>>12)+1)&0x03)<<1)|((A&0x02)>>1); if(A&1) regchr[regnum]=(regchr[regnum]&0x00F)|(V<<4); else regchr[regnum]=(regchr[regnum]&0x1F0)|...
zyking1987-zhsy
fceu_src/mappers/27.cpp
C++
gpl2
1,952
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/246.cpp
C++
gpl2
1,357
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/22.cpp
C++
gpl2
1,800
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/6.cpp
C++
gpl2
2,497
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/234.cpp
C++
gpl2
1,918
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/24and26.cpp
C++
gpl2
7,591
/* #include "mapinc.h" static uint8 cmdin; static uint8 cmd; static uint8 regs[8]; static uint8 master,chrm; static void DoPRG215(void) { if(master&0x80) { setprg16(0x8000,master&0x1F); setprg16(0xc000,master&0x1F); } else { setprg8(0x8000,regs[4]); 6 setprg8(0xA000,regs[6]); 7 0, 2, 5, 3, 6, 1, 7,...
zyking1987-zhsy
fceu_src/mappers/215.cpp
C++
gpl2
1,590
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/71.cpp
C++
gpl2
1,098
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/75.cpp
C++
gpl2
1,484
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/73.cpp
C++
gpl2
1,646
/* #include "mapinc.h" static uint8 cmdin; static uint8 cmd; static uint8 regs[8]; static uint8 master,chrm; static void DoPRG217(void) { if(master&0x80) { setprg16(0x8000,master&0x1F); setprg16(0xc000,master&0x1F); } else { setprg8(0x8000,regs[1]); setprg8(0xA000,regs[3]); setprg8(0xC000,~1); ...
zyking1987-zhsy
fceu_src/mappers/217.cpp
C++
gpl2
1,637
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/83.cpp
C++
gpl2
3,457
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/51.cpp
C++
gpl2
1,586
/*********************************************************************************** emu2413.c -- YM2413 emulator written by Mitsutaka Okazaki 2001 2001 01-08 : Version 0.10 -- 1st version. 2001 01-15 : Version 0.20 -- semi-public version. 2001 01-16 : Version 0.30 -- 1st public version. 2001 01-17 : Versio...
zyking1987-zhsy
fceu_src/mappers/emu2413.c
C
gpl2
29,597
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/mappers/18.cpp
C++
gpl2
2,256
#include "mapinc.h" static DECLFW(m193w) { //printf("$%04x:$%02x\n",A,V); switch(A&3) { case 0:VROM_BANK4(0x0000,V>>2);break; case 1:VROM_BANK2(0x1000,V>>1);break; case 2:VROM_BANK2(0x1800,V>>1);break; case 3:ROM_BANK8(0x8000,V);break; } } void Mapper193_init(void) { ROM_BANK32(~0); SetWriteHandler(0x4...
zyking1987-zhsy
fceu_src/mappers/193.cpp
C++
gpl2
375
my_list = Split(""" lapi.c lauxlib.c lbaselib.c lcode.c ldblib.c ldebug.c ldo.c ldump.c lfunc.c lgc.c linit.c liolib.c llex.c lmathlib.c lmem.c loadlib.c lobject.c lopcodes.c loslib.c lparser.c lstate.c lstring.c lstrlib.c ltable.c ltablib.c ltm.c lundump.c lvm.c lzio.c print.c """) for ...
zyking1987-zhsy
fceu_src/lua/SConscript
Python
gpl2
403
/* ** $Id: linit.c,v 1.14.1.1 2007/12/27 13:02:25 roberto Exp $ ** Initialization of libraries for lua.c ** See Copyright Notice in lua.h */ #define linit_c #define LUA_LIB #include "lua.h" #include "lualib.h" #include "lauxlib.h" static const luaL_Reg lualibs[] = { {"", luaopen_base}, {LUA_LOADLIBNAME, luaop...
zyking1987-zhsy
fceu_src/lua/src/linit.c
C
gpl2
765
/* ** $Id: lgc.h,v 2.15.1.1 2007/12/27 13:02:25 roberto Exp $ ** Garbage Collector ** See Copyright Notice in lua.h */ #ifndef lgc_h #define lgc_h #include "lobject.h" /* ** Possible states of the Garbage Collector */ #define GCSpause 0 #define GCSpropagate 1 #define GCSsweepstring 2 #define GCSsweep 3 #define GCS...
zyking1987-zhsy
fceu_src/lua/src/lgc.h
C
gpl2
3,159
/* ** $Id: ldo.c,v 2.38.1.3 2008/01/18 22:31:22 roberto Exp $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ #include <setjmp.h> #include <stdlib.h> #include <string.h> #define ldo_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #...
zyking1987-zhsy
fceu_src/lua/src/ldo.c
C
gpl2
14,851
/* ** $Id: luaconf.h,v 1.82.1.7 2008/02/11 16:25:08 roberto Exp $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ #ifndef lconfig_h #define lconfig_h #include <limits.h> #include <stddef.h> /* ** ================================================================== ** Search for "@@" to find all con...
zyking1987-zhsy
fceu_src/lua/src/luaconf.h
C
gpl2
22,299
/* ** $Id: lundump.h,v 1.37.1.1 2007/12/27 13:02:25 roberto Exp $ ** load precompiled Lua chunks ** See Copyright Notice in lua.h */ #ifndef lundump_h #define lundump_h #include "lobject.h" #include "lzio.h" /* load one chunk; from lundump.c */ LUAI_FUNC Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const...
zyking1987-zhsy
fceu_src/lua/src/lundump.h
C
gpl2
890
/* ** $Id: lauxlib.h,v 1.88.1.1 2007/12/27 13:02:25 roberto Exp $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ #ifndef lauxlib_h #define lauxlib_h #include <stddef.h> #include <stdio.h> #include "lua.h" #if defined(LUA_COMPAT_GETN) LUALIB_API int (luaL_getn) (lua_State *L...
zyking1987-zhsy
fceu_src/lua/src/lauxlib.h
C
gpl2
5,777
/* ** $Id: ltable.h,v 2.10.1.1 2007/12/27 13:02:25 roberto Exp $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ #ifndef ltable_h #define ltable_h #include "lobject.h" #define gnode(t,i) (&(t)->node[i]) #define gkey(n) (&(n)->i_key.nk) #define gval(n) (&(n)->i_val) #define gnext(n) ((n)->i_key.nk.next) ...
zyking1987-zhsy
fceu_src/lua/src/ltable.h
C
gpl2
1,184
/* ** $Id: lstring.h,v 1.43.1.1 2007/12/27 13:02:25 roberto Exp $ ** String table (keep all strings handled by Lua) ** See Copyright Notice in lua.h */ #ifndef lstring_h #define lstring_h #include "lgc.h" #include "lobject.h" #include "lstate.h" #define sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char...
zyking1987-zhsy
fceu_src/lua/src/lstring.h
C
gpl2
814
/* ** $Id: lzio.c,v 1.31.1.1 2007/12/27 13:02:25 roberto Exp $ ** a generic input stream interface ** See Copyright Notice in lua.h */ #include <string.h> #define lzio_c #define LUA_CORE #include "lua.h" #include "llimits.h" #include "lmem.h" #include "lstate.h" #include "lzio.h" int luaZ_fill (ZIO *z) { size_...
zyking1987-zhsy
fceu_src/lua/src/lzio.c
C
gpl2
1,628
/* ** $Id: ltm.c,v 2.8.1.1 2007/12/27 13:02:25 roberto Exp $ ** Tag methods ** See Copyright Notice in lua.h */ #include <string.h> #define ltm_c #define LUA_CORE #include "lua.h" #include "lobject.h" #include "lstate.h" #include "lstring.h" #include "ltable.h" #include "ltm.h" const char *const luaT_typenames[...
zyking1987-zhsy
fceu_src/lua/src/ltm.c
C
gpl2
1,650
/* ** $Id: ldo.h,v 2.7.1.1 2007/12/27 13:02:25 roberto Exp $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ #ifndef ldo_h #define ldo_h #include "lobject.h" #include "lstate.h" #include "lzio.h" #define luaD_checkstack(L,n) \ if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(T...
zyking1987-zhsy
fceu_src/lua/src/ldo.h
C
gpl2
1,897
/* ** $Id: ldebug.c,v 2.29.1.6 2008/05/08 16:56:26 roberto Exp $ ** Debug Interface ** See Copyright Notice in lua.h */ #include <stdarg.h> #include <stddef.h> #include <string.h> #define ldebug_c #define LUA_CORE #include "lua.h" #include "lapi.h" #include "lcode.h" #include "ldebug.h" #include "ldo.h" #include ...
zyking1987-zhsy
fceu_src/lua/src/ldebug.c
C
gpl2
16,840
/* ** $Id: ldebug.h,v 2.3.1.1 2007/12/27 13:02:25 roberto Exp $ ** Auxiliary functions from Debug Interface module ** See Copyright Notice in lua.h */ #ifndef ldebug_h #define ldebug_h #include "lstate.h" #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) #define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo...
zyking1987-zhsy
fceu_src/lua/src/ldebug.h
C
gpl2
1,061
/* ** $Id: ltable.c,v 2.32.1.2 2007/12/28 15:32:23 roberto Exp $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ /* ** Implementation of tables (aka arrays, objects, or hash tables). ** Tables keep its elements in two parts: an array part and a hash part. ** Non-negative integer keys are all candidates to be...
zyking1987-zhsy
fceu_src/lua/src/ltable.c
C
gpl2
16,263
/* ** $Id: lobject.c,v 2.22.1.1 2007/12/27 13:02:25 roberto Exp $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lobject_c #define LUA_CORE #include "lua.h" #include "ldo.h" #inc...
zyking1987-zhsy
fceu_src/lua/src/lobject.c
C
gpl2
5,498
/* ** $Id: llimits.h,v 1.69.1.1 2007/12/27 13:02:25 roberto Exp $ ** Limits, basic types, and some other `installation-dependent' definitions ** See Copyright Notice in lua.h */ #ifndef llimits_h #define llimits_h #include <limits.h> #include <stddef.h> #include "lua.h" typedef LUAI_UINT32 lu_int32; typedef LUA...
zyking1987-zhsy
fceu_src/lua/src/llimits.h
C
gpl2
2,349
/* ** $Id: lopcodes.h,v 1.125.1.1 2007/12/27 13:02:25 roberto Exp $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ #ifndef lopcodes_h #define lopcodes_h #include "llimits.h" /*=========================================================================== We assume that instructions are unsign...
zyking1987-zhsy
fceu_src/lua/src/lopcodes.h
C
gpl2
8,086
/* ** $Id: lparser.c,v 2.42.1.3 2007/12/28 15:32:23 roberto Exp $ ** Lua Parser ** See Copyright Notice in lua.h */ #include <string.h> #define lparser_c #define LUA_CORE #include "lua.h" #include "lcode.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "llex.h" #include "lmem.h" #include "lobjec...
zyking1987-zhsy
fceu_src/lua/src/lparser.c
C
gpl2
36,696
/* ** $Id: lobject.h,v 2.20.1.2 2008/08/06 13:29:48 roberto Exp $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ #ifndef lobject_h #define lobject_h #include <stdarg.h> #include "llimits.h" #include "lua.h" /* tags for values visible from Lua */ #define LAST_TAG LUA_TTHREAD #define NUM...
zyking1987-zhsy
fceu_src/lua/src/lobject.h
C
gpl2
8,502
/* ** $Id: lgc.c,v 2.38.1.1 2007/12/27 13:02:25 roberto Exp $ ** Garbage Collector ** See Copyright Notice in lua.h */ #include <string.h> #define lgc_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #include "lmem.h" #include "lobject.h" #include "lstate....
zyking1987-zhsy
fceu_src/lua/src/lgc.c
C
gpl2
20,099
/* ** $Id: print.c,v 1.55a 2006/05/31 13:30:05 lhf Exp $ ** print bytecodes ** See Copyright Notice in lua.h */ #include <ctype.h> #include <stdio.h> #define luac_c #define LUA_CORE #include "ldebug.h" #include "lobject.h" #include "lopcodes.h" #include "lundump.h" #define PrintFunction luaU_print #define Sizeof(x...
zyking1987-zhsy
fceu_src/lua/src/print.c
C
gpl2
4,944
/* ** $Id: lstate.h,v 2.24.1.2 2008/01/03 15:20:39 roberto Exp $ ** Global State ** See Copyright Notice in lua.h */ #ifndef lstate_h #define lstate_h #include "lua.h" #include "lobject.h" #include "ltm.h" #include "lzio.h" struct lua_longjmp; /* defined in ldo.c */ /* table of globals */ #define gt(L) (&L->l_...
zyking1987-zhsy
fceu_src/lua/src/lstate.h
C
gpl2
5,011
/* ** $Id: loadlib.c,v 1.52.1.3 2008/08/06 13:29:28 roberto Exp $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** ** This module contains an implementation of loadlib for Unix systems ** that have dlfcn, an implementation for Darwin (Mac OS X), an ** implementation for Windows, and a stub for othe...
zyking1987-zhsy
fceu_src/lua/src/loadlib.c
C
gpl2
19,216
/* ** $Id: ldblib.c,v 1.104.1.3 2008/01/21 13:11:21 roberto Exp $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define ldblib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include "lualib.h" static int db_getregi...
zyking1987-zhsy
fceu_src/lua/src/ldblib.c
C
gpl2
10,069
/* ** $Id: lvm.c,v 2.63.1.3 2007/12/28 15:32:23 roberto Exp $ ** Lua virtual machine ** See Copyright Notice in lua.h */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define lvm_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #include "lobj...
zyking1987-zhsy
fceu_src/lua/src/lvm.c
C
gpl2
23,126