Typing Lesson

タッチタイプの基本練習

EEPROM 100〜に 行番号 文字列 で練習コースを保存
先頭に\(#A0)をつけると、文字列からランダムに選んだ8文字の問題を生成

 番号を入力すると、問題分の先頭行を説明として表示
Enterキーで練習がスタートします。
1行入力したら Enterキーで確定
回答が終わると、文字数 ミス 時間 を表示します。

プログラム

TypingLesson.bas

NEW
10 'TYPE-INIT
20 F=FILE():VIDEO3
30 CLS:?"Typing Lesson"
40 CLK:LC0,1:?:INPUT "No.",L
50 IFL=0VIDEO1:END
60 LC0,2:?CHR$(12);"No.";L;" ";:N=L+99
70 S=(N-100)*1024
80 B=#800:L=200
90 POKE #8CC,S/256,S%256
100 R=I2CR(80,#8CC,2,B,L)
110 E=PEEK(#802):S=S+E+4
120 ?CHR$(12);
130 FORI=#803TO#802+E
140 C=PEEK(I):IFC>=32?CHR$(C);
150 NEXT:?
160 ?:INPUT "Enter ",E
170 IFL=0VIDEO1:END
180 PLAY "T200L16 190 IFSOUND()CONT
200 ?:O=0:X=0:CLT
210 LRUNF+1
SAVE 0

NEW
10 'TYPE-READ
20 POKE #8CC,S/256,S%256
30 R=I2CR(80,#8CC,2,B,L)
40 LC0,6
50 IF[0]=0LRUNF+3
60 ?CHR$(12);
70 E=PEEK(#802):S=S+E+4
80 IF PEEK(#803)<>ASC("~A0")GOTO@STR
90 @RND
100 FORI=0TO8
110 C=PEEK(#804+RND(E-2))
120 ?CHR$(C);
130 NEXT
140 GOTO @R
150 @STR
160 FORI=#803TO#802+E
170 C=PEEK(I):IFC>=32?CHR$(C);
180 NEXT
190 @R:LC0,7,1:P=0:LRUNF+2
SAVE 1

NEW
10 'TYPE-TYPE
20 @T:Z=PEEK(#900+16*6+P)
30 K=INKEY():IFK=0CONT
40 IFK=23GOTO160
50 IFZ=KBEEP10:?CHR$(K);:O=O+1:P=P+1:GOTO@NE
60 IF((K>=161)*(K<=224))GOTO@ER
70 IF((Z>=161)*(Z<=224))GOTO@JP
80 @ER:IF(K>31)*(K<>127)?CHR$(K);:BEEP20:WAIT20:?CHR$(8);
90 X=X+1:GOTO@T
100 @JP:IF(J>0)*(K=8)?CHR$(8);:J=J-1:GOTO@T
110 IFK>31BEEP10:?CHR$(K);:J=J+1
120 GOTO@T
130 @NE:IFPEEK(#900+16*6+P)<>0GOTO@T
140 K=INKEY():IFK<>10CONT
150 FORI=0TO(E+31)/16:SCROLL0:NEXT
160 BEEP30,5:WAIT6:BEEP15
170 LRUNF+1
SAVE 2

NEW
10 'TYPE-END
20 T=TICK()/60:?
30 ?O;"モジ "
40 ?"ミス ";X;"カイ "
50 ?T;"ビョウ":?
60 PLAY "L16< 70 ?:INPUT"Enter ",E
80 LRUNF
110 GOTO@T
120 @NE:IFPEEK(#900+16*4+P)<>0GOTO@T
130 FORI=0TO(E+31)/16:SCROLL0:NEXT
140 BEEP30,5:WAIT6:BEEP15
150 LRUNF+1
SAVE 3

練習コース

NEW
10 JF
20 JJJJJJJJ
30 FFFFFFFF
40 JJJJJJJJ
50 FFFFFFFF
60 JJFFJJFF
70 FFJJFFJJ
80 ~A0JF
90 ~A0JF
100 ~A0JF
110 ~A0JF
SAVE 100

NEW
10 FJDKSLA;
20 FJDKSLA;
30 FJDKSLA;
40 ~A0FJDK
50 ~A0FJDK
60 ~A0FJDK
70 ~A0FJDKSL
80 ~A0FJDKSL
90 ~A0FJDKSL
100 ~A0FJDKSLA;
110 ~A0FJDKSLA;
120 ~A0FJDKSLA;
SAVE 101

NEW
10 HG
20 HHHHHHHH
30 GGGGGGGG
40 JHJHJHJH
50 FGFGFGFG
60 HJHJHJHJ
70 GFGFGFGF
80 JHFGJHFG
90 FGJHFGJH
100 ~A0JFHG
110 ~A0JFHG
120 ~A0JFHG
130 ~A0JFHG
SAVE 102

NEW
10 YT
20 YYYYYYYY
30 TTTTTTTT
40 JYJYJYJY
50 FTFTFTFT
60 YJYJYJYJ
70 TFTFTFTF
80 JYFTJYFT
90 FTJYFTJY
100 ~A0JFYT
110 ~A0JFYT
120 ~A0JFYT
130 ~A0JFYT
SAVE 104

NEW
10 MV
20 MMMMMMMM
30 VVVVVVVV
40 JMJMJMJM
50 FVFVFVFV
60 MJMJMJMJ
70 VFVFVFVF
80 JMFVJMFV
90 FVJMFVJM
100 ~A0JFMV
110 ~A0JFMV
120 ~A0JFMV
130 ~A0JFMV
SAVE 105

NEW
10 NB
20 NNNNNNNN
30 BBBBBBBB
40 JNJNJNJN
50 FBFBFBFB
60 NJNJNJNJ
70 BFBFBFBF
80 JNFBJNFB
90 FBJNFBJN
100 ~A0JFNB
110 ~A0JFNB
120 ~A0JFNB
130 ~A0JFNB
SAVE 106

NEW
10 KD
20 KKKKKKKK
30 DDDDDDDD
40 KKKKKKKK
50 DDDDDDDD
60 KKKKKKKK
70 DDDDDDDD
80 KKDDKKDD
90 DDKKDDKK
100 ~A0KDKD
110 ~A0KDKD
120 ~A0KDKD
130 ~A0KDKD
SAVE 107

NEW
10 IE
20 IIIIIIII
30 EEEEEEEE
40 KIKIKIKI
50 DEDEDEDE
60 IKIKIKIK
70 EDEDEDED
80 KIDEKIDE
90 DEKIDEKI
100 ~A0KDIE
110 ~A0KDIE
120 ~A0KDIE
130 ~A0KDIE
SAVE 108

NEW
10 ,C
20 ,,,,,,,,
30 CCCCCCCC
40 K,K,K,K,
50 DCDCDCDC
60 ,K,K,K,K
70 CDCDCDCD
80 K,DCK,DC
90 DCK,DCK,
100 ~A0KD,C
110 ~A0KD,C
120 ~A0KD,C
130 ~A0KD,C
SAVE 109

NEW
10 LS
20 LLLLLLLL
30 SSSSSSSS
40 LLLLLLLL
50 SSSSSSSS
60 LLLLLLLL
70 SSSSSSSS
80 LLSSLLSS
90 SSLLSSLL
100 ~A0LSLS
110 ~A0LSLS
120 ~A0LSLS
130 ~A0LSLS
SAVE 110

NEW
10 OW
20 OOOOOOOO
30 WWWWWWWW
40 LOLOLOLO
50 SWSWSWSW
60 OLOLOLOL
70 WSWSWSWS
80 LOSWLOSW
90 SWLOSWLO
100 ~A0LSOW
110 ~A0LSOW
120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IJKLMNOPQRSTUVWXYZ
90 ~A0ABCDEFGHIJKLMNOPQRSTUVWXYZ
SAVE 124

NEW
10 ALL
20 ~A0ASDFGHJKL;:]
30 ~A0QWERTYUIOP@[
40 ~A0ZXCVBNM,./\
50 ~A01234567890-^
60 ~A0ASDFGHJKL;:]QWERTYUIOP@[
70 ~A0ASDFGHJKL;:]QWERTYUIOP@[
80 ~A0ASDFGHJKL;:]QWERTYUIOP@[ZXCVBNM,./\
90 ~A0ASDFGHJKL;:]QWERTYUIOP@[ZXCVBNM,./\
100 ~A0ASDFGHJKL;:]QWERTYUIOP@[ZXCVBNM,./\
110 ~A0ASDFGHJKL;:]QWERTYUIOP@[ZXCVBNM,./\1234567890-^
120 ~A0ASDFGHJKL;:]QWERTYUIOP@[ZXCVBNM,./\1234567890-^
SAVE 125


タブを閉じる