CPCWiki forum

General Category => Technical Support - Software related => Topic started by: Jonathan on 16:50, 11 February 25

Title: Creating disc that automatically runs a CP/M 3.0 program
Post by: Jonathan on 16:50, 11 February 25
I've seen a disc that on RUN"DISC" changes to white on black, runs |CPM to load CPM 2.2, then automatically runs a specific .COM program.

Is there an equivalent for CP/M 3.0? Or are there instructions online? Thanks.
Title: Re: Creating disc that automatically runs a CP/M 3.0 program
Post by: McArti0 on 16:59, 11 February 25
1 |CPM
save"DISC

openout "PROFILE.SUB"
print#9,"FILE.COM"
closeout

run"DISC
Title: Re: Creating disc that automatically runs a CP/M 3.0 program
Post by: Jonathan on 02:01, 12 February 25
Thank you very much for the very quick reply. They used to say "RTFM", and I now see that this is covered very clearly in the 6128 manual. I probably knew it off by heart in the late 80s!
Title: Re: Creating disc that automatically runs a CP/M 3.0 program
Post by: GUNHED on 17:09, 12 February 25
Quote from: Jonathan on 02:01, 12 February 25Thank you very much for the very quick reply. They used to say "RTFM", and I now see that this is covered very clearly in the 6128 manual. I probably knew it off by heart in the late 80s!

Yes, it's always good to Read The FutureOS Manual.  ;D 8) :laugh:

But back to good old CP/M...
Actually PROFILE.SUB can contain any kind of command you like to have. In addition there are tools like XSUB.COM which provide much more features.  :)
Powered by SMFPacks Menu Editor Mod