|
|
| version 1.4, 2004/02/07 21:23:22 | version 1.5, 2005/02/07 14:46:10 |
|---|---|
| Line 5 | Line 5 |
| #include "fontdata.h" | #include "fontdata.h" |
| static void pc88knjcpy1(BYTE *dst, const BYTE *src, int from, int to) { | static void pc88knjcpy1(UINT8 *dst, const UINT8 *src, int from, int to) { |
| int i; | int i; |
| int j; | int j; |
| int k; | int k; |
| const BYTE *p; | const UINT8 *p; |
| BYTE *q; | UINT8 *q; |
| for (i=from; i<to; i++) { | for (i=from; i<to; i++) { |
| q = dst + 0x21000 + (i << 4); | q = dst + 0x21000 + (i << 4); |
| Line 42 const BYTE *p; | Line 42 const BYTE *p; |
| } | } |
| } | } |
| static void pc88knjcpy2(BYTE *dst, const BYTE *src, int from, int to) { | static void pc88knjcpy2(UINT8 *dst, const UINT8 *src, int from, int to) { |
| int i, j, k; | int i, j, k; |
| const BYTE *p; | const UINT8 *p; |
| BYTE *q; | UINT8 *q; |
| for (i=from; i<to; i++) { | for (i=from; i<to; i++) { |
| q = dst + 0x21000 + (i << 4); | q = dst + 0x21000 + (i << 4); |
| Line 78 const BYTE *p; | Line 78 const BYTE *p; |
| } | } |
| } | } |
| BYTE fontpc88_read(const char *filename, BYTE loading) { | UINT8 fontpc88_read(const char *filename, UINT8 loading) { |
| FILEH fh; | FILEH fh; |
| BYTE *work; | UINT8 *work; |
| char fname[MAX_PATH]; | char fname[MAX_PATH]; |
| work = (BYTE *)_MALLOC(0x20000, "pc88font"); | work = (UINT8 *)_MALLOC(0x20000, "pc88font"); |
| if (work == NULL) { | if (work == NULL) { |
| goto fr88_err1; | goto fr88_err1; |
| } | } |