Jump to content
Posted Thu Sep 13, 2018 6:54 AM
Posted Thu Sep 13, 2018 9:49 PM
The OS boot loader can't load executables, it only loads a block of data. The first boot sector gives the load address and the total number of sectors to load. Single and enhanced density disks can load up to 32K. Double density disks can only load 384 bytes, so they need a two-stage boot. Your best bet is to use DOS or a mini-DOS and have it load your program as AUTORUN.SYS.
Posted Fri Sep 14, 2018 8:33 AM
If you don't mind a cross-platform solution, look here: http://www.horus.com/~hias/atari/
You are looking for dir2atr and Picoboot. The two tools can create an .atr image that contains a single binary load file (.xex) together with a special bootloader that loads and executes the binary load file. So you insert the disk, power-on the computer and the .xex file loads automatically.
Provided that you installed the dir2atr tool, you can execute a simple batch file that will create your auto-starting disk
@ECHO OFF REM Create directory with disk contents mkdir disk_contents REM Copy the xex file to the disk_contents directory copy mygame.xex disk_contents\MYGAME.COM REM Create bootable disk dir2atr.exe -b PicoBoot405 720 "MyGameDisk.atr" disk_contents pause
Posted Fri Sep 14, 2018 12:10 PM
hello, thanks for the help.
Posted Fri Sep 14, 2018 2:17 PM
Your best bet is to use DOS or a mini-DOS and have it load your program as AUTORUN.SYS.
where is there a minidos please
Posted Fri Sep 14, 2018 3:17 PM
"MiniDOS" is a general term. It denotes any miniature DOS that can just load a binary load file. PicoBoot is also one of the "MiniDOSes"
Try MICRODOS II
1. Prepare an ATR image with just your binary load file
2. Boot MICRODOS II from its disk image
3. Insert the image prepared in step 1
4. Enter information you are prompted for
5. MICRODOS II will write a boot loader to your disk image
Then you can boot from your disk image.
Posted Sat Sep 15, 2018 2:00 AM
0 members, 0 guests, 0 anonymous users