|
|
| version 1.23, 2003/12/01 10:45:45 | version 1.26, 2003/12/04 13:54:28 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "dosio.h" | |
| #include "soundmng.h" | #include "soundmng.h" |
| #include "sysmng.h" | #include "sysmng.h" |
| #include "timemng.h" | #include "timemng.h" |
| Line 31 | Line 32 |
| #include "timing.h" | #include "timing.h" |
| //#include "hostdrv.h" | //#include "hostdrv.h" |
| #include "debugsub.h" | #include "debugsub.h" |
| #include "dosio.h" | |
| const char np2version[] = NP2VER_CORE; | const char np2version[] = NP2VER_CORE; |
| Line 51 | Line 51 |
| 1, 0x82, | 1, 0x82, |
| 0, {0x17, 0x04, 0x1f}, {0x0c, 0x0c, 0x02, 0x10, 0x3f, 0x3f}, | 0, {0x17, 0x04, 0x1f}, {0x0c, 0x0c, 0x02, 0x10, 0x3f, 0x3f}, |
| 1, 80, 0, | 1, 80, 0, |
| {"", ""}, ""}; | {"", ""}, "", ""}; |
| PCCORE pc = { PCBASECLOCK25, | PCCORE pc = { PCBASECLOCK25, |
| 4, | 4, |
| Line 80 static const BYTE msw_default[8] = | Line 80 static const BYTE msw_default[8] = |
| // --------------------------------------------------------------------------- | // --------------------------------------------------------------------------- |
| void getbiospath(char *path, const char *fname, int maxlen) { | |
| const char *p; | |
| p = np2cfg.biospath; | |
| p = np2cfg.biospath; | |
| if (p[0]) { | |
| file_cpyname(path, p, maxlen); | |
| file_setseparator(path, maxlen); | |
| file_catname(path, fname, maxlen); | |
| } | |
| else { | |
| file_cpyname(path, file_getcd(fname), maxlen); | |
| } | |
| } | |
| // ---- | |
| static void setvsyncclock(void) { | static void setvsyncclock(void) { |
| UINT vfp; | UINT vfp; |
| Line 184 static void sound_term(void) { | Line 204 static void sound_term(void) { |
| void pccore_init(void) { | void pccore_init(void) { |
| i286_initialize(); | |
| pal_initlcdtable(); | pal_initlcdtable(); |
| pal_makelcdpal(); | pal_makelcdpal(); |
| pal_makeskiptable(); | pal_makeskiptable(); |