|
|
| version 1.2, 2003/11/15 07:10:02 | version 1.4, 2004/02/07 21:23:22 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "dosio.h" | #include "dosio.h" |
| #include "memory.h" | #include "cpucore.h" |
| #include "font.h" | #include "font.h" |
| #include "fontdata.h" | #include "fontdata.h" |
| Line 86 BYTE fontfm7_read(const char *filename, | Line 86 BYTE fontfm7_read(const char *filename, |
| if (fh != FILEH_INVALID) { | if (fh != FILEH_INVALID) { |
| if (file_read(fh, work, 2048) == 2048) { | if (file_read(fh, work, 2048) == 2048) { |
| loading &= ~FONT_ANK8; | loading &= ~FONT_ANK8; |
| CopyMemory(fontrom + 0x82100, work + 0x100, 0x60*8); | fontdata_ank8store(work + 0x100, 0x20, 0x60); |
| CopyMemory(fontrom + 0x82500, work + 0x500, 0x40*8); | fontdata_ank8store(work + 0x500, 0xa0, 0x40); |
| } | } |
| file_close(fh); | file_close(fh); |
| } | } |