Home Gadgetman Forum Book Reviews Links Contact me X-UFO
Gadgets Processors Programming School Old news

Epson HX-20

OverviewUsageBasicAgenda?Expansion
There are no pictures available for this page. Maybe later?

The XH-20 have a fairly 'standard' Basic interpreter. Since this isn't a Basic tutorial, I won't go into too much detail.
The commands are grouped according to function where I deem it appropriate. If a command is missing or incomplete, then I either don't know about it or are unsure about something. Feel free to email me details...

The function keys have these functions:
[PF1]AUTO[Shift]+[PF1]?DATE$:?TIME$
[PF2]LIST[Shift]+[PF2]LOAD
[PF3]LLIST[Shift]+[PF3]SAVE
[PF4]STAT[Shift]+[PF4]TITLE
[PF5]RUN[Shift]+[PF5]LOGIN

General editing/running

RUN
Starts executing the program.
Alternative use is:
RUN xx
Then it will jump to and start executing from line nr. xx

LIST
Lists the program o the screen.
Alternative uses are:
LIST xx
Lists just line nr xx.
LIST xx - yy
Lists all lines from xx to yy.

LLIST
Prints out the program, or part of the program on the printer. Other than that, the same syntax as LIST.

AUTO
Automatic line numbering. Will produce a new line number every time you hit [Return].
You stop it by pressing [Break]. Defaults to start at line nr. 10, and increasing by 10 for each new line.
Alternatively:
AUTO xx
Will start numbering with linenr. xx
AUTO xx.y
Will start numbering with linenr. xx, and increase with y for every new line.

LOAD ""
Loads the first program it finds on tape. Will also try to load DATA files, and results in error if it encounters one.
Alternatively:
LOAD "xxx"
Loads program file xxx from tape. Will skip files until it finds the correct one.
There's probably more possibilities with this command.

SAVE "xxx"
Saves the current program as xxx on the tape.
Will check ot for more later.

NEW
This one clears the memory and prepares for a new program. If you didn't save, tough luck!
Some versions of Basic have a OLD command to bring back your work if you hadn't done anything since the NEW command, but not on this machine...

TITLE "Xxxxx"
This commad gives the program a name, and places it on the system menu. It will also block thee program from being erased by the LOAD or NEW commands.
TITLE ""
This will remove the name of the program and any protection.

END
This command ends the execution of the program.

Initialisation

CLEAR xxx,yyyy

Got any comments? Write them here:

Name:
Email address:
Display email address?
Website:
Comment:
Note:
  • Comments will not be visible until I manually OK them.
  • You don't need to give an email address if you don't want to. But if you do, you decide whether or not it is visible. (No addresses will be given to third-parties, it's only there to make it easier for me to get back to you)
  • This script WILL log your IP adress.
  • Profanities, 'L337' speak, links to unrelated stuff like Pr0n and online gambling will result in your IP being banned, a message being sent to your ISP and anything else nasty I can think of...
  • Suspicious HTML in the comments field will also cause me to give you hell.
  • While I don't have any user registration here, that's no reason to use a 'nick' belonging to someone else.