Pi1541 - CBM-FB20 "Smart" Loader

Basic and Machine Language

Moderator: Moderators

Post Reply
User avatar
grondinm
Vic 20 Amateur
Posts: 55
Joined: Thu Dec 10, 2020 11:54 am
Location: Canada

Pi1541 - CBM-FB20 "Smart" Loader

Post by grondinm »

This may not belong here simply because of how small/simple/silly it is...

I recently got a Pi1541 and while i love the device one thing that would annoy me was having to type out the version of fb20 to load based on the ram in the system(fb20,fb20-3k or fb20-8k) vs just being able to use load "*",9 and have it load the autostart file specified in the Pi1541 config. So i wrote a small program to load the correct version based on how much RAM is enabled. Nothing big and probably something better somewhere but i figured i would share anyways. Maybe someone else will find it useful. This is the first thing i have "created" from scratch.

To note is that lines 101,201 and 301 would need to be modified to reflect the device number of the Pi1541.

It may work/be useful with other SD2IEC devices but i've not tested since i only have the Pi1541.

Anyways it's attached.
Attachments
fb20l.zip
(315 Bytes) Downloaded 34 times
User avatar
tokra
Vic 20 Scientist
Posts: 1123
Joined: Tue Apr 27, 2010 5:32 pm
Location: Scheessel, Germany

Re: Pi1541 - CBM-FB20 "Smart" Loader

Post by tokra »

The idea is good, but you re-invented the wheel. The original file-browser already does a full system detection. You just load "fb",8 and it will detect the machine it runs on (C64,C16,VIC-20) and even the RAM-expansion status of the VIC-20 and load the corresponding file-browser. It is astonishing how many people miss that (you are not the first).
User avatar
grondinm
Vic 20 Amateur
Posts: 55
Joined: Thu Dec 10, 2020 11:54 am
Location: Canada

Re: Pi1541 - CBM-FB20 "Smart" Loader

Post by grondinm »

Ah so maybe this "issue" is more specific to the Pi1541. The creator provides a modified version of the file browser because

"I have had to modify the source to add extra error checking so they wait for the Pi to load the image and the emulated 1541 to boot."

So he provides only the fb20,fb20-3k and fb20-8k programs and the user has to load the correct one.
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Re: Pi1541 - CBM-FB20 "Smart" Loader

Post by nbla000 »

Hi everybody,

Since I'm the author of CBM-FileBrowser I just wish to inform you that I'm in touch with Stephen White, the author of pi1541 to add native support for pi1541 too from next 1.7 version.
At the moment Stephen uses a slighty modified 1.6 version but I don't know if he included the small basic program FB that as tokra said just detect the machine and load the proper version.
I think you may use the fb basic program with custom pi1541 fbxx (fb16,fb20,fb20-3k,fb64,etc) files at the moment, I'm waiting the pi1541 for tests with next cbm-filebrowser version that will be compatible with both SD2IEC and pi1541 drives and also with CBM drives as ever.
Attachments
cbm-filebrowser-v1.6.zip
(135.12 KiB) Downloaded 37 times
Mega-Cart: the cartridge you plug in once and for all.
User avatar
grondinm
Vic 20 Amateur
Posts: 55
Joined: Thu Dec 10, 2020 11:54 am
Location: Canada

Re: Pi1541 - CBM-FB20 "Smart" Loader

Post by grondinm »

Hi nbla000

Thank you for that. I think for the time being i will keep using my hackish launcher since i "put in the effort". Once V1.7 comes out and is included in Pi1541 i will drop that.

Thank you for working with Stephen to add support. And thank you for CBM-FileBrowser in general.
Post Reply