2 * Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
4 * (c) Copyright 1996 - 2001 Gary Henderson (gary.henderson@ntlworld.com) and
5 * Jerremy Koot (jkoot@snes9x.com)
7 * Super FX C emulator code
8 * (c) Copyright 1997 - 1999 Ivar (ivar@snes9x.com) and
10 * Super FX assembler emulator code (c) Copyright 1998 zsKnight and _Demo_.
12 * DSP1 emulator code (c) Copyright 1998 Ivar, _Demo_ and Gary Henderson.
13 * C4 asm and some C emulation code (c) Copyright 2000 zsKnight and _Demo_.
14 * C4 C code (c) Copyright 2001 Gary Henderson (gary.henderson@ntlworld.com).
16 * DOS port code contains the works of other authors. See headers in
19 * Snes9x homepage: http://www.snes9x.com
21 * Permission to use, copy, modify and distribute Snes9x in both binary and
22 * source form, for non-commercial purposes, is hereby granted without fee,
23 * providing that this license information and copyright notice appear with
24 * all copies and any derived work.
26 * This software is provided 'as-is', without any express or implied
27 * warranty. In no event shall the authors be held liable for any damages
28 * arising from the use of this software.
30 * Snes9x is freeware for PERSONAL USE only. Commercial users should
31 * seek permission of the copyright holders first. Commercial use includes
32 * charging money for Snes9x or software derived from Snes9x.
34 * The copyright holders request that bug fixes and improvements to the code
35 * should be forwarded to them so everyone can benefit from the modifications
38 * Super NES and Super Nintendo Entertainment System are trademarks of
39 * Nintendo Co., Limited and its subsidiary companies.
44 void DrawTile (uint32 Tile, uint32 Offset, uint32 StartLine,
46 void DrawClippedTile (uint32 Tile, uint32 Offset,
47 uint32 StartPixel, uint32 Width,
48 uint32 StartLine, uint32 LineCount);
49 void DrawTilex2 (uint32 Tile, uint32 Offset, uint32 StartLine,
51 void DrawClippedTilex2 (uint32 Tile, uint32 Offset,
52 uint32 StartPixel, uint32 Width,
53 uint32 StartLine, uint32 LineCount);
54 void DrawTilex2x2 (uint32 Tile, uint32 Offset, uint32 StartLine,
56 void DrawClippedTilex2x2 (uint32 Tile, uint32 Offset,
57 uint32 StartPixel, uint32 Width,
58 uint32 StartLine, uint32 LineCount);
59 void DrawLargePixel (uint32 Tile, uint32 Offset,
60 uint32 StartPixel, uint32 Pixels,
61 uint32 StartLine, uint32 LineCount);
63 void DrawTile16 (uint32 Tile, uint32 Offset, uint32 StartLine,
65 void DrawClippedTile16 (uint32 Tile, uint32 Offset,
66 uint32 StartPixel, uint32 Width,
67 uint32 StartLine, uint32 LineCount);
68 void DrawTile16x2 (uint32 Tile, uint32 Offset, uint32 StartLine,
70 void DrawClippedTile16x2 (uint32 Tile, uint32 Offset,
71 uint32 StartPixel, uint32 Width,
72 uint32 StartLine, uint32 LineCount);
73 void DrawTile16x2x2 (uint32 Tile, uint32 Offset, uint32 StartLine,
75 void DrawClippedTile16x2x2 (uint32 Tile, uint32 Offset,
76 uint32 StartPixel, uint32 Width,
77 uint32 StartLine, uint32 LineCount);
78 void DrawLargePixel16 (uint32 Tile, uint32 Offset,
79 uint32 StartPixel, uint32 Pixels,
80 uint32 StartLine, uint32 LineCount);
82 void DrawTile16Add (uint32 Tile, uint32 Offset, uint32 StartLine,
85 void DrawClippedTile16Add (uint32 Tile, uint32 Offset,
86 uint32 StartPixel, uint32 Width,
87 uint32 StartLine, uint32 LineCount);
89 void DrawTile16Add1_2 (uint32 Tile, uint32 Offset, uint32 StartLine,
92 void DrawClippedTile16Add1_2 (uint32 Tile, uint32 Offset,
93 uint32 StartPixel, uint32 Width,
94 uint32 StartLine, uint32 LineCount);
96 void DrawTile16FixedAdd1_2 (uint32 Tile, uint32 Offset, uint32 StartLine,
99 void DrawClippedTile16FixedAdd1_2 (uint32 Tile, uint32 Offset,
100 uint32 StartPixel, uint32 Width,
101 uint32 StartLine, uint32 LineCount);
103 void DrawTile16Sub (uint32 Tile, uint32 Offset, uint32 StartLine,
106 void DrawClippedTile16Sub (uint32 Tile, uint32 Offset,
107 uint32 StartPixel, uint32 Width,
108 uint32 StartLine, uint32 LineCount);
110 void DrawTile16Sub1_2 (uint32 Tile, uint32 Offset, uint32 StartLine,
113 void DrawClippedTile16Sub1_2 (uint32 Tile, uint32 Offset,
114 uint32 StartPixel, uint32 Width,
115 uint32 StartLine, uint32 LineCount);
117 void DrawTile16FixedSub1_2 (uint32 Tile, uint32 Offset, uint32 StartLine,
120 void DrawClippedTile16FixedSub1_2 (uint32 Tile, uint32 Offset,
121 uint32 StartPixel, uint32 Width,
122 uint32 StartLine, uint32 LineCount);
124 void DrawLargePixel16Add (uint32 Tile, uint32 Offset,
125 uint32 StartPixel, uint32 Pixels,
126 uint32 StartLine, uint32 LineCount);
128 void DrawLargePixel16Add1_2 (uint32 Tile, uint32 Offset,
129 uint32 StartPixel, uint32 Pixels,
130 uint32 StartLine, uint32 LineCount);
132 void DrawLargePixel16Sub (uint32 Tile, uint32 Offset,
133 uint32 StartPixel, uint32 Pixels,
134 uint32 StartLine, uint32 LineCount);
136 void DrawLargePixel16Sub1_2 (uint32 Tile, uint32 Offset,
137 uint32 StartPixel, uint32 Pixels,
138 uint32 StartLine, uint32 LineCount);
140 void DrawHiResClippedTile16 (uint32 Tile, uint32 Offset,
141 uint32 StartPixel, uint32 Width,
142 uint32 StartLine, uint32 LineCount);
144 void DrawHiResTile16 (uint32 Tile, uint32 Offset,
145 uint32 StartLine, uint32 LineCount);