'オオキイ スプライトCHR ノ ナラビカエ CLEAR : ACLS DIM C$(64) RESTORE @TBL INPUT "ケッカ ヲ SAVE シマスカ(Y/N)";S$ FOR T=0 TO 3 READ RES$,XN,YN,CO,CN GOSUB @DATASET IF S$=="Y" THEN SAVE RES$+":"+RES$+"_" NEXT END @TBL DATA "SPU4",4,2,0,128 DATA "SPU5",4,4,0,256 DATA "SPU6",4,4,0,256 DATA "SPU7",8,8,0,256 @DATASET CHRINIT RES$ NUM=XN*YN FOR C=CO TO CN-NUM STEP NUM FOR I=0 TO XN*YN-1 T1=FLOOR(I/4) : T2=I%4 X=(T1%(XN/2))*2 + T2%2 Y=FLOOR(T1/(XN/2))*2 + FLOOR(T2/2) CHRREAD(RES$,C+I),C$(Y*XN+X) NEXT FOR I=0 TO XN*YN-1 CHRSET RES$,C+I,C$(I) NEXT NEXT RETURN |