How to use AUTOBOOT.X16 and BOOT command

Get technical support from the community & developers with specific X16 programs if you can't find the solution elsewhere
(for general non-support related chat about programs please comment directly under the program in the software library)
Post Reply
voidstar
Posts: 356
Joined: Thu Apr 15, 2021 8:05 am

How to use AUTOBOOT.X16 and BOOT command

Post by voidstar »

The X16 DOS has a command "BOOT" that ( per my understanding ) essentially does this:

LOAD "AUTOBOOT.X16"

(RUN is not necessary in the file because the BOOT command itself is going to do that)


So if your software title includes a ton of other support files, sometimes it is hard for end users to find the proper PRG file to launch your program. Or if you just don't want to type LOAD"xyz.prg" over and over while testing, you can prepare an AUTOBOOT.X16 (but it must be in the BASIC tokenized form, so you have to create it "on system" or in the emulator).

You could do other BASIC statements, like a menu to choose different versions of your runtime, or pre-set the SCREEN mode in a more appropriate resolution, etc.

Then just type BOOT to "run" your AUTOBOOT.X16
Attachments
IMG_1913A.jpg
IMG_1913A.jpg (712.06 KiB) Viewed 2021 times
Last edited by voidstar on Wed Oct 18, 2023 7:23 am, edited 1 time in total.
voidstar
Posts: 356
Joined: Thu Apr 15, 2021 8:05 am

Re: How to use AUTOBOOT.X16 and BOOT command

Post by voidstar »

Also, if there is an AUTOBOOT.X16 in the root folder of the SD card, the system will "BOOT" that automatically on startup.
Post Reply