• Re: HEBAS BASIC Interpreter - SAVE/LOAD problem

    From Guido Lehwalder@21:1/5 to Guido Lehwalder on Fri Jun 9 01:43:03 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guido Lehwalder@21:1/5 to All on Fri Jun 9 01:27:29 2023
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guido Lehwalder@21:1/5 to Guido Lehwalder on Fri Jun 9 12:09:04 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guido Lehwalder@21:1/5 to Guido Lehwalder on Fri Jun 9 14:40:05 2023
    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 ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)