Mercurial > hg > Members > kono > os9 > sbc09
comparison v09.c @ 1:3c736a81b886
add disk
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 02 Jul 2018 19:07:39 +0900 |
parents | 9a224bd9b45f |
children | 31d96e2b364e |
comparison
equal
deleted
inserted
replaced
0:9a224bd9b45f | 1:3c736a81b886 |
---|---|
111 exit(2); | 111 exit(2); |
112 } | 112 } |
113 tracing=1;attention=1; | 113 tracing=1;attention=1; |
114 } else if (strcmp(argv[i],"-rom")==0) { | 114 } else if (strcmp(argv[i],"-rom")==0) { |
115 i++; | 115 i++; |
116 timer = 0; // non standard rom image, don't start timer | |
116 romfile = argv[i]; | 117 romfile = argv[i]; |
117 } else if (strcmp(argv[i],"-tl")==0) { | 118 } else if (strcmp(argv[i],"-tl")==0) { |
118 i++; | 119 i++; |
119 tracelo=strtol(argv[i],(char**)0,0); | 120 tracelo=strtol(argv[i],(char**)0,0); |
120 } else if (strcmp(argv[i],"-th")==0) { | 121 } else if (strcmp(argv[i],"-th")==0) { |
124 i++; | 125 i++; |
125 escchar=strtol(argv[i],(char**)0,0); | 126 escchar=strtol(argv[i],(char**)0,0); |
126 } else if (strcmp(argv[i],"-l")==0) { | 127 } else if (strcmp(argv[i],"-l")==0) { |
127 i++; | 128 i++; |
128 romstart=strtol(argv[i],(char**)0,0); | 129 romstart=strtol(argv[i],(char**)0,0); |
129 } else if (strcmp(argv[i],"-nt")==0) { | 130 } else if (strcmp(argv[i],"-nt")==0) { // start debugger at the start |
130 attention = escape = 1; | 131 attention = escape = 1; |
131 timer = 0; | 132 timer = 0; // no timer |
132 } else usage(); | 133 } else usage(); |
133 } | 134 } |
134 #ifdef MSDOS | 135 #ifdef MSDOS |
135 if((mem=farmalloc(65535))==0) { | 136 if((mem=farmalloc(65535))==0) { |
136 fprintf(stderr,"Not enough memory\n"); | 137 fprintf(stderr,"Not enough memory\n"); |