SBASIC

125 views
Skip to first unread message

Kurt Pieper

unread,
Feb 4, 2023, 1:09:24 AM2/4/23
to retro-comp
Hi guys,

I created an example with SBASIC.
Handling with random access and
Serial access.

Since I have a Kaypro 4/84 and SBASIC Disk (with manual)
is available, I got busy with my Z80 system (by Steve Cousins and CPU plus 24a karlab 2020).
The Z80 system is excellent.

The SBASIC program CONVERT.BAS reads the data from the ENGLISH.DOC file character by character up to the character 0AH, and then writes a STRING plus spaces with a length of 128 characters to the ENGLISH.RAN file.

The ENGLISH.RAN file can be created with a text editor.
Don't write any content. CONVERT.COM does it.

See with DDTZ ENGLISH.RAN. We always recognize the character 'P' at the beginning of a data record. Is that SBASIC specific?

READRAN.COM everything is displayed correctly.

RANDOM files with SBASIC are not for MBASIC, ASSEMBLER Prg. TRENGL.COM suitable. The conversion should be done better with Alfred's program KONVERT.BAS.

The files can be found here:
http://www.forumcpm.gaby.de/viewtopic.php?t=590

Greetings from the Rhine
Kurt

Kurt Pieper

unread,
Feb 4, 2023, 1:20:14 AM2/4/23
to retro-comp
Hi,

here the program under cpm.
Please remove the ending *.txt'.

Kurt
english.doc.txt
convert.com.txt

Kurt Pieper

unread,
Feb 7, 2023, 7:54:11 AM2/7/23
to retro-comp
Hi,

It continues with SBASIC.

Small adjustment for Z80 modules and rc2014 systems.

The program in the appendix hello.com

More information here: http://www.forumcpm.gaby.de/viewtopic.php?p=1096#p1096

greeting
Kurt
hello.com.txt
Reply all
Reply to author
Forward
0 new messages