Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 784 Bytes

README.md

File metadata and controls

53 lines (35 loc) · 784 Bytes

Morse

This tool allows you to reformat input as Morse code and decode Morse code.

Installation

Download the MORSE file from the "build" folder and place it in the "dot" folder on your ZX Spectrum Next.

Usage

  • -h, --help: Display the help message.
  • -s: The -s option for Morse produces dots and dashes rather than words.
  • -d: Decode Morse output consisting of dots and slashes (as generated by using the -s option).

Examples

.morse speccy

 dit dit dit
 dit daw daw dit
 dit
 daw dit daw dit
 daw dit daw dit
 daw dit daw daw

 dit dit dit daw dit daw

.morse -s speccy

 ...
 .--.
 .
 -.-.
 -.-.
 -.--
 
 ...-.-

morse -d ...---...

<SOS>

This is a port of OpenBSD morse.c to ZXNext

Feel free to use, contribute, and enjoy!