mirror of
https://github.com/david-schmidt/FocusDrive3.git
synced 2024-06-10 21:29:28 +00:00
Build a BASIC disk too
This commit is contained in:
parent
7b80abe97a
commit
02561c6ac7
|
@ -7,7 +7,8 @@
|
|||
<property name="acJarVersion" value="1.3.5.13-ac" />
|
||||
<property name="acJarPath" value="${builddir}/lib/AppleCommander" />
|
||||
<property name="acJar" value="AppleCommander-${acJarVersion}.jar" />
|
||||
<property name="diskImage" value="Focus3SystemUtilities.dsk" />
|
||||
<property name="sysUtilDiskImage" value="Focus3SystemUtilities.dsk" />
|
||||
<property name="basicDiskImage" value="Focus3BusinessBASIC.dsk" />
|
||||
<property name="baseImagePath" value="${projdir}/dsk" />
|
||||
<taskdef name="appleCommander" classname="com.webcodepro.applecommander.ui.AntTask" classpath="${acJarPath}/${acJar}"/>
|
||||
<target name="all" description="Bulid everything." depends="wipe, prep, assemble, link, builddsk, clean">
|
||||
|
@ -20,7 +21,8 @@
|
|||
</target>
|
||||
<target name="prep">
|
||||
<echo message="Copying base images..."/>
|
||||
<copy file="${baseImagePath}/${diskImage}" tofile="${projdir}/out/${diskImage}" />
|
||||
<copy file="${baseImagePath}/${sysUtilDiskImage}" tofile="${projdir}/out/${sysUtilDiskImage}" />
|
||||
<copy file="${baseImagePath}/${basicDiskImage}" tofile="${projdir}/out/${basicDiskImage}" />
|
||||
</target>
|
||||
<target name="assemble" description="Assemble driver source.">
|
||||
<!--
|
||||
|
@ -43,10 +45,10 @@
|
|||
</target>
|
||||
<target name="builddsk">
|
||||
<!--
|
||||
Manipulate disk image
|
||||
Manipulate disk images
|
||||
-->
|
||||
<echo message="Extracting SOS.DRIVER..."/>
|
||||
<appleCommander command="g" imagename="${projdir}/out/${diskImage}" filename="SOS.DRIVER" output="${projdir}/out/SOS.DRIVER#0c0000" />
|
||||
<appleCommander command="g" imagename="${projdir}/out/${sysUtilDiskImage}" filename="SOS.DRIVER" output="${projdir}/out/SOS.DRIVER#0c0000" />
|
||||
<echo message="Deleting CFFA driver from SOS.DRIVER..."/>
|
||||
<exec executable="${python27Path}python">
|
||||
<arg value="${builddir}/lib/A3Driverutil/A3Driverutil.py"/>
|
||||
|
@ -61,10 +63,12 @@
|
|||
<arg value="${projdir}/out/focus3.o65"/>
|
||||
<arg value="${projdir}/out/SOS.DRIVER#0c0000"/>
|
||||
</exec>
|
||||
<echo message="Deleting SOS.DRIVER from disk image..."/>
|
||||
<appleCommander command="d" imagename="${projdir}/out/${diskImage}" filename="SOS.DRIVER" failonerror="false"/>
|
||||
<echo message="Putting updated SOS.DRIVER back on disk image..."/>
|
||||
<appleCommander command="p" input="${projdir}/out/SOS.DRIVER#0c0000" imagename="${projdir}/out/${diskImage}" filename="SOS.DRIVER" type="$0000" />
|
||||
<echo message="Deleting SOS.DRIVER from disk images..."/>
|
||||
<appleCommander command="d" imagename="${projdir}/out/${sysUtilDiskImage}" filename="SOS.DRIVER" failonerror="false"/>
|
||||
<appleCommander command="d" imagename="${projdir}/out/${basicDiskImage}" filename="SOS.DRIVER" failonerror="false"/>
|
||||
<echo message="Putting updated SOS.DRIVER back on disk images..."/>
|
||||
<appleCommander command="p" input="${projdir}/out/SOS.DRIVER#0c0000" imagename="${projdir}/out/${sysUtilDiskImage}" filename="SOS.DRIVER" type="$0000" />
|
||||
<appleCommander command="p" input="${projdir}/out/SOS.DRIVER#0c0000" imagename="${projdir}/out/${basicDiskImage}" filename="SOS.DRIVER" type="$0000" />
|
||||
</target>
|
||||
<target name="clean">
|
||||
<!--
|
||||
|
|
BIN
dsk/Focus3BusinessBASIC.dsk
Executable file
BIN
dsk/Focus3BusinessBASIC.dsk
Executable file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user