code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* * This file is part of the Scale2x project. * * Copyright (C) 2001, 2002, 2003, 2004 Andrea Mazzoleni * * 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 L...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/scale3x.cpp
C++
gpl2
11,858
/* * This file is part of the Scale2x project. * * Copyright (C) 2003 Andrea Mazzoleni * * 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 * (at...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/scalebit.h
C
gpl2
1,646
my_list = Split(""" args.cpp cheat.cpp config.cpp hq2x.cpp hq3x.cpp scale2x.cpp scale3x.cpp scalebit.cpp vidblit.cpp configSys.cpp nes_ntsc.c """) for x in range(len(my_list)): my_list[x] = 'drivers/common/' + my_list[x] Return('my_list')
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/SConscript
Python
gpl2
242
#ifndef __CONFIGSYS_H #define __CONFIGSYS_H #include <map> #include <string> class Config { private: std::string _dir; std::map<std::string, std::string> _strOptMap; std::map<std::string, int> _intOptMap; std::map<std::string, double> _dblOptMap; std::map<std::string, void (...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/configSys.h
C++
gpl2
2,907
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/vidblit.h
C
gpl2
1,423
#include <iostream> #include <fstream> #include <stdio.h> #include <string.h> #include <stdlib.h> #include "../../types.h" #include "configSys.h" std::string cfgFile = "fceux.cfg"; /** * Add a given option. The option is specified as a short command * line (-f), long command line (--foo), option name (Foo), its ty...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/configSys.cpp
C++
gpl2
16,857
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/cheat.h
C
gpl2
881
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/config.cpp
C++
gpl2
7,539
/* * This file is part of the Scale2x project. * * Copyright (C) 2001, 2002, 2003, 2004 Andrea Mazzoleni * * 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 L...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/scale2x.h
C
gpl2
2,264
// Several parts of this were significantly customized to be compatible with FCEUX input // and output. Drop-in replacement is not an option. /* nes_ntsc 0.2.2. http://www.slack.net/~ant/ */ #include "nes_ntsc.h" /* Copyright (C) 2006-2007 Shay Green. This module is free software; you can redistribute it and/or modi...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/nes_ntsc.c
C
gpl2
9,445
/* * This file is part of the Scale2x project. * * Copyright (C) 2001, 2002, 2003, 2004 Andrea Mazzoleni * * 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 L...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/scale2x.cpp
C++
gpl2
25,269
/* nes_ntsc 0.2.2. http://www.slack.net/~ant/ */ /* Common implementation of NTSC filters */ #include <assert.h> #include <math.h> /* Copyright (C) 2006 Shay Green. This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/nes_ntsc_impl.h
C
gpl2
12,321
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/vidblit.cpp
C++
gpl2
19,865
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/cheat.cpp
C++
gpl2
10,139
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/args.cpp
C++
gpl2
2,805
#ifndef _DRIVERS_CONFIGH typedef struct { char *name; void *ptr; int len; } CFGSTRUCT; void SaveFCEUConfig(const char *filename, const CFGSTRUCT *cfgst); void LoadFCEUConfig(const char *filename, CFGSTRUCT *cfgst); //Macros for building CFGSTRUCT structures. // CFGSTRUCT structure...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/config.h
C
gpl2
1,149
/* NES NTSC video filter */ /* nes_ntsc 0.2.2 */ #ifndef NES_NTSC_H #define NES_NTSC_H #include "nes_ntsc_config.h" #ifdef __cplusplus extern "C" { #endif /* Image parameters, ranging from -1.0 to 1.0. Actual internal values shown in parenthesis and should remain fairly stable in future versions. */ typedef struct...
zyking1987-sjdiuwhiloql
fceu_src/drivers/common/nes_ntsc.h
C
gpl2
8,215
#ifdef _S9XLUA_H #ifndef _FCEULUA_H #define _FCEULUA_H enum LuaCallID { LUACALL_BEFOREEMULATION, LUACALL_AFTEREMULATION, LUACALL_BEFOREEXIT, LUACALL_BEFORESAVE, LUACALL_AFTERLOAD, LUACALL_COUNT }; extern void CallRegisteredLuaFunctions(LuaCallID calltype); enum LuaMemHookType { LUAMEMHOOK_WRITE, LUAMEMHOOK_R...
zyking1987-sjdiuwhiloql
fceu_src/fceulua.h
C++
gpl2
2,463
void FCEU_VSUniPower(void); void FCEU_VSUniCheck(uint64 md5partial, int *, uint8 *); void FCEU_VSUniDraw(uint8 *XBuf); void FCEU_VSUniToggleDIP(int); /* For movies and netplay */ void FCEU_VSUniCoin(void); void FCEU_VSUniSwap(uint8 *j0, uint8 *j1);
zyking1987-sjdiuwhiloql
fceu_src/vsuni.h
C
gpl2
258
/* FCEUXD SP - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2005 Sebastian Porst * * 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 ...
zyking1987-sjdiuwhiloql
fceu_src/conddebug.cpp
C++
gpl2
8,599
uint8 *C; register uint8 cc; uint32 vadr; #ifndef PPUT_MMC5SP uint8 zz; #else uint8 xs,ys; xs=X1; ys=((scanline>>3)+MMC5HackSPScroll)&0x1F; if(ys>=0x1E) ys-=0x1E; #endif if(X1>=2) { uint8 *S=PALRAM; uint32 pixdata; pixdata=ppulut1[(pshift[0]>>(8-XOffset))&0xFF]|ppulut2...
zyking1987-sjdiuwhiloql
fceu_src/pputile.inc
C++
gpl2
2,153
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/x6502.cpp
C++
gpl2
14,228
#ifndef _OLDMOVIE_H_ #define _OLDMOVIE_H_ #include "movie.h" enum EFCM_CONVERTRESULT { FCM_CONVERTRESULT_SUCCESS, FCM_CONVERTRESULT_FAILOPEN, FCM_CONVERTRESULT_OLDVERSION, FCM_CONVERTRESULT_UNSUPPORTEDVERSION, FCM_CONVERTRESULT_STARTFROMSAVESTATENOTSUPPORTED, }; inline const char * EFCM_CONVERTRES...
zyking1987-sjdiuwhiloql
fceu_src/oldmovie.h
C++
gpl2
717
#ifndef __DRIVER_H_ #define __DRIVER_H_ #include <stdio.h> #include <string> #include <iosfwd> #include "types.h" #include "git.h" #include "file.h" FILE *FCEUD_UTF8fopen(const char *fn, const char *mode); inline FILE *FCEUD_UTF8fopen(const std::string &n, const char *mode) { return FCEUD_UTF8fopen(n.c_s...
zyking1987-sjdiuwhiloql
fceu_src/driver.h
C++
gpl2
12,732
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/sound.h
C
gpl2
2,448
/* 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-sjdiuwhiloql
fceu_src/state.cpp
C++
gpl2
30,329
file_list = Split(""" asm.cpp cart.cpp cheat.cpp conddebug.cpp config.cpp debug.cpp drawing.cpp emufile.cpp fceu.cpp fds.cpp file.cpp filter.cpp ines.cpp input.cpp netplay.cpp nsf.cpp oldmovie.cpp palette.cpp ppu.cpp sound.cpp state.cpp unif.cpp video.cpp vsuni.cpp wave.cpp x6502.cpp movie.cpp """) subdirs = Split("...
zyking1987-sjdiuwhiloql
fceu_src/SConscript
Python
gpl2
955
#ifndef NSF_H #define NSF_H /* 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 Foundat...
zyking1987-sjdiuwhiloql
fceu_src/nsf.h
C
gpl2
1,926
typedef struct { /* Set by mapper/board code: */ void (*Power)(void); void (*Reset)(void); void (*Close)(void); uint8 *SaveGame[4]; /* Pointers to memory to save/load. */ uint32 SaveGameLen[4]; /* How much memory to save/load. */ /* Set by iNES/UNIF loading code. */ int mirror; /* As set in the...
zyking1987-sjdiuwhiloql
fceu_src/cart.h
C
gpl2
2,951
/* 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, or * (at...
zyking1987-sjdiuwhiloql
fceu_src/cart.cpp
C++
gpl2
12,649
#include "../types.h" #include "../input.h" #include "../fceu.h" #include "../ppu.h" #include "../x6502.h" #include "../palette.h" void FCEU_DrawCursor(uint8 *buf, int xc, int yc); void FCEU_DrawGunSight(uint8 *buf, int xc, int yc);
zyking1987-sjdiuwhiloql
fceu_src/input/share.h
C
gpl2
243
#ifndef _ZAPPER_H_ #define _ZAPPER_H_ #include "../types.h" struct ZAPPER { uint32 mzx,mzy,mzb; int zap_readbit; uint8 bogo; int zappo; uint64 zaphit; uint32 lastInput; }; #endif
zyking1987-sjdiuwhiloql
fceu_src/input/zapper.h
C
gpl2
207
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/ftrainer.cpp
C++
gpl2
1,734
/* 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-sjdiuwhiloql
fceu_src/input/zapper.cpp
C++
gpl2
4,674
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/toprider.cpp
C++
gpl2
1,427
#include <string.h> #include "share.h" #include "suborkb.h" #define AK2(x,y) ( (FKB_##x) | (FKB_##y <<8) ) #define AK(x) FKB_##x static uint8 bufit[0x61]; static uint8 ksmode; static uint8 ksindex; static uint16 matrix[13][2][4]= { {{AK(4),AK(G),AK(F),AK(C)}, {AK(F2),AK(E),AK(5),AK(V)}}, {...
zyking1987-sjdiuwhiloql
fceu_src/input/suborkb.cpp
C++
gpl2
2,113
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/bworld.cpp
C++
gpl2
1,819
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/shadow.cpp
C++
gpl2
3,032
my_list = Split(""" arkanoid.cpp bworld.cpp cursor.cpp fkb.cpp ftrainer.cpp hypershot.cpp mahjong.cpp mouse.cpp oekakids.cpp powerpad.cpp quiz.cpp shadow.cpp suborkb.cpp toprider.cpp zapper.cpp """) for x in range(len(my_list)): my_list[x] = 'input/' + my_list[x] Return('my_list')
zyking1987-sjdiuwhiloql
fceu_src/input/SConscript
Python
gpl2
286
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/fkb.cpp
C++
gpl2
2,636
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/hypershot.cpp
C++
gpl2
1,280
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/oekakids.cpp
C++
gpl2
1,996
#include "share.h" static uint8 GunSight[]={ 0,0,0,0,0,0,1,0,0,0,0,0,0, 0,0,0,0,0,0,2,0,0,0,0,0,0, 0,0,0,0,0,0,1,0,0,0,0,0,0, 0,0,0,0,0,0,2,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,3,0,0,0,0,0,0, 1,2,1,2,0,3,3,3,0,2,1,2,1, 0,0,0,0,0,0...
zyking1987-sjdiuwhiloql
fceu_src/input/cursor.cpp
C++
gpl2
1,746
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/arkanoid.cpp
C++
gpl2
2,383
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/mahjong.cpp
C++
gpl2
1,834
#define FKB_F1 0x01 #define FKB_F2 0x02 #define FKB_F3 0x03 #define FKB_F4 0x04 #define FKB_F5 0x05 #define FKB_F6 0x06 #define FKB_F7 0x07 #define FKB_F8 0x08 #define FKB_1 0x0...
zyking1987-sjdiuwhiloql
fceu_src/input/fkb.h
C
gpl2
2,253
#define FKB_ESCAPE 0x01 #define FKB_F1 0x02 #define FKB_F2 0x03 #define FKB_F3 0x04 #define FKB_F4 0x05 #define FKB_F5 0x06 #define FKB_F6 0x07 #define FKB_F7 ...
zyking1987-sjdiuwhiloql
fceu_src/input/suborkb.h
C
gpl2
3,834
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/powerpad.cpp
C++
gpl2
2,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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/mouse.cpp
C++
gpl2
1,981
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/input/quiz.cpp
C++
gpl2
1,690
#ifndef _DEBUG_H_ #define _DEBUG_H_ #include "conddebug.h" #include "git.h" #include "nsf.h" //watchpoint stuffs #define WP_E 0x01 //watchpoint, enable #define WP_W 0x02 //watchpoint, write #define WP_R 0x04 //watchpoint, read #define WP_X 0x08 //watchpoint, execute #define WP_...
zyking1987-sjdiuwhiloql
fceu_src/debug.h
C++
gpl2
5,261
/* Copyright (C) 2005 Guillaume Duhamel Copyright (C) 2008-2009 DeSmuME team This file is part of DeSmuME DeSmuME 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 ...
zyking1987-sjdiuwhiloql
fceu_src/types-des.h
C++
gpl2
11,697
void FCEU_CheatResetRAM(void); void FCEU_CheatAddRAM(int s, uint32 A, uint8 *p); void FCEU_LoadGameCheats(FILE *override); void FCEU_FlushGameCheats(FILE *override, int nosave); void FCEU_ApplyPeriodicCheats(void); void FCEU_PowerCheats(void); int FCEU_CheatGetByte(uint32 A); void FCEU_CheatSetByte(uint32 A,...
zyking1987-sjdiuwhiloql
fceu_src/cheat.h
C
gpl2
332
#include "types.h" #include "fceu.h" #include "drawing.h" #include "video.h" #include "movie.h" #include "driver.h" static uint8 Font6x7[792] = { 6, 0, 0, 0, 0, 0, 0, 0, 3, 64, 64, 64, 64, 64, 0, 64, 5, 80, 80, 80, 0, 0, 0, 0, 6, 80, 80,248, 80,248, 80, 80, 6, 32,120,160,112, 40,240, 32, ...
zyking1987-sjdiuwhiloql
fceu_src/drawing.cpp
C++
gpl2
23,388
/* 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-sjdiuwhiloql
fceu_src/input.cpp
C++
gpl2
32,856
/// \file /// \brief Contains methods related to the build configuration #include <string.h> #include <stdio.h> #include <stdlib.h> #include "types.h" #include "version.h" #include "fceu.h" #include "driver.h" #include "utils/memory.h" static char *aboutString = 0; ///returns a string suitable for us...
zyking1987-sjdiuwhiloql
fceu_src/config.cpp
C++
gpl2
1,434
{ 0xecf78d8a13a030a6LL, "Ai Sensei no Oshiete", INESB_HACKED }, { 0x10f90ba5bd55c22eLL, "Alien Syndrome", INESB_HACKED }, { 0x4712856d3e12f21fLL, "Akumajou Densetsu", INESB_HACKED }, { 0x0d69ab3ad28ad1c2LL, "Banana", INESB_INCOMPLETE }, { 0x85d2c348a161cdbfLL, "Bio Senshi Dan", INESB_HACKED }, { 0x18fdb7c16aa8cb5cLL, "...
zyking1987-sjdiuwhiloql
fceu_src/ines-bad.h
C
gpl2
2,161
int InitNetplay(void); void NetplayUpdate(uint8 *joyp); extern int FCEUnetplay; #define FCEUNPCMD_RESET 0x01 #define FCEUNPCMD_POWER 0x02 #define FCEUNPCMD_VSUNICOIN 0x07 #define FCEUNPCMD_VSUNIDIP0 0x08 #define FCEUNPCMD_FDSINSERTx 0x10 #define FCEUNPCMD_FDSINSERT 0x18 //#define FCEUNPCMD_FDSEJE...
zyking1987-sjdiuwhiloql
fceu_src/netplay.h
C
gpl2
627
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/x6502.h
C
gpl2
2,473
/* 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-sjdiuwhiloql
fceu_src/video.cpp
C++
gpl2
18,262
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2001 Aaron Oneal * 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 Fou...
zyking1987-sjdiuwhiloql
fceu_src/version.h
C
gpl2
2,136
/// \file /// \brief 6502 assembler and disassembler #include <string.h> #include <stdlib.h> #include <stdio.h> #include "types.h" #include "utils/xstring.h" #include "debug.h" #include "asm.h" #include "x6502.h" ///assembles the string to an instruction located at addr, storing opcodes in output buffer ...
zyking1987-sjdiuwhiloql
fceu_src/asm.cpp
C++
gpl2
19,726
#ifdef _USE_FCEU_LUA_ENGINE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <zlib.h> #include <assert.h> #include <vector> #include <map> #include <string> #include <algorithm> #include <stdlib.h> #include <math.h> #ifdef __linux #include <unistd.h> #define Set...
zyking1987-sjdiuwhiloql
fceu_src/lua-engine.cpp
C++
gpl2
154,458
int FCEU_InitVirtualVideo(void); void FCEU_KillVirtualVideo(void); int SaveSnapshot(void); int SaveSnapshot(char[]); uint32 GetScreenPixel(int x, int y, bool usebackup); int GetScreenPixelPalette(int x, int y, bool usebackup); extern uint8 *XBuf; extern uint8 *XBackBuf; extern int ClipSidesOffset; extern struc...
zyking1987-sjdiuwhiloql
fceu_src/video.h
C++
gpl2
819
/* 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-sjdiuwhiloql
fceu_src/fds.cpp
C++
gpl2
18,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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/state.h
C
gpl2
2,969
/// \file /// \brief Sound filtering code #include <math.h> #include <stdio.h> #include "types.h" #include "sound.h" #include "x6502.h" #include "fceu.h" #include "filter.h" #include "fcoeffs.h" static int32 sq2coeffs[SQ2NCOEFFS]; static int32 coeffs[NCOEFFS]; static uint32 mrindex; static uint32...
zyking1987-sjdiuwhiloql
fceu_src/filter.cpp
C++
gpl2
4,682
/* Copyright (C) 2009-2010 DeSmuME team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
zyking1987-sjdiuwhiloql
fceu_src/emufile.cpp
C++
gpl2
4,745
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 1998 BERO * 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...
zyking1987-sjdiuwhiloql
fceu_src/ppu.cpp
C++
gpl2
63,276
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/file.cpp
C++
gpl2
18,936
#ifndef __MOVIE_H_ #define __MOVIE_H_ #include <vector> #include <map> #include <string> #include <ostream> #include <stdlib.h> #include "input/zapper.h" #include "utils/guid.h" #include "utils/md5.h" struct FCEUFILE; enum EMOVIE_FLAG { MOVIE_FLAG_NONE = 0, //an ARCHAIC flag which means the mo...
zyking1987-sjdiuwhiloql
fceu_src/movie.h
C++
gpl2
7,680
#ifndef _FCEUH #define _FCEUH extern int fceuindbg; extern int newppu; void ResetGameLoaded(void); #define DECLFR(x) uint8 x (uint32 A) #define DECLFW(x) void x (uint32 A, uint8 V) void FCEU_MemoryRand(uint8 *ptr, uint32 size); void SetReadHandler(int32 start, int32 end, readfunc func); void SetWriteHand...
zyking1987-sjdiuwhiloql
fceu_src/fceu.h
C
gpl2
3,499
/* 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-sjdiuwhiloql
fceu_src/unif.cpp
C++
gpl2
13,653
#ifndef EMUFILE_TYPES_H #define EMUFILE_TYPES_H #include "types.h" typedef uint8 u8; typedef uint16 u16; typedef uint32 u32; typedef uint64 u64; typedef int8 s8; typedef int16 s16; typedef int32 s32; typedef int64 s64; #endif //EMUFILE_TYPES_H
zyking1987-sjdiuwhiloql
fceu_src/emufile_types.h
C
gpl2
264
/* 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-sjdiuwhiloql
fceu_src/nsf.cpp
C++
gpl2
14,656
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002,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 Lice...
zyking1987-sjdiuwhiloql
fceu_src/palette.cpp
C++
gpl2
7,800
void FCEUPPU_Init(void); void FCEUPPU_Reset(void); void FCEUPPU_Power(void); int FCEUPPU_Loop(int skip); void FCEUPPU_LineUpdate(); void FCEUPPU_SetVideoSystem(int w); extern void (*PPU_hook)(uint32 A); extern void (*GameHBIRQHook)(void), (*GameHBIRQHook2)(void); /* For cart.c and banksw.h, mostly */ ext...
zyking1987-sjdiuwhiloql
fceu_src/ppu.h
C
gpl2
1,064
/* * Copyright 2001-2004 Unicode, Inc. * * Disclaimer * * This source code is provided as is by Unicode, Inc. No claims are * made as to fitness for any particular purpose. No warranties of any * kind are expressed or implied. The recipient agrees to determine * applicability of information provided. If this ...
zyking1987-sjdiuwhiloql
fceu_src/utils/ConvertUTF.h
C
gpl2
5,941
#ifndef _VALUEARRAY_H_ #define _VALUEARRAY_H_ template<typename T, int N> struct ValueArray { T data[N]; T &operator[](int index) { return data[index]; } static const int size = N; bool operator!=(ValueArray<T,N> &other) { return !operator==(other); } bool operator==(ValueArray<T,N> &other) { for(i...
zyking1987-sjdiuwhiloql
fceu_src/utils/valuearray.h
C++
gpl2
423
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/utils/memory.cpp
C++
gpl2
2,488
/* * Copyright 2001-2004 Unicode, Inc. * * Disclaimer * * This source code is provided as is by Unicode, Inc. No claims are * made as to fitness for any particular purpose. No warranties of any * kind are expressed or implied. The recipient agrees to determine * applicability of information provided. If this ...
zyking1987-sjdiuwhiloql
fceu_src/utils/ConvertUTF.c
C
gpl2
19,067
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/utils/memory.h
C
gpl2
1,345
#ifndef _guid_h_ #define _guid_h_ #include <string> #include "../types.h" #include "valuearray.h" struct FCEU_Guid : public ValueArray<uint8,16> { void newGuid(); std::string toString(); static FCEU_Guid fromString(std::string str); static uint8 hexToByte(char** ptrptr); void scan(std::string& str);...
zyking1987-sjdiuwhiloql
fceu_src/utils/guid.h
C++
gpl2
338
extern uint32 uppow2(uint32 n);
zyking1987-sjdiuwhiloql
fceu_src/utils/general.h
C
gpl2
37
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/utils/general.cpp
C++
gpl2
1,089
/* Extended string routines * * Copyright notice for this file: * Copyright (C) 2004 Jason Oster (Parasyte) * * 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 t...
zyking1987-sjdiuwhiloql
fceu_src/utils/xstring.cpp
C++
gpl2
22,535
my_list = Split(""" crc32.cpp endian.cpp general.cpp guid.cpp md5.cpp memory.cpp unzip.cpp xstring.cpp """) for x in range(len(my_list)): my_list[x] = 'utils/' + my_list[x] Return('my_list')
zyking1987-sjdiuwhiloql
fceu_src/utils/SConscript
Python
gpl2
196
#ifndef _MD5_H #define _MD5_H #include "../types.h" #include "valuearray.h" struct md5_context { uint32 total[2]; uint32 state[4]; uint8 buffer[64]; }; typedef ValueArray<uint8,16> MD5DATA; void md5_starts( struct md5_context *ctx ); void md5_update( struct md5_context *ctx, uint8 *input...
zyking1987-sjdiuwhiloql
fceu_src/utils/md5.h
C
gpl2
519
#include "guid.h" #include <stdlib.h> #include <cctype> void FCEU_Guid::newGuid() { for(int i=0;i<size;i++) data[i] = rand(); } std::string FCEU_Guid::toString() { char buf[37]; sprintf(buf,"%08X-%04X-%04X-%04X-%02X%02X%02X%02X%02X%02X", FCEU_de32lsb(data),FCEU_de16lsb(data+4),FCEU_de16lsb(data+6...
zyking1987-sjdiuwhiloql
fceu_src/utils/guid.cpp
C++
gpl2
1,171
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/utils/crc32.cpp
C++
gpl2
1,099
/* unzip.c -- IO on .zip files using zlib Version 0.15 beta, Mar 19th, 1998, Read unzip.h for more info */ #include <string> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "zlib.h" #include "unzip.h" #ifdef STDC # include <stddef.h> # include <string.h> # include <stdli...
zyking1987-sjdiuwhiloql
fceu_src/utils/unzip.cpp
C++
gpl2
35,265
#ifndef __FCEU_ENDIAN #define __FCEU_ENDIAN #include <iosfwd> #include <stdio.h> #include "../types.h" #include "../emufile.h" class EMUFILE; inline uint64 double_to_u64(double d) { union { uint64 a; double b; } fuxor; fuxor.b = d; return fuxor.a; } inline double u64_to_double(uint64 u) {...
zyking1987-sjdiuwhiloql
fceu_src/utils/endian.h
C++
gpl2
2,870
/* unzip.h -- IO for uncompress .zip files using zlib Version 0.15 beta, Mar 19th, 1998, Copyright (C) 1998 Gilles Vollant This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g WinZip, InfoZip tools and compatible. Encryption and multi volume ZipFile (span) are not...
zyking1987-sjdiuwhiloql
fceu_src/utils/unzip.h
C
gpl2
10,248
uint32 CalcCRC32(uint32 crc, uint8 *buf, uint32 len);
zyking1987-sjdiuwhiloql
fceu_src/utils/crc32.h
C
gpl2
55
/* 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-sjdiuwhiloql
fceu_src/utils/endian.cpp
C++
gpl2
7,188
/* Extended string routines * * Copyright notice for this file: * Copyright (C) 2004 Jason Oster (Parasyte) * * 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 t...
zyking1987-sjdiuwhiloql
fceu_src/utils/xstring.h
C++
gpl2
3,748
/// \file /// \brief RFC 1321 compliant MD5 implementation, /// RFC 1321 compliant MD5 implementation, /// by Christophe Devine <devine@cr0.net>; /// this program is licensed under the GPL. //Modified October 3, 2003, to remove testing code, and add include of "types.h". //Added simple MD5 to ASCII string conve...
zyking1987-sjdiuwhiloql
fceu_src/utils/md5.cpp
C++
gpl2
7,171
/* 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 Lic...
zyking1987-sjdiuwhiloql
fceu_src/sound.cpp
C++
gpl2
30,735
/* 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-sjdiuwhiloql
fceu_src/cheat.cpp
C++
gpl2
18,437
int32 NeoFilterSound(int32 *in, int32 *out, uint32 inlen, int32 *leftover); void MakeFilters(int32 rate); void SexyFilter(int32 *in, int32 *out, int32 count);
zyking1987-sjdiuwhiloql
fceu_src/filter.h
C
gpl2
162