-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I'm trying to use cc65, AppleCommander, and LinApple to develop an Apple II program. I seek to build a make run recipe that formats a disk image, puts the needed files on the disk, and runs it. I'm to the point where I can build a disk image of my program, boot ProDOS 2.4 from https://prodos8.com/ in drive 1 with my program in drive 2, and BRUN MYPROGRAM,D2 from the BASIC prompt.
I tried to refine the process without having to type that every time. A snag I ran into is that ProDOS doesn't appear to boot from a disk image formatted with AppleCommander 1.6.0 on OpenJDK 17 on Xubuntu 21.10.
# Format the disk
java -jar ac -pro140 run.po RUN
# Copy two files from ProDOS 2.4
java -jar ac -g ProDOS_2_4.dsk PRODOS | java -jar ac -p run.po PRODOS sys 0x2000
java -jar ac -g ProDOS_2_4.dsk BASIC.SYSTEM | java -jar ac -p run.po BASIC.SYSTEM sys 0x2000
# Boot the disk
linapple -1 run.po -r
Instead of the expected PRODOS BASIC prompt, I get this
APPLECOMMANDER CREATED THIS DISK
VISIT APPLECOMMANDER.GITHUB.IO
INSERT ANOTHER DISK AND PRESS ANY KEY
Is there a way to format a bootable disk using AppleCommander? Or did I miss some documentation about the lack of bootability?