Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Counting in octal is just like counting in decimal--if you don't use your thumbs. -- Tom Lehrer


devel / comp.os.cpm / HEBAS BASIC Interpreter - SAVE/LOAD problem

SubjectAuthor
* HEBAS BASIC Interpreter - SAVE/LOAD problemGuido Lehwalder
`* HEBAS BASIC Interpreter - SAVE/LOAD problemGuido Lehwalder
 `* HEBAS BASIC Interpreter - SAVE/LOAD problemGuido Lehwalder
  `- HEBAS BASIC Interpreter - SAVE/LOAD problemGuido Lehwalder

1
HEBAS BASIC Interpreter - SAVE/LOAD problem

<71f49401-8f32-42d1-b784-0ed3bc44e90cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4248&group=comp.os.cpm#4248

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:7f86:0:b0:3f9:a914:f384 with SMTP id z6-20020ac87f86000000b003f9a914f384mr396840qtj.12.1686299249816;
Fri, 09 Jun 2023 01:27:29 -0700 (PDT)
X-Received: by 2002:ac8:5c4e:0:b0:3f8:692d:5cc4 with SMTP id
j14-20020ac85c4e000000b003f8692d5cc4mr329717qtj.7.1686299249586; Fri, 09 Jun
2023 01:27:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 9 Jun 2023 01:27:29 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=78.173.77.0; posting-account=VC7MkAoAAADGBBY5k7asguCSpHEfM-cj
NNTP-Posting-Host: 78.173.77.0
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <71f49401-8f32-42d1-b784-0ed3bc44e90cn@googlegroups.com>
Subject: HEBAS BASIC Interpreter - SAVE/LOAD problem
From: guido.lehwalder@gmail.com (Guido Lehwalder)
Injection-Date: Fri, 09 Jun 2023 08:27:29 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1915
 by: Guido Lehwalder - Fri, 9 Jun 2023 08:27 UTC

I have HEBAS - a BASIC Interpreter based on TDL-BASIC 2.1/3.05 -
from https://julianehehl.de/test-ndr/ndr/epr/hebasg5.z80
(rename .z80 to .com)
running under RunCPM.

Entering ans running programs do work fine, but I got problem with
SAVE/LOAD
It seems - only under RunCPM? - that savin as ASCII with
SAVE "PSIEVE.BAS",A
doenst work right (missing Linenumber or repeated middle block of program)
Also the Token SAVE "PSIEVE.BAS" cant be loaded...

Every time the Interpreter says "FERTIG" (like READY.) but after loading a Token-saved File the LIST command doenst show any Line.

Only when I save 1-4 Lines of
10 PRINT
then I could SAVE/LOAD it right.

HEBAS was original created for the NDR Klein Computer
https://julianehehl.de/test-ndr/ndrliteratur.htm#top

The MSDOS-Version of HEBAS does SAVE/LOAD fine under DOS

May anyone can test it on a real CP/M computer if that is only a Problem with RunCPM?

Re: HEBAS BASIC Interpreter - SAVE/LOAD problem

<267a64c2-c0b7-4a4e-b9fb-4185b79f93efn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4249&group=comp.os.cpm#4249

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a37:4353:0:b0:75c:c431:37d7 with SMTP id q80-20020a374353000000b0075cc43137d7mr158992qka.11.1686300183759;
Fri, 09 Jun 2023 01:43:03 -0700 (PDT)
X-Received: by 2002:a37:b4c:0:b0:75e:bdcd:4619 with SMTP id
73-20020a370b4c000000b0075ebdcd4619mr135186qkl.15.1686300183532; Fri, 09 Jun
2023 01:43:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 9 Jun 2023 01:43:03 -0700 (PDT)
In-Reply-To: <71f49401-8f32-42d1-b784-0ed3bc44e90cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=78.173.77.0; posting-account=VC7MkAoAAADGBBY5k7asguCSpHEfM-cj
NNTP-Posting-Host: 78.173.77.0
References: <71f49401-8f32-42d1-b784-0ed3bc44e90cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <267a64c2-c0b7-4a4e-b9fb-4185b79f93efn@googlegroups.com>
Subject: Re: HEBAS BASIC Interpreter - SAVE/LOAD problem
From: guido.lehwalder@gmail.com (Guido Lehwalder)
Injection-Date: Fri, 09 Jun 2023 08:43:03 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Guido Lehwalder - Fri, 9 Jun 2023 08:43 UTC

Guido Lehwalder schrieb am Freitag, 9. Juni 2023 um 11:27:30 UTC+3:

> May anyone can test it on a real CP/M computer if that is only a Problem with RunCPM?
under the CP/M Emulator (in armbian-Linux) from jhallen
https://github.com/jhallen/cpm

saving and loading does work for the Token/ASCII version,
BUT
the 800 Byte Listing takes to MUCH space in the filesystem:
-rw-r--r-- 1 root root 11535232 Jun 9 11:34 pascii.bas
-rw-r--r-- 1 root root 11535104 Jun 9 11:34 ptoken.bas

Re: HEBAS BASIC Interpreter - SAVE/LOAD problem

<fa8e5348-4c5c-4841-b473-e88768fa6d61n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4250&group=comp.os.cpm#4250

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:5a06:0:b0:626:df4:858d with SMTP id ei6-20020ad45a06000000b006260df4858dmr505779qvb.2.1686337745056;
Fri, 09 Jun 2023 12:09:05 -0700 (PDT)
X-Received: by 2002:a37:aad6:0:b0:75b:359f:1a97 with SMTP id
t205-20020a37aad6000000b0075b359f1a97mr261701qke.14.1686337744851; Fri, 09
Jun 2023 12:09:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 9 Jun 2023 12:09:04 -0700 (PDT)
In-Reply-To: <267a64c2-c0b7-4a4e-b9fb-4185b79f93efn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=78.173.77.0; posting-account=VC7MkAoAAADGBBY5k7asguCSpHEfM-cj
NNTP-Posting-Host: 78.173.77.0
References: <71f49401-8f32-42d1-b784-0ed3bc44e90cn@googlegroups.com> <267a64c2-c0b7-4a4e-b9fb-4185b79f93efn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fa8e5348-4c5c-4841-b473-e88768fa6d61n@googlegroups.com>
Subject: Re: HEBAS BASIC Interpreter - SAVE/LOAD problem
From: guido.lehwalder@gmail.com (Guido Lehwalder)
Injection-Date: Fri, 09 Jun 2023 19:09:05 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1753
 by: Guido Lehwalder - Fri, 9 Jun 2023 19:09 UTC

Guido Lehwalder schrieb am Freitag, 9. Juni 2023 um 11:43:04 UTC+3:
> saving and loading does work for the Token/ASCII version,
> BUT
> the 800 Byte Listing takes to MUCH space in the filesystem:
> -rw-r--r-- 1 root root 11535232 Jun 9 11:34 pascii.bas
> -rw-r--r-- 1 root root 11535104 Jun 9 11:34 ptoken.bas
if Memorysize of HEBAS is set to 45000 in JHallen's Emulator then the SAVE-size is OK :)
(tested with another BASIC-Program)
-rw-r--r-- 1 root root 384 Jun 9 18:44 fractaa.bas
-rw-r--r-- 1 root root 384 Jun 9 18:43 fracta.bas

Re: HEBAS BASIC Interpreter - SAVE/LOAD problem

<7e0c4430-c58d-415a-8916-66fb90aaea4an@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=4251&group=comp.os.cpm#4251

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:1b0a:b0:3f6:a96e:8341 with SMTP id bb10-20020a05622a1b0a00b003f6a96e8341mr1251184qtb.0.1686346805811;
Fri, 09 Jun 2023 14:40:05 -0700 (PDT)
X-Received: by 2002:a05:622a:19a2:b0:3f9:aa64:7dbf with SMTP id
u34-20020a05622a19a200b003f9aa647dbfmr1032203qtc.4.1686346805569; Fri, 09 Jun
2023 14:40:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 9 Jun 2023 14:40:05 -0700 (PDT)
In-Reply-To: <fa8e5348-4c5c-4841-b473-e88768fa6d61n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=78.173.77.0; posting-account=VC7MkAoAAADGBBY5k7asguCSpHEfM-cj
NNTP-Posting-Host: 78.173.77.0
References: <71f49401-8f32-42d1-b784-0ed3bc44e90cn@googlegroups.com>
<267a64c2-c0b7-4a4e-b9fb-4185b79f93efn@googlegroups.com> <fa8e5348-4c5c-4841-b473-e88768fa6d61n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7e0c4430-c58d-415a-8916-66fb90aaea4an@googlegroups.com>
Subject: Re: HEBAS BASIC Interpreter - SAVE/LOAD problem
From: guido.lehwalder@gmail.com (Guido Lehwalder)
Injection-Date: Fri, 09 Jun 2023 21:40:05 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Guido Lehwalder - Fri, 9 Jun 2023 21:40 UTC

Guido Lehwalder schrieb am Freitag, 9. Juni 2023 um 22:09:06 UTC+3:
> if Memorysize of HEBAS is set to 45000 in JHallen's Emulator then the SAVE-size is OK :)

The author of RunCPM (MockbaTheBorg) has released a Fix-Update which bumps RunCPM to v6.1:
https://github.com/MockbaTheBorg/RunCPM/commit/4b8f1acc1752e504cf6cc0a975dd58e1813937de

With this Quick-Fix (Many Thanks and RESPECT to MockbaTheBorg) HEBAS can now SAVE/LOAD correctly with RunCPM :)

The problem was about syncing cr (current record) and rc (record count), because HEBAS is using the rc and not only the cr while saving.

We hope (and this is to test) that this fix wont give a problem to another app ;)

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor