Signed-off-by: sparky4 <sparky4@cock.li>
printf("%d: %x:%x\n", i, romFonts[i].seg, romFonts[i].off);\r
}\r
\r
+ printf("*argv[1]=%d\n", *argv[1]);\r
+\r
printf("Character: ");\r
scanf("%c", &c);\r
\r
- if(*argv[1]!=NULL)\r
+ if(*argv[1]!=1)\r
switch(*argv[1])\r
{\r
- case 0:\r
+ case 48:\r
t=0;\r
w=14;\r
break;\r
- case 1:\r
+ case 49:\r
t=1;\r
w=8;\r
break;\r
- case 2:\r
+ case 50:\r
t=2;\r
w=8;\r
break;\r
- case 3:\r
+ case 51:\r
t=3;\r
w=16;\r
break;\r
default:\r
t=3;\r
w=16;\r
+ break;\r
}\r
else\r
{\r