--- title: "Morse Code Keyboard" id: 77315 type: "computer_media" slug: "morse-code-keyboard" url: "http://localhost/computer_media/morse-code-keyboard/" markdown_url: "http://localhost/computer_media/morse-code-keyboard.md" published_at: "2026-11-15T18:39:09+00:00" modified_at: "2026-11-15T18:39:10+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/morse-code-keyboard-1.png" excerpt: "Turns the keyboard into a Morse key: each character you type is beeped in International Morse code." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Steve Gunhouse" slug: "steve-gunhouse" taxonomy: "indiv" url: "http://localhost/indiv/steve-gunhouse/" genre: - name: "Ham Radio" slug: "ham-radio" taxonomy: "genre" url: "http://localhost/type/ham-radio/" media_type: "Program" programmers: - name: "Steve Gunhouse" slug: "steve-gunhouse" taxonomy: "indiv" url: "http://localhost/indiv/steve-gunhouse/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Morse%20Code%20Keyboard%20%281990%29%28Gunhouse%2C%20Steven%20V.%29%28TS2068%29%28US%29%28Program%29.zip" tsrun_member: "Morse Code Keyboard (1990)(Gunhouse, Steven V.)(TS2068)(US)(Program)/Morse Code Keyboard (1990)(Gunhouse, Steven V.)(TS2068)(US)(Program).tap" mediadate: "1990" images: - url: "http://localhost/wp-content/uploads/2026/11/morse-code-keyboard-1.png" article_media: - id: 23181 title: "TS2068-Morse Code Generator" type: "article" url: "http://localhost/article/ts2068-morse-code-generator/" media_type_tags: "Ham Radio" license: false --- # Morse Code Keyboard Turns the TS2068 keyboard into a Morse code key: each character you type is printed and beeped in International Morse code. Keys typed while a character is still sounding are queued, so you can type ahead. The code table is held in DATA as binary numbers, one bit per dot or dash. The variable s in line 2 sets the speed; a larger number gives faster code. Steven Gunhouse sent it in a letter to George Chambers. Published in Sinc-Link September-October 1990 ([TS2068-Morse Code Generator](https://timexsinclair.com/article/ts2068-morse-code-generator/)). ## Source Code ``` 1 REM Morse Code keyboard 2 DIM c(64): LET s=10: FOR i=1 TO 64: READ c(i): NEXT i 3 LET a$="": LET c=0 4 IF PEEK 23560>31 THEN LET a$=a$+CHR$ PEEK 23560: POKE 23560,0 5 IF c THEN GO TO 11 6 IF a$="" THEN GO TO 4 7 PRINT a$(1);: LET a=CODE a$-31-(32 AND a$>"_"): LET a$=a$(2 TO ) 8 IF a>64 THEN GO TO 4 9 LET c=c(a) 10 IF c=0 THEN GO TO 4 11 LET c1=c-2*INT (c/2): LET c=INT (c/2) 12 LET d=2*c1+1 13 IF c THEN BEEP d/s,0: LET d=0 14 IF PEEK 23560>31 THEN LET a$=a$+CHR$ PEEK 23560: POKE 23560,0 15 LET d=d+1: POKE 23672,2 16 IF PEEK 23672