projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- VBE banked mode fixes backported from rbench
[dosdemo]
/
src
/
dos
/
main.c
diff --git
a/src/dos/main.c
b/src/dos/main.c
index
566d47e
..
0714297
100644
(file)
--- a/
src/dos/main.c
+++ b/
src/dos/main.c
@@
-8,8
+8,10
@@
#include "logger.h"
#include "cdpmi.h"
#include "audio.h"
#include "logger.h"
#include "cdpmi.h"
#include "audio.h"
+#include "mouse.h"
#include "sball.h"
#include "vmath.h"
#include "sball.h"
#include "vmath.h"
+#include "cpuid.h"
static int handle_sball_event(sball_event *ev);
static void recalc_sball_matrix(float *xform);
static int handle_sball_event(sball_event *ev);
static void recalc_sball_matrix(float *xform);
@@
-40,6
+42,16
@@
int main(int argc, char **argv)
init_logger("demo.log");
init_logger("demo.log");
+#ifdef __WATCOMC__
+ printf("watcom build\n");
+#elif defined(__DJGPP__)
+ printf("djgpp build\n");
+#endif
+
+ if(read_cpuid(&cpuid) == 0) {
+ print_cpuid(&cpuid);
+ }
+
/* au_init needs to be called early, before init_timer, and also before
* we enter graphics mode, to use the midas configuration tool if necessary
*/
/* au_init needs to be called early, before init_timer, and also before
* we enter graphics mode, to use the midas configuration tool if necessary
*/