]> git.sur5r.net Git - c128-kasse/blobdiff - src/kasse.c
kasse: allow starting up without a printer
[c128-kasse] / src / kasse.c
index 91b4268c9cd99b59423c48962d0fbd5597688652..d6ffb486c3ed5931eb46dd3956cb9d9b102b514f 100644 (file)
@@ -4,7 +4,6 @@
  * See LICENSE for license information
  *
  */
-#define _IS_KASSE
 #include <stdio.h>
 #include <conio.h>
 #include <stdlib.h>
@@ -21,6 +20,7 @@
 #include "print.h"
 #include "version.h"
 #include "vdc_patch_charset.h"
+#include "globals.h"
 // drucker 4 oder 5
 // graphic 4,0,10
 
@@ -355,6 +355,8 @@ int main(void) {
   char *c;
   char *time;
 
+  init_globals();
+
   videomode(VIDEOMODE_80x25);
 
   /* clock CPU at double the speed (a whopping 2 Mhz!) */