Added Breadbox64 to the Atari Makefile (now that I ported BB64 to that target). This made three disk images necessary.

This commit is contained in:
oliverschmidt 2010-10-01 22:38:39 +00:00
parent 5d54b6aba8
commit 1e7cf9865e
3 changed files with 20 additions and 8 deletions

View file

@ -30,7 +30,7 @@
# #
# Author: Oliver Schmidt <ol.sc@web.de> # Author: Oliver Schmidt <ol.sc@web.de>
# #
# $Id: Makefile,v 1.8 2010/09/29 22:41:37 oliverschmidt Exp $ # $Id: Makefile,v 1.9 2010/10/01 22:38:39 oliverschmidt Exp $
# #
ifndef CC65_HOME ifndef CC65_HOME
@ -49,7 +49,10 @@ ifndef DIR2ATR
${error DIR2ATR not defined! You must specify where dir2atr resides} ${error DIR2ATR not defined! You must specify where dir2atr resides}
endif endif
disks: apple2enh-1-disk apple2enh-2-disk apple2enh-3-disk c64-1-disk c64-2-disk c128-1-disk atari-1-disk atari-2-disk disks: apple2enh-1-disk apple2enh-2-disk apple2enh-3-disk \
c64-1-disk c64-2-disk \
c128-1-disk \
atari-1-disk atari-2-disk atari-3-disk
apple2enh-1-disk: apple2enh-1-disk:
cp ../apple2enh/prodos.dsk contiki-1.dsk cp ../apple2enh/prodos.dsk contiki-1.dsk
@ -149,7 +152,6 @@ atari-1-disk:
cp ../../cpu/6502/dhcp/dhcp-client.atari atr/dhcp.com cp ../../cpu/6502/dhcp/dhcp-client.atari atr/dhcp.com
cp ../../examples/webserver/webserver-example.atari atr/webserve.com cp ../../examples/webserver/webserver-example.atari atr/webserve.com
cp ../../examples/webbrowser/webbrowser.atari atr/webbrows.com cp ../../examples/webbrowser/webbrowser.atari atr/webbrows.com
cp ../../examples/wget/wget.atari atr/wget.com
cp ../../examples/webserver/httpd-cfs/index.htm atr/index.htm cp ../../examples/webserver/httpd-cfs/index.htm atr/index.htm
cp ../../examples/webserver/httpd-cfs/backgrnd.gif atr/backgrnd.gif cp ../../examples/webserver/httpd-cfs/backgrnd.gif atr/backgrnd.gif
cp ../../examples/webserver/httpd-cfs/contiki.gif atr/contiki.gif cp ../../examples/webserver/httpd-cfs/contiki.gif atr/contiki.gif
@ -158,13 +160,23 @@ atari-1-disk:
rm -r atr rm -r atr
atari-2-disk: atari-2-disk:
mkdir -p atr
cp ../atari/dos.sys atr/dos.sys
cp ../atari/dup.sys atr/dup.sys
cp dummy.cfg atr/contiki.cfg
cp ../../cpu/6502/dhcp/dhcp-client.atari atr/dhcp.com
cp ../../examples/wget/wget.atari atr/wget.com
cp ../../examples/irc/irc-client.atari atr/irc.com
$(DIR2ATR) -b Dos25 1040 contiki-2.atr atr
rm -r atr
atari-3-disk:
mkdir -p atr mkdir -p atr
cp ../atari/dos.sys atr/dos.sys cp ../atari/dos.sys atr/dos.sys
cp ../atari/dup.sys atr/dup.sys cp ../atari/dup.sys atr/dup.sys
cp dummy.cfg atr/contiki.cfg cp dummy.cfg atr/contiki.cfg
cp ../../cpu/6502/dhcp/dhcp-client.atari atr/dhcp.com cp ../../cpu/6502/dhcp/dhcp-client.atari atr/dhcp.com
cp ../../examples/irc/irc-client.atari atr/irc.com
cp ../../examples/email/email-client.atari atr/email.com cp ../../examples/email/email-client.atari atr/email.com
# cp ../../../../contikiprojects/vandenbrande.com/twitter/platform/atari/breadbox64.atari atr/breadbox.com cp ../../../../contikiprojects/vandenbrande.com/twitter/platform/atari/breadbox64.atari atr/breadbox.com
$(DIR2ATR) -b Dos25 1040 contiki-2.atr atr $(DIR2ATR) -b Dos25 1040 contiki-3.atr atr
rm -r atr rm -r atr

View file

@ -77,7 +77,7 @@
<td colspan="3" /> <td colspan="3" />
</tr><tr class="p"> </tr><tr class="p">
<td> <td>
<input type="radio" name="machine" id="atari" value="atari" onclick="disks(2)" /> <input type="radio" name="machine" id="atari" value="atari" onclick="disks(3)" />
<label for="atari">Atari 8-bit</label> <label for="atari">Atari 8-bit</label>
</td><td colspan="2"> </td><td colspan="2">
<label for="atari-drv">Ethernet Card:</label> <label for="atari-drv">Ethernet Card:</label>

View file

@ -32,7 +32,7 @@ case 'atari':
$hex = strtok($_GET['atari-addr-drv'], '-'); $hex = strtok($_GET['atari-addr-drv'], '-');
$drv = strtok('-'); $drv = strtok('-');
$ext = '-' . $dsk . '.atr'; $ext = '-' . $dsk . '.atr';
$blk = array(0, 5, 4, 0); $blk = array(0, 5, 4, 272);
$ofs = 0x00010 + ($blk[$dsk] - 1) * 0x80; $ofs = 0x00010 + ($blk[$dsk] - 1) * 0x80;
break; break;
} }