.だけに発見: 20061230.diff diff -ud ../../47org/src/Option.c ./Option.c --- ../../47org/src/Option.c 2004-01-18 23:20:10.000000000 +0900 +++ ./Option.c 2006-12-30 21:38:09.000000000 +0900 @@ -273,7 +273,7 @@ case 1: /* help */ printf("%s by ISHIOKA Hiroshi (C) 1998,1999\n",Title); for(J=0;HelpText[J];J++) puts(HelpText[J]); - return(0); + exit(0); // return(0); #ifdef MITSHM case 2: UseSHM=1;break; /* shm */ case 3: UseSHM=0;break; /* noshm */ diff -ud ../../47org/src/Refresh.c ./Refresh.c --- ../../47org/src/Refresh.c 2003-12-30 07:34:50.000000000 +0900 +++ ./Refresh.c 2006-12-30 21:37:29.000000000 +0900 @@ -249,10 +249,10 @@ }; /* duplicates scanlines, used if interlacing is off */ -static void NoIntLac(register byte Y) +static void NoIntLac( byte Y) { - register byte *P; - register word linlen; + byte *P; + word linlen; linlen=Width*bitpix/8; P=XBuf+(long)scale*Y*linlen; @@ -323,9 +323,9 @@ /** RefreshScr11: N60-BASIC screen 1,2 ***********************/ void RefreshScr11() { - register byte X,Y,K; - register ColTyp FC,BC; - register byte *S,*T1,*T2; + byte X,Y,K; + ColTyp FC,BC; + byte *S,*T1,*T2; byte *G; G = CGROM; /* CGROM */ @@ -362,8 +362,8 @@ /** RefreshScr13: N60-BASIC screen 3,4 ***********************/ void RefreshScr13() { - register byte X,Y; - register byte *T1,*T2; + byte X,Y; + byte *T1,*T2; byte attr; T1 = VRAM; /* attribute data */ @@ -406,8 +406,8 @@ /** RefreshScr13a: N60-BASIC screen 3,4 **********************/ void RefreshScr13a() /* 64x 64 color / 128x 64 */ { - register byte X,Y; - register byte *T1,*T2; + byte X,Y; + byte *T1,*T2; byte attr; ColTyp L; @@ -460,8 +460,8 @@ /** RefreshScr13b: N60-BASIC screen 3,4 **********************/ void RefreshScr13b() /* 128x 64 color */ { - register byte X,Y; - register byte *T1,*T2; + byte X,Y; + byte *T1,*T2; byte attr; T1 = VRAM; /* attribute data */ @@ -485,8 +485,8 @@ /** RefreshScr13c: N60-BASIC screen 3,4 **********************/ void RefreshScr13c() /* 128x 96 */ { - register byte X,Y; - register byte *T1,*T2; + byte X,Y; + byte *T1,*T2; byte attr; ColTyp L; @@ -527,8 +527,8 @@ /** RefreshScr13d: N60-BASIC screen 3,4 **********************/ void RefreshScr13d() /* 128x 96 color */ { - register byte X,Y; - register byte *T1,*T2; + byte X,Y; + byte *T1,*T2; byte attr; T1 = VRAM; /* attribute data */ @@ -552,8 +552,8 @@ /** RefreshScr13e: N60-BASIC screen 3,4 **********************/ void RefreshScr13e() /* 128x192 */ { - register byte X,Y; - register byte *T1,*T2; + byte X,Y; + byte *T1,*T2; byte attr; ColTyp L; @@ -593,9 +593,9 @@ /** RefreshScr51: N60m/66-BASIC screen 1,2 *******************/ void RefreshScr51() { - register byte X,Y,K; - register ColTyp FC,BC; - register byte *S,*T1,*T2; + byte X,Y,K; + ColTyp FC,BC; + byte *S,*T1,*T2; byte *G; G = CGROM; /* CGROM */ @@ -622,8 +622,8 @@ /** RefreshScr53: N60m/66-BASIC screen 3 *********************/ void RefreshScr53() { - register byte X,Y; - register byte *T1,*T2; + byte X,Y; + byte *T1,*T2; T1 = VRAM; /* attribute data */ T2 = VRAM+0x2000; /* graphic data */ @@ -644,8 +644,8 @@ /** RefreshScr54: N60m/66-BASIC screen 4 *********************/ void RefreshScr54() { - register byte X,Y; - register byte *T1,*T2; + byte X,Y; + byte *T1,*T2; byte cssor; T1 = VRAM; /* attribute data */ @@ -704,9 +704,9 @@ /* support: WIDTH 40,20 40,25 80,20 80,25 and PALET */ void RefreshScr61() { - register byte X,Y,K; - register ColTyp FC,BC; - register byte *S,*T1,*T2; + byte X,Y,K; + ColTyp FC,BC; + byte *S,*T1,*T2; byte *G; int high; int addr; 共通の下位ディレクトリー: ../../47org/src/fmgenと./fmgen