1 /* FCE Ultra - NES/Famicom Emulator
3 * Copyright notice for this file:
4 * Copyright (C) 1998 Bero
5 * Copyright (C) 2002 Ben Parnell
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 typedef struct __pal {
38 /* Current first and last rendered scanlines. */
42 /* Driver code(user)-specified first and last rendered scanlines.
43 Usr*SLine[0] is for NTSC, Usr*SLine[1] is for PAL.
51 extern FCEUS FSettings;
53 void FCEU_PrintError(char *format, ...);
54 void FCEU_DispMessage(char *format, ...);
55 #define FCEU_printf printf
57 void SetNESDeemph(uint8 d, int force);
58 void DrawTextTrans(uint8 *dest, uint32 width, uint8 *textmsg, uint8 fgcolor);
59 void FCEU_PutImage(void);
61 void FCEU_PutImageDummy(void);
67 void SetNESPalette(void);
76 #define JOY_RIGHT 0x80
80 void DoCommand(uint8 c);
81 extern uint8 CommandQueue;
82 void FCEU_ResetPalette(void);
83 void LoadGamePalette(void);
84 void FlushCommandQueue(void);