Toshiba HX-22 Extended Basic Manual

By chalky

Resident (39)

chalky's picture

11-05-2011, 09:52

I have just bought a Toshiba HX-22 via UK ebay - partly for nostalgic reasons (I used to have one in the 1980's,) but mainly because I was hoping to be able to use the RS232C interface to connect to a PC. Unfortunately the "Word Processor and Extended Basic Manual" was not included - does anyone have a copy (either printed or scanned) for sale? Alternatively - is anyone able to post a list of the HX-22 Extended BASIC commands on here?

Login or register to post comments

By enribar

Paladin (1007)

enribar's picture

11-05-2011, 11:21

Got them, but in Italian.

By Manuel

Ascended (15829)

Manuel's picture

11-05-2011, 21:42

About the basic: I think it's just normal MSX-BASIC, plus standard RS-232C extensions (yep, that's also standardized).

Nice machine by the way. Pretty rare too. I guess it was the most luxurious MSX model sold in the UK.

By enribar

Paladin (1007)

enribar's picture

11-05-2011, 23:11

Not only RS-232C Basic extension but RAM Disk Basic, too.

By chalky

Resident (39)

chalky's picture

12-05-2011, 19:53

So far I have established the following (from a Spanish magazine scan):

New MSX BASIC RS-232C commands (not sure if this list is complete):

CALL COMINI
CALL COMTERM
CALL COMSTAT
CALL COM GOSUB
CALL COMON
CALL COMOFF

The article gave no clue as to the parameters required for these - so if anyone can help I would be very grateful.

Extended MSX BASIC commands (I am guessing that these have simply had the "COM:" device added to them and that they are used exactly the same as before?):

SAVE, LOAD, MERGE, OPEN, CLOSE, INPUT, PRINT

I didn't know about the RAM disk extension - does anyone have a list of commands? Smile

By Sd-Snatcher

Hero (582)

Sd-Snatcher's picture

12-05-2011, 20:35

Remembering...

CALL MEMINI

and then:

save"com:XXX"
load"com:XXX"

open #1,"com:XXX"

read #1,AA
write #1,AA


etc...

By umaiboux

Resident (40)

umaiboux's picture

13-05-2011, 16:08

Extended Basic Manual for Japanese HX-20/HX-21/HX-22

Printer Spooler : only HX-20 series
CALL SPOLON
CALL SPOLOFF
CALL LCOPY

RAM disk (device name is MEM: or MEM0: ) : only HX-20 series (but similar to MSX2)
CALL MEMINI
CALL MEMOFF
CALL MFILES
CALL MKILL
CALL MNAME

SAVE
LOAD
RUN
MERGE

OPEN
CLOSE
PRINT#
PRINT# USING
INPUT#
LINE INPUT#

INPUT$
EOF
LOC
LOF

RS232C (device number is 0 , device name is COM0: ) : MSX standard RS-232C extensions
CALL COMINI
CALL COMTERM
CALL COMDTR
CALL COMBREAK
CALL COMSTAT
CALL COM GOSUB
CALL COMON
CALL COMOFF
CALL COMSTOP

SAVE
LOAD
RUN
MERGE

OPEN
CLOSE
PRINT#
PRINT# USING
INPUT#
LINE INPUT#

EOF
INPUT$
LOC
LOF

Japanese Word Processor "Kanji-Kun" : HX-M200(KANJI ROM) is needed
CALL JWP

Example :
CALL COM(,GOSUB 1100)
CALL COMBREAK(,10)
CALL COMBREAK
CALL COMDTR(,0)
CALL COMINI
CALL COMINI("0:8N" )
CALL COMINI("0:",4800)
CALL COMINI("0:",,,100)
CALLCOMINI("0:8N3XNNNN",4800,,5)
CALL COMSTAT("0:",F) : PRINT BIN$(F)
CALL COMTERM("0:" )

COMINI has many parameters, eight characters and three numbers.

character length: "5" , "6" , "7" , "8"
parity: "E" , "O" , "I" , "N"
stop bit length: "1" , "2" , "3"
Xon/off control: "X" , "N"
CS control: "H" , "N"
add LF when CR is recieved: "A" , "N"
delete LF when CRLF is sent: "A" , "N"
SI/SO control (for Japanese "katakana" characters): "S" , "N"
baud rate (recieve): 50,75,110,300,600,1200,1800,2000,2400,3600,4800,7200,9600,19200 or negative number
baud rate (send): same as above
wait time: 0 to 255

Can you understand my poor English?

By chalky

Resident (39)

chalky's picture

13-05-2011, 20:21

@umaiboux - there's nothing wrong with your English! Thank you for taking the time to do this - I am very very grateful! Big smile

By bennyroger

Expert (74)

bennyroger's picture

05-07-2014, 14:56

Old thread, but helped me :-)