Another take on the BYG shell
Here we go again... I'm giving another go to a shell extension for the C64. This time I'm willing to achieve those goals :
- Have a cartridge format shell extension
- Be compatible with Jaffydos so I can use it with an SD2IEC
- Focus on external commands, leave disk commands to CBM DOS through Jiffydos wedge
- Be able to work alongside BASIC
I've re-purposed a good part of what has been made for the 1st version, but everything is not there yet.
For now, we have :
- External commands, accessed with the "*" prefix, working in BASIC code too
- A parameters system with the ability to do some pattern matching on the directory list
- Options on the commands (-a, -np ... you name it)
- Capability to associate int values to options (-n=42)
- Output redirection with ">"
- Possible return of command result to BASIC through sh% and sh$ variables
And the following commands :
- cat, head, wc
- mon, that launches the jiffymon if loaded (handy, resident at $e000 under kernal ROM)
- proof of concept of a Koala image viewer that needs rewriting, images should be located elsewhere
-
edit : small text editor
-
menu : choice / menu command, returns chosen item and item position in sh$ and sh%
This is still a very early release and a lot is missing apart from bugs which are everywhere, I'll probably also have to rewrite the pseudo 16bit instructions linked to the preprocessor because moving the registers around in ZP broke some of those as they're no more contiguous so I don't slam existing BASIC and Kernal ZP addresses The functions in the "BIOS" part are going to be re-numbered when the dust comes down.
Anyway, that's a fun project to work with and I'll try to polish it more in the following months, and feel free to send me your wish list at papapower.at.babygang.fr, where else ?