Automatically Running a Program from Floppy at Boot

User avatar
swetland
Posts: 1
Joined: Fri Dec 15, 2023 3:22 am
Been thanked: 1 time

Automatically Running a Program from Floppy at Boot

Unread post by swetland »

As far as I have been able to find, there's no simple setting to make the C64 core load and run a program from a floppy image at boot.

But the you can use a MGL file to mount a floppy disk and then inject a PRG file.

And you can have a simple program that positions the cursor over LOAD "*",8,1, stuffs {RETURN}, R, U, N, {RETURN} in the keyboard buffer, and exits.

And this seems to get the job done!

Code: Select all

<mistergamedescription>
    <rbf>_computer/c64</rbf>
    <file delay="1" type="s" index="0" path="disk/Wizard.d64"/>
    <file delay="0" type="f" index="1" path="autorun.prg"/>
</mistergamedescription>
autorun.prg.png
autorun.prg.png (94.62 KiB) Viewed 6743 times

A zip file with autorun.prg is attached below:

Attachments
autorun.zip
(285 Bytes) Downloaded 224 times
edburns
Posts: 30
Joined: Mon Oct 11, 2021 7:33 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Automatically Running a Program from Floppy at Boot

Unread post by edburns »

I confirm this works great!

Post Reply