Re: Alternate 'shell' for Commodore computers using the same kernel

From: silverdr_at_srebrnysen.com
Date: Tue, 17 May 2022 10:41:52 +0000
Message-Id: <24C60AED-2868-4FAC-B3A2-318FF9180AF6_at_srebrnysen.com>
> On 2022-05-17, at 10:22, Michal Pleban <lists_at_michau.name> wrote:
> 
> groepaz_at_gmx.net wrote on 16.05.2022 23:16:
> 
>>> I understand that. Are those "lot of programs" not BASIC based? Or does also
>>> assembler coded programs use BASIC routines?
>> There are a few routines in BASIC ROM that are used in many asm programs...
>> "print string" is one of them, for example ($ab1e)

Very good example. Been using STROUT all the time. Whatever aims at replacing the BASIC needs to keep at least the most common entry points intact.

> Not to mention that PRG files are essentially BASIC programs. Most of them contain just a single BASIC command SYS which transfers control to the machine language program, but it's still there and is required to run the rest of the program. You would need to handle this.

This simplest case seems much easier to handle. Things will start to get hairy to cover various edge cases like e. g. REMs being left around or SYS starting a decruncher, which then depends on RUN after depacking is done. Not impossible but quite a few bytes of code would have to be used for those.
Received on 2022-05-17 13:03:35

Archive generated by hypermail 2.3.0.