Page 1 of 1

Automatically Running a Program from Floppy at Boot

Posted: Fri Dec 15, 2023 3:31 am
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 6758 times

A zip file with autorun.prg is attached below:


Re: Automatically Running a Program from Floppy at Boot

Posted: Sat Dec 16, 2023 8:40 pm
by edburns

I confirm this works great!