2010-02-04 00:52:31 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2010, Adam Dunkels.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
# are met:
|
|
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer in the
|
|
|
|
# documentation and/or other materials provided with the distribution.
|
|
|
|
# 3. The name of the author may not be used to endorse or promote
|
|
|
|
# products derived from this software without specific prior
|
|
|
|
# written permission.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
|
|
|
|
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
|
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
|
|
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
|
|
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
|
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
|
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
#
|
|
|
|
# This file is part of the Contiki operating system.
|
|
|
|
#
|
|
|
|
# Author: Oliver Schmidt <ol.sc@web.de>
|
|
|
|
#
|
|
|
|
|
2010-10-05 00:13:45 +02:00
|
|
|
ifndef CONTIKI
|
2013-02-05 21:07:54 +01:00
|
|
|
${error CONTIKI not defined! You must specify where Contiki resides}
|
2010-10-05 00:13:45 +02:00
|
|
|
endif
|
|
|
|
|
2010-02-04 00:52:31 +01:00
|
|
|
ifndef CC65_HOME
|
|
|
|
${error CC65_HOME not defined! You must specify where cc65 resides}
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef AC
|
|
|
|
${error AC not defined! You must specify where the AppleCommander jar resides}
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef C1541
|
|
|
|
${error C1541 not defined! You must specify where VICE c1541 resides}
|
|
|
|
endif
|
|
|
|
|
2010-09-30 00:41:37 +02:00
|
|
|
ifndef DIR2ATR
|
|
|
|
${error DIR2ATR not defined! You must specify where dir2atr resides}
|
|
|
|
endif
|
|
|
|
|
2013-02-05 21:07:54 +01:00
|
|
|
all: apple2 atari c64 c128
|
2010-02-04 00:52:31 +01:00
|
|
|
|
2015-10-20 18:18:35 +02:00
|
|
|
ifeq ($(shell echo),)
|
|
|
|
NULLDEV = /dev/null
|
|
|
|
else
|
|
|
|
NULLDEV = nul:
|
|
|
|
endif
|
|
|
|
|
|
|
|
ZIPCOMMENT := $(shell git rev-parse --short HEAD 2>$(NULLDEV))
|
|
|
|
ifeq ($(words $(ZIPCOMMENT)),1)
|
|
|
|
ZIPCOMMENT := https://github.com/contiki-os/contiki/commits/$(ZIPCOMMENT)
|
|
|
|
else
|
|
|
|
ZIPCOMMENT := N/A
|
|
|
|
endif
|
|
|
|
|
2010-10-05 00:13:45 +02:00
|
|
|
define makes
|
|
|
|
$1-makes:
|
2015-10-30 12:42:58 +01:00
|
|
|
$(MAKE) -C ../../cpu/6502/ethconfig TARGET=$1
|
|
|
|
$(MAKE) -C ../../cpu/6502/ipconfig TARGET=$1
|
|
|
|
$(MAKE) -C ../../examples/webbrowser TARGET=$1
|
|
|
|
$(MAKE) -C ../../examples/webbrowser-80col TARGET=$1
|
|
|
|
$(MAKE) -C ../../examples/wget TARGET=$1
|
|
|
|
$(MAKE) -C ../../examples/irc TARGET=$1
|
|
|
|
$(MAKE) -C ../../examples/irc-80col TARGET=$1
|
|
|
|
$(MAKE) -C ../../examples/webserver TARGET=$1 HTTPD-CFS=1
|
|
|
|
$(MAKE) -C ../../examples/telnet-server TARGET=$1
|
2010-10-05 00:13:45 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call makes,apple2enh))
|
|
|
|
|
2015-10-20 18:18:35 +02:00
|
|
|
%.zip:
|
|
|
|
zip $@ $^
|
|
|
|
echo $(ZIPCOMMENT) | zip -z $@
|
|
|
|
|
|
|
|
apple2: contiki-apple2.zip
|
|
|
|
|
|
|
|
contiki-apple2.zip: contiki-apple2-1.dsk contiki-apple2-2.dsk contiki-apple2-3.dsk contiki-apple2.po
|
2013-02-05 21:07:54 +01:00
|
|
|
|
2013-02-04 23:29:07 +01:00
|
|
|
contiki-apple2-1.dsk: apple2enh-makes
|
|
|
|
cp ../apple2enh/prodos.dsk $@
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ menu.system sys < ../apple2enh/menu.system
|
|
|
|
java -jar $(AC) -p $@ ethconfi.system sys < $(CC65_HOME)/targetutil/loader.system
|
|
|
|
java -jar $(AC) -cc65 $@ ethconfi bin < ../../cpu/6502/ethconfig/ethconfig.apple2enh
|
|
|
|
java -jar $(AC) -p $@ ipconfig.system sys < $(CC65_HOME)/targetutil/loader.system
|
|
|
|
java -jar $(AC) -cc65 $@ ipconfig bin < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
|
|
|
java -jar $(AC) -p $@ webbrows.system sys < $(CC65_HOME)/targetutil/loader.system
|
2015-10-30 12:42:58 +01:00
|
|
|
java -jar $(AC) -cc65 $@ webbrows bin < ../../examples/webbrowser-80col/webbrowser.apple2enh
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ wget.system sys < $(CC65_HOME)/targetutil/loader.system
|
2013-02-04 23:29:07 +01:00
|
|
|
java -jar $(AC) -cc65 $@ wget bin < ../../examples/wget/wget.apple2enh
|
2013-10-03 23:54:33 +02:00
|
|
|
java -jar $(AC) -p $@ contiki.cfg bin 0 < ../apple2enh/default.cfg
|
2013-11-21 21:57:42 +01:00
|
|
|
java -jar $(AC) -p $@ cs8900a.eth rel 0 < ../../cpu/6502/ethconfig/cs8900a.eth
|
|
|
|
java -jar $(AC) -p $@ lan91c96.eth rel 0 < ../../cpu/6502/ethconfig/lan91c96.eth
|
|
|
|
java -jar $(AC) -p $@ w5100.eth rel 0 < ../../cpu/6502/ethconfig/w5100.eth
|
2014-01-17 23:45:59 +01:00
|
|
|
java -jar $(AC) -p $@ contiki.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
2013-02-02 01:07:50 +01:00
|
|
|
|
2013-02-04 23:29:07 +01:00
|
|
|
contiki-apple2-2.dsk: apple2enh-makes
|
|
|
|
cp ../apple2enh/prodos.dsk $@
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ menu.system sys < ../apple2enh/menu.system
|
|
|
|
java -jar $(AC) -p $@ ethconfi.system sys < $(CC65_HOME)/targetutil/loader.system
|
|
|
|
java -jar $(AC) -cc65 $@ ethconfi bin < ../../cpu/6502/ethconfig/ethconfig.apple2enh
|
|
|
|
java -jar $(AC) -p $@ ipconfig.system sys < $(CC65_HOME)/targetutil/loader.system
|
|
|
|
java -jar $(AC) -cc65 $@ ipconfig bin < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
|
|
|
java -jar $(AC) -p $@ irc.system sys < $(CC65_HOME)/targetutil/loader.system
|
2015-10-30 12:42:58 +01:00
|
|
|
java -jar $(AC) -cc65 $@ irc bin < ../../examples/irc-80col/irc-client.apple2enh
|
2013-10-03 23:54:33 +02:00
|
|
|
java -jar $(AC) -p $@ contiki.cfg bin 0 < ../apple2enh/default.cfg
|
2013-11-21 21:57:42 +01:00
|
|
|
java -jar $(AC) -p $@ cs8900a.eth rel 0 < ../../cpu/6502/ethconfig/cs8900a.eth
|
|
|
|
java -jar $(AC) -p $@ lan91c96.eth rel 0 < ../../cpu/6502/ethconfig/lan91c96.eth
|
|
|
|
java -jar $(AC) -p $@ w5100.eth rel 0 < ../../cpu/6502/ethconfig/w5100.eth
|
2014-01-17 23:45:59 +01:00
|
|
|
java -jar $(AC) -p $@ contiki.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
2013-02-02 01:07:50 +01:00
|
|
|
|
2013-02-04 23:29:07 +01:00
|
|
|
contiki-apple2-3.dsk: apple2enh-makes
|
|
|
|
cp ../apple2enh/prodos.dsk $@
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ menu.system sys < ../apple2enh/menu.system
|
|
|
|
java -jar $(AC) -p $@ ethconfi.system sys < $(CC65_HOME)/targetutil/loader.system
|
|
|
|
java -jar $(AC) -cc65 $@ ethconfi bin < ../../cpu/6502/ethconfig/ethconfig.apple2enh
|
|
|
|
java -jar $(AC) -p $@ ipconfig.system sys < $(CC65_HOME)/targetutil/loader.system
|
|
|
|
java -jar $(AC) -cc65 $@ ipconfig bin < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
|
|
|
java -jar $(AC) -p $@ webserv.system sys < $(CC65_HOME)/targetutil/loader.system
|
2013-02-04 23:29:07 +01:00
|
|
|
java -jar $(AC) -cc65 $@ webserv bin < ../../examples/webserver/webserver-example.apple2enh
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ telnetd.system sys < $(CC65_HOME)/targetutil/loader.system
|
2013-02-04 23:29:07 +01:00
|
|
|
java -jar $(AC) -cc65 $@ telnetd bin < ../../examples/telnet-server/telnet-server.apple2enh
|
2013-10-03 23:54:33 +02:00
|
|
|
java -jar $(AC) -p $@ contiki.cfg bin 0 < ../apple2enh/default.cfg
|
2013-11-21 21:57:42 +01:00
|
|
|
java -jar $(AC) -p $@ cs8900a.eth rel 0 < ../../cpu/6502/ethconfig/cs8900a.eth
|
|
|
|
java -jar $(AC) -p $@ lan91c96.eth rel 0 < ../../cpu/6502/ethconfig/lan91c96.eth
|
|
|
|
java -jar $(AC) -p $@ w5100.eth rel 0 < ../../cpu/6502/ethconfig/w5100.eth
|
2014-01-17 23:45:59 +01:00
|
|
|
java -jar $(AC) -p $@ contiki.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
2013-02-04 23:29:07 +01:00
|
|
|
java -jar $(AC) -p $@ index.htm bin 0 < ../../examples/webserver/httpd-cfs/index.htm
|
|
|
|
java -jar $(AC) -p $@ backgrnd.gif bin 0 < ../../examples/webserver/httpd-cfs/backgrnd.gif
|
|
|
|
java -jar $(AC) -p $@ contiki.gif bin 0 < ../../examples/webserver/httpd-cfs/contiki.gif
|
|
|
|
java -jar $(AC) -p $@ notfound.htm bin 0 < ../../examples/webserver/httpd-cfs/notfound.htm
|
2010-09-30 00:41:37 +02:00
|
|
|
|
2015-07-05 14:21:03 +02:00
|
|
|
contiki-apple2.po: apple2enh-makes
|
|
|
|
cp ../apple2enh/prodos.po $@
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ menu.system sys < ../apple2enh/menu.system
|
|
|
|
java -jar $(AC) -p $@ ethconfi.system sys < $(CC65_HOME)/targetutil/loader.system
|
|
|
|
java -jar $(AC) -cc65 $@ ethconfi bin < ../../cpu/6502/ethconfig/ethconfig.apple2enh
|
|
|
|
java -jar $(AC) -p $@ ipconfig.system sys < $(CC65_HOME)/targetutil/loader.system
|
|
|
|
java -jar $(AC) -cc65 $@ ipconfig bin < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
|
|
|
java -jar $(AC) -p $@ webbrows.system sys < $(CC65_HOME)/targetutil/loader.system
|
2015-10-30 12:42:58 +01:00
|
|
|
java -jar $(AC) -cc65 $@ webbrows bin < ../../examples/webbrowser-80col/webbrowser.apple2enh
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ wget.system sys < $(CC65_HOME)/targetutil/loader.system
|
2013-02-05 21:07:54 +01:00
|
|
|
java -jar $(AC) -cc65 $@ wget bin < ../../examples/wget/wget.apple2enh
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ irc.system sys < $(CC65_HOME)/targetutil/loader.system
|
2015-10-30 12:42:58 +01:00
|
|
|
java -jar $(AC) -cc65 $@ irc bin < ../../examples/irc-80col/irc-client.apple2enh
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ webserv.system sys < $(CC65_HOME)/targetutil/loader.system
|
2013-02-05 21:07:54 +01:00
|
|
|
java -jar $(AC) -cc65 $@ webserv bin < ../../examples/webserver/webserver-example.apple2enh
|
2015-02-21 17:16:08 +01:00
|
|
|
java -jar $(AC) -p $@ telnetd.system sys < $(CC65_HOME)/targetutil/loader.system
|
2013-02-05 21:07:54 +01:00
|
|
|
java -jar $(AC) -cc65 $@ telnetd bin < ../../examples/telnet-server/telnet-server.apple2enh
|
2013-10-03 23:54:33 +02:00
|
|
|
java -jar $(AC) -p $@ contiki.cfg bin 0 < ../apple2enh/default.cfg
|
2013-11-21 21:57:42 +01:00
|
|
|
java -jar $(AC) -p $@ cs8900a.eth rel 0 < ../../cpu/6502/ethconfig/cs8900a.eth
|
|
|
|
java -jar $(AC) -p $@ lan91c96.eth rel 0 < ../../cpu/6502/ethconfig/lan91c96.eth
|
|
|
|
java -jar $(AC) -p $@ w5100.eth rel 0 < ../../cpu/6502/ethconfig/w5100.eth
|
2014-01-17 23:45:59 +01:00
|
|
|
java -jar $(AC) -p $@ contiki.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
2013-02-05 21:07:54 +01:00
|
|
|
java -jar $(AC) -p $@ index.htm bin 0 < ../../examples/webserver/httpd-cfs/index.htm
|
|
|
|
java -jar $(AC) -p $@ backgrnd.gif bin 0 < ../../examples/webserver/httpd-cfs/backgrnd.gif
|
|
|
|
java -jar $(AC) -p $@ contiki.gif bin 0 < ../../examples/webserver/httpd-cfs/contiki.gif
|
|
|
|
java -jar $(AC) -p $@ notfound.htm bin 0 < ../../examples/webserver/httpd-cfs/notfound.htm
|
|
|
|
|
2013-10-03 23:54:33 +02:00
|
|
|
$(eval $(call makes,atarixl))
|
2010-10-05 00:13:45 +02:00
|
|
|
|
2015-10-20 18:18:35 +02:00
|
|
|
atari: contiki-atari.zip
|
|
|
|
|
|
|
|
contiki-atari.zip: contiki-atari-1.atr contiki-atari-2.atr contiki-atari-3.atr contiki-atari.atr
|
2013-02-05 21:07:54 +01:00
|
|
|
|
2013-10-03 23:54:33 +02:00
|
|
|
contiki-atari-1.atr: atarixl-makes
|
2013-02-03 23:47:25 +01:00
|
|
|
mkdir atr
|
2013-10-06 17:23:39 +02:00
|
|
|
cp ../atarixl/dos25/dos.sys atr/dos.sys
|
|
|
|
cp ../atarixl/dos25/dup.sys atr/dup.sys
|
|
|
|
cp ../../cpu/6502/ipconfig/ipconfig.atarixl atr/ipconfig.com
|
|
|
|
cp ../../examples/webbrowser/webbrowser.atarixl atr/webbrows.com
|
|
|
|
cp ../../examples/wget/wget.atarixl atr/wget.com
|
|
|
|
cp ../atarixl/default.cfg atr/contiki.cfg
|
2013-11-21 21:57:42 +01:00
|
|
|
cp ../../cpu/6502/ethconfig/cs8900a.eth atr/cs8900a.eth
|
2014-01-20 22:51:40 +01:00
|
|
|
cp $(CC65_HOME)/mou/atrxst.mou atr/contiki.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxami.mou atr/ami.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxjoy.mou atr/joy.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxtrk.mou atr/trk.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxtt.mou atr/tt.mou
|
2013-02-04 23:29:07 +01:00
|
|
|
$(DIR2ATR) -b Dos25 1040 $@ atr
|
2010-09-30 00:41:37 +02:00
|
|
|
rm -r atr
|
|
|
|
|
2013-10-03 23:54:33 +02:00
|
|
|
contiki-atari-2.atr: atarixl-makes
|
2013-02-03 23:47:25 +01:00
|
|
|
mkdir atr
|
2015-06-14 21:19:37 +02:00
|
|
|
cp ../atarixl/dos25/dos.sys atr/dos.sys
|
|
|
|
cp ../atarixl/dos25/dup.sys atr/dup.sys
|
|
|
|
cp ../../cpu/6502/ipconfig/ipconfig.atarixl atr/ipconfig.com
|
|
|
|
cp ../../examples/irc/irc-client.atarixl atr/irc.com
|
|
|
|
cp ../atarixl/default.cfg atr/contiki.cfg
|
|
|
|
cp ../../cpu/6502/ethconfig/cs8900a.eth atr/cs8900a.eth
|
|
|
|
cp $(CC65_HOME)/mou/atrxst.mou atr/contiki.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxami.mou atr/ami.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxjoy.mou atr/joy.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxtrk.mou atr/trk.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxtt.mou atr/tt.mou
|
2013-02-04 23:29:07 +01:00
|
|
|
$(DIR2ATR) -b Dos25 1040 $@ atr
|
2010-10-02 00:38:39 +02:00
|
|
|
rm -r atr
|
|
|
|
|
2013-10-03 23:54:33 +02:00
|
|
|
contiki-atari-3.atr: atarixl-makes
|
2013-02-03 23:47:25 +01:00
|
|
|
mkdir atr
|
2013-10-06 17:23:39 +02:00
|
|
|
cp ../atarixl/dos25/dos.sys atr/dos.sys
|
|
|
|
cp ../atarixl/dos25/dup.sys atr/dup.sys
|
|
|
|
cp ../../cpu/6502/ipconfig/ipconfig.atarixl atr/ipconfig.com
|
|
|
|
cp ../../examples/webserver/webserver-example.atarixl atr/webserv.com
|
|
|
|
cp ../../examples/telnet-server/telnet-server.atarixl atr/telnetd.com
|
|
|
|
cp ../atarixl/default.cfg atr/contiki.cfg
|
2013-11-21 21:57:42 +01:00
|
|
|
cp ../../cpu/6502/ethconfig/cs8900a.eth atr/cs8900a.eth
|
2014-01-20 22:51:40 +01:00
|
|
|
cp $(CC65_HOME)/mou/atrxst.mou atr/contiki.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxami.mou atr/ami.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxjoy.mou atr/joy.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxtrk.mou atr/trk.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxtt.mou atr/tt.mou
|
2013-10-06 17:23:39 +02:00
|
|
|
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/contiki.gif atr/contiki.gif
|
|
|
|
cp ../../examples/webserver/httpd-cfs/notfound.htm atr/notfound.htm
|
2013-02-04 23:29:07 +01:00
|
|
|
$(DIR2ATR) -b Dos25 1040 $@ atr
|
2010-09-30 00:41:37 +02:00
|
|
|
rm -r atr
|
2013-02-04 23:29:07 +01:00
|
|
|
|
2013-10-03 23:54:33 +02:00
|
|
|
contiki-atari.atr: atarixl-makes
|
2013-02-05 23:06:48 +01:00
|
|
|
mkdir atr
|
2015-06-14 21:19:37 +02:00
|
|
|
cp ../atarixl/mydos4534/dos.sys atr/dos.sys
|
|
|
|
cp ../atarixl/mydos4534/dup.sys atr/dup.sys
|
|
|
|
cp ../../cpu/6502/ipconfig/ipconfig.atarixl atr/ipconfig.com
|
|
|
|
cp ../../examples/webbrowser/webbrowser.atarixl atr/webbrows.com
|
|
|
|
cp ../../examples/wget/wget.atarixl atr/wget.com
|
|
|
|
cp ../../examples/irc/irc-client.atarixl atr/irc.com
|
|
|
|
cp ../../examples/webserver/webserver-example.atarixl atr/webserv.com
|
|
|
|
cp ../../examples/telnet-server/telnet-server.atarixl atr/telnetd.com
|
|
|
|
cp ../atarixl/default.cfg atr/contiki.cfg
|
|
|
|
cp ../../cpu/6502/ethconfig/cs8900a.eth atr/cs8900a.eth
|
|
|
|
cp $(CC65_HOME)/mou/atrxst.mou atr/contiki.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxami.mou atr/ami.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxjoy.mou atr/joy.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxtrk.mou atr/trk.mou
|
|
|
|
cp $(CC65_HOME)/mou/atrxtt.mou atr/tt.mou
|
|
|
|
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/contiki.gif atr/contiki.gif
|
|
|
|
cp ../../examples/webserver/httpd-cfs/notfound.htm atr/notfound.htm
|
2013-02-05 23:06:48 +01:00
|
|
|
$(DIR2ATR) -d -b MyDos4534 3200 $@ atr
|
|
|
|
rm -r atr
|
|
|
|
|
2013-02-04 23:29:07 +01:00
|
|
|
$(eval $(call makes,c64))
|
|
|
|
|
2015-10-20 18:18:35 +02:00
|
|
|
c64: contiki-c64.zip
|
|
|
|
|
|
|
|
contiki-c64.zip: contiki-c64-1.d64 contiki-c64-2.d64 contiki-c64.d71 contiki-c64.d81
|
2013-02-05 21:07:54 +01:00
|
|
|
|
2013-02-04 23:29:07 +01:00
|
|
|
contiki-c64-1.d64: c64-makes
|
|
|
|
$(C1541) -format contiki-1,00 d64 $@
|
2013-11-21 21:57:42 +01:00
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/ethconfig.c64 ethconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/wget/wget.c64 wget,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c64 irc,p
|
2013-12-12 18:57:40 +01:00
|
|
|
$(C1541) -attach $@ -write ../c64/default.cfg contiki.cfg,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/cs8900a.eth cs8900a.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/lan91c96.eth lan91c96.eth,s
|
2014-01-17 23:45:59 +01:00
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-1351.mou contiki.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-inkwell.mou inkwell.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-joy.mou joy.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-pot.mou pot.mou,s
|
2013-11-21 21:57:42 +01:00
|
|
|
|
|
|
|
contiki-c64-2.d64: c64-makes
|
|
|
|
$(C1541) -format contiki-3,00 d64 $@
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/ethconfig.c64 ethconfig,p
|
2013-02-04 23:29:07 +01:00
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c64 webserver,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c64 telnetd,p
|
2013-12-12 18:57:40 +01:00
|
|
|
$(C1541) -attach $@ -write ../c64/default.cfg contiki.cfg,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/cs8900a.eth cs8900a.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/lan91c96.eth lan91c96.eth,s
|
2014-01-17 23:45:59 +01:00
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-1351.mou contiki.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-inkwell.mou inkwell.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-joy.mou joy.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-pot.mou pot.mou,s
|
2013-12-12 18:57:40 +01:00
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,s
|
2013-02-04 23:29:07 +01:00
|
|
|
|
|
|
|
contiki-c64.d71: c64-makes
|
|
|
|
$(C1541) -format contiki,00 d71 $@
|
2015-06-14 21:19:37 +02:00
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/ethconfig.c64 ethconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/wget/wget.c64 wget,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c64 irc,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c64 webserver,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c64 telnetd,p
|
|
|
|
$(C1541) -attach $@ -write ../c64/default.cfg contiki.cfg,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/cs8900a.eth cs8900a.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/lan91c96.eth lan91c96.eth,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-1351.mou contiki.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-inkwell.mou inkwell.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-joy.mou joy.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-pot.mou pot.mou,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,s
|
2013-02-04 23:29:07 +01:00
|
|
|
|
|
|
|
contiki-c64.d81: c64-makes
|
|
|
|
$(C1541) -format contiki,00 d81 $@
|
2015-06-14 21:19:37 +02:00
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/ethconfig.c64 ethconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/wget/wget.c64 wget,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c64 irc,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c64 webserver,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c64 telnetd,p
|
|
|
|
$(C1541) -attach $@ -write ../c64/default.cfg contiki.cfg,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/cs8900a.eth cs8900a.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/lan91c96.eth lan91c96.eth,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-1351.mou contiki.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-inkwell.mou inkwell.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-joy.mou joy.mou,s
|
|
|
|
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-pot.mou pot.mou,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,s
|
2013-02-04 23:29:07 +01:00
|
|
|
|
|
|
|
$(eval $(call makes,c128))
|
|
|
|
|
2015-10-20 18:18:35 +02:00
|
|
|
c128: contiki-c128.zip
|
|
|
|
|
|
|
|
contiki-c128.zip: contiki-c128-1.d64 contiki-c128-2.d64 contiki-c128.d71 contiki-c128.d81
|
2013-02-05 21:07:54 +01:00
|
|
|
|
2013-02-04 23:29:07 +01:00
|
|
|
contiki-c128-1.d64: c128-makes
|
|
|
|
$(C1541) -format contiki-1,00 d64 $@
|
2015-10-30 12:42:58 +01:00
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/ethconfig.c128 ethconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webbrowser-80col/webbrowser.c128 webbrowser,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/wget/wget.c128 wget,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/irc-80col/irc-client.c128 irc,p
|
|
|
|
$(C1541) -attach $@ -write ../c128/default.cfg contiki.cfg,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/cs8900a.eth cs8900a.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/lan91c96.eth lan91c96.eth,s
|
2013-11-21 21:57:42 +01:00
|
|
|
|
|
|
|
contiki-c128-2.d64: c128-makes
|
|
|
|
$(C1541) -format contiki-3,00 d64 $@
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/ethconfig.c128 ethconfig,p
|
2013-02-04 23:29:07 +01:00
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c128 webserver,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c128 telnetd,p
|
2013-12-12 18:57:40 +01:00
|
|
|
$(C1541) -attach $@ -write ../c128/default.cfg contiki.cfg,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/cs8900a.eth cs8900a.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/lan91c96.eth lan91c96.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,s
|
2013-02-04 23:29:07 +01:00
|
|
|
|
|
|
|
contiki-c128.d71: c128-makes
|
|
|
|
$(C1541) -format contiki,00 d71 $@
|
2015-06-14 21:19:37 +02:00
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/ethconfig.c128 ethconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
2015-10-30 12:42:58 +01:00
|
|
|
$(C1541) -attach $@ -write ../../examples/webbrowser-80col/webbrowser.c128 webbrowser,p
|
2015-06-14 21:19:37 +02:00
|
|
|
$(C1541) -attach $@ -write ../../examples/wget/wget.c128 wget,p
|
2015-10-30 12:42:58 +01:00
|
|
|
$(C1541) -attach $@ -write ../../examples/irc-80col/irc-client.c128 irc,p
|
2015-06-14 21:19:37 +02:00
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c128 webserver,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c128 telnetd,p
|
|
|
|
$(C1541) -attach $@ -write ../c128/default.cfg contiki.cfg,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/cs8900a.eth cs8900a.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/lan91c96.eth lan91c96.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,s
|
2013-02-04 23:29:07 +01:00
|
|
|
|
|
|
|
contiki-c128.d81: c128-makes
|
|
|
|
$(C1541) -format contiki,00 d81 $@
|
2015-06-14 21:19:37 +02:00
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/ethconfig.c128 ethconfig,p
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
2015-10-30 12:42:58 +01:00
|
|
|
$(C1541) -attach $@ -write ../../examples/webbrowser-80col/webbrowser.c128 webbrowser,p
|
2015-06-14 21:19:37 +02:00
|
|
|
$(C1541) -attach $@ -write ../../examples/wget/wget.c128 wget,p
|
2015-10-30 12:42:58 +01:00
|
|
|
$(C1541) -attach $@ -write ../../examples/irc-80col/irc-client.c128 irc,p
|
2015-06-14 21:19:37 +02:00
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c128 webserver,p
|
|
|
|
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c128 telnetd,p
|
|
|
|
$(C1541) -attach $@ -write ../c128/default.cfg contiki.cfg,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/cs8900a.eth cs8900a.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../cpu/6502/ethconfig/lan91c96.eth lan91c96.eth,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,s
|
|
|
|
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,s
|