diff src/v09.c @ 61:80f4ec9a3420

fix writeln chdir don't touch the path descriptor contents
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 25 Jul 2018 20:05:06 +0900
parents 2088fd998865
children 41f14f365b34
line wrap: on
line diff
--- a/src/v09.c	Tue Jul 24 17:04:46 2018 +0900
+++ b/src/v09.c	Wed Jul 25 20:05:06 2018 +0900
@@ -158,7 +158,7 @@
      tracing=1;attention=1;    
    } else if (strcmp(argv[i],"-rom")==0) {
      i++;
-     timer = 0;         // non standard rom image, don't start timer
+     timer = 3;         // non standard rom image, don't start timer, and timder start call enabled
      timerirq = 1 ;     // os9 cannot handle FIRQ
      romfile = argv[i];
 
@@ -182,7 +182,7 @@
      romstart=strtol(argv[i],(char**)0,0);
    } else if (strcmp(argv[i],"-nt")==0) {  // start debugger at the start
      attention = escape = 1;
-     timer = 0;   // no timer
+     timer = 1;   // desable default  timer interrupt and don't start timer on timer start IO 
    } else if (strcmp(argv[i],"-m")==0) {
      i++;
      memsize=strtol(argv[i],(char**)0,0) & ~0xffff;