How can I get a game to run automatically at startup instead of having a menu or typing BRUN?
It's easy. Write a single line HELLO (assuming this is the name of the DOS started program) BASIC program that starts your binary game. Or, almost anybody on this forum can do that for you if you attach here your .DSK image...
Save the following file as "Hello" to the disk and make required changess to fit you needs:
10 D$ = CHR$ (4) REM CHR$ (4) = Ctrl-D
note at this point you must know if the game is Applesoft- or Integerbasic or binary
indicated by A, I or B in "catalog"-ing the file.
If the File is one of Basic the next line will look like this:
20 PRINT D$;"RUN GAME"
If the file is binary the next line will look like this:
20 PRINT D$;"BRUN GAME"
and besides: it´s not a bad idea to just read the DOS Manual:
that explains this kind of stuff by examples...
I will add one other possible point... if its Binary is it compiled AppleSoft? If it is, say something from TASC, you will have to modify the Hello program to something similar....
10 PRINT CHR$ (4) + "BLOADRUNTIME" + CHR$ (13) + CHR$ (4) + A$
(BLOAD "RUNTIME" <--- NAME OF COMPILE LIBRARY)
Thanks for the replies, I do have "The DOS Manual" c 1980,81 version, so I got it out. I tried your line 10 SpeedyG and got an error, after referring to the manual I put a colon after the first "(4)". I ended up with:
10 D$ = CHR$ (4): REM CHR$(4) = CTRL-D
20 PRINT D$; "BRUN FROGGER"
then copied the game to the disk and it booted right up, Thanks guys!