mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Merge pull request #106 from oliverschmidt/master
Moved retro IP configuration from web site to target machine / Deliver retro CBM disk images as .d64, .d71 and .d81 files.
This commit is contained in:
commit
9e3dfb7ce2
@ -53,10 +53,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 apple2enh-4-disk \
|
disks: apple2-dsk-1 apple2-dsk-2 apple2-dsk-3 apple2-dsk-4 \
|
||||||
c64-1-disk c64-2-disk \
|
c64-d64-1 c64-d64-2 c64-d71 c64-d81 \
|
||||||
c128-1-disk \
|
c128-d64-1 c128-d64-2 c128-d71 c128-d81 \
|
||||||
atari-1-disk atari-2-disk atari-3-disk atari-4-disk
|
atari-atr-1 atari-atr-2 atari-atr-3 atari-atr-4
|
||||||
|
|
||||||
define makes
|
define makes
|
||||||
$1-makes:
|
$1-makes:
|
||||||
@ -72,121 +72,199 @@ endef
|
|||||||
|
|
||||||
$(eval $(call makes,apple2enh))
|
$(eval $(call makes,apple2enh))
|
||||||
|
|
||||||
apple2enh-1-disk: apple2enh-makes
|
apple2-dsk-1: apple2enh-makes
|
||||||
cp ../apple2enh/prodos.dsk contiki-1.dsk
|
cp ../apple2enh/prodos.dsk contiki-apple2-1.dsk
|
||||||
java -jar $(AC) -p contiki-1.dsk contiki.cfg bin 0 < dummy.cfg
|
java -jar $(AC) -p contiki-apple2-1.dsk contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||||
java -jar $(AC) -p contiki-1.dsk menu.system sys 0 < ../apple2enh/menu.system
|
java -jar $(AC) -p contiki-apple2-1.dsk menu.system sys 0 < ../apple2enh/menu.system
|
||||||
java -jar $(AC) -p contiki-1.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-1.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-1.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-1.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||||
java -jar $(AC) -p contiki-1.dsk webserve.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-1.dsk webserve.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-1.dsk webserve bin < ../../examples/webserver/webserver-example.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-1.dsk webserve bin < ../../examples/webserver/webserver-example.apple2enh
|
||||||
java -jar $(AC) -p contiki-1.dsk webbrows.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-1.dsk webbrows.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-1.dsk webbrows bin < ../../examples/webbrowser/webbrowser.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-1.dsk webbrows bin < ../../examples/webbrowser/webbrowser.apple2enh
|
||||||
java -jar $(AC) -p contiki-1.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
java -jar $(AC) -p contiki-apple2-1.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||||
java -jar $(AC) -p contiki-1.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
java -jar $(AC) -p contiki-apple2-1.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||||
java -jar $(AC) -p contiki-1.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
java -jar $(AC) -p contiki-apple2-1.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||||
java -jar $(AC) -p contiki-1.dsk index.htm bin 0 < ../../examples/webserver/httpd-cfs/index.htm
|
java -jar $(AC) -p contiki-apple2-1.dsk index.htm bin 0 < ../../examples/webserver/httpd-cfs/index.htm
|
||||||
java -jar $(AC) -p contiki-1.dsk backgrnd.gif bin 0 < ../../examples/webserver/httpd-cfs/backgrnd.gif
|
java -jar $(AC) -p contiki-apple2-1.dsk backgrnd.gif bin 0 < ../../examples/webserver/httpd-cfs/backgrnd.gif
|
||||||
java -jar $(AC) -p contiki-1.dsk contiki.gif bin 0 < ../../examples/webserver/httpd-cfs/contiki.gif
|
java -jar $(AC) -p contiki-apple2-1.dsk contiki.gif bin 0 < ../../examples/webserver/httpd-cfs/contiki.gif
|
||||||
java -jar $(AC) -p contiki-1.dsk notfound.htm bin 0 < ../../examples/webserver/httpd-cfs/notfound.htm
|
java -jar $(AC) -p contiki-apple2-1.dsk notfound.htm bin 0 < ../../examples/webserver/httpd-cfs/notfound.htm
|
||||||
|
|
||||||
apple2enh-2-disk: apple2enh-makes
|
apple2-dsk-2: apple2enh-makes
|
||||||
cp ../apple2enh/prodos.dsk contiki-2.dsk
|
cp ../apple2enh/prodos.dsk contiki-apple2-2.dsk
|
||||||
java -jar $(AC) -p contiki-2.dsk contiki.cfg bin 0 < dummy.cfg
|
java -jar $(AC) -p contiki-apple2-2.dsk contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||||
java -jar $(AC) -p contiki-2.dsk menu.system sys 0 < ../apple2enh/menu.system
|
java -jar $(AC) -p contiki-apple2-2.dsk menu.system sys 0 < ../apple2enh/menu.system
|
||||||
java -jar $(AC) -p contiki-2.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-2.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-2.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-2.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||||
java -jar $(AC) -p contiki-2.dsk wget.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-2.dsk wget.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-2.dsk wget bin < ../../examples/wget/wget.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-2.dsk wget bin < ../../examples/wget/wget.apple2enh
|
||||||
java -jar $(AC) -p contiki-2.dsk irc.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-2.dsk irc.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-2.dsk irc bin < ../../examples/irc/irc-client.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-2.dsk irc bin < ../../examples/irc/irc-client.apple2enh
|
||||||
java -jar $(AC) -p contiki-2.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
java -jar $(AC) -p contiki-apple2-2.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||||
java -jar $(AC) -p contiki-2.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
java -jar $(AC) -p contiki-apple2-2.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||||
java -jar $(AC) -p contiki-2.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
java -jar $(AC) -p contiki-apple2-2.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||||
|
|
||||||
apple2enh-3-disk: apple2enh-makes
|
apple2-dsk-3: apple2enh-makes
|
||||||
cp ../apple2enh/prodos.dsk contiki-3.dsk
|
cp ../apple2enh/prodos.dsk contiki-apple2-3.dsk
|
||||||
java -jar $(AC) -p contiki-3.dsk contiki.cfg bin 0 < dummy.cfg
|
java -jar $(AC) -p contiki-apple2-3.dsk contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||||
java -jar $(AC) -p contiki-3.dsk menu.system sys 0 < ../apple2enh/menu.system
|
java -jar $(AC) -p contiki-apple2-3.dsk menu.system sys 0 < ../apple2enh/menu.system
|
||||||
java -jar $(AC) -p contiki-3.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-3.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-3.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-3.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||||
java -jar $(AC) -p contiki-3.dsk email.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-3.dsk email.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-3.dsk email bin < ../../examples/email/email-client.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-3.dsk email bin < ../../examples/email/email-client.apple2enh
|
||||||
java -jar $(AC) -p contiki-3.dsk ftp.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-3.dsk ftp.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-3.dsk ftp bin < ../../examples/ftp/ftp-client.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-3.dsk ftp bin < ../../examples/ftp/ftp-client.apple2enh
|
||||||
java -jar $(AC) -p contiki-3.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
java -jar $(AC) -p contiki-apple2-3.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||||
java -jar $(AC) -p contiki-3.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
java -jar $(AC) -p contiki-apple2-3.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||||
java -jar $(AC) -p contiki-3.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
java -jar $(AC) -p contiki-apple2-3.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||||
|
|
||||||
apple2enh-4-disk: apple2enh-makes
|
apple2-dsk-4: apple2enh-makes
|
||||||
cp ../apple2enh/prodos.dsk contiki-4.dsk
|
cp ../apple2enh/prodos.dsk contiki-apple2-4.dsk
|
||||||
java -jar $(AC) -p contiki-4.dsk contiki.cfg bin 0 < dummy.cfg
|
java -jar $(AC) -p contiki-apple2-4.dsk contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||||
java -jar $(AC) -p contiki-4.dsk menu.system sys 0 < ../apple2enh/menu.system
|
java -jar $(AC) -p contiki-apple2-4.dsk menu.system sys 0 < ../apple2enh/menu.system
|
||||||
java -jar $(AC) -p contiki-4.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-4.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-4.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-4.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||||
java -jar $(AC) -p contiki-4.dsk breadbox.system sys 0 < ../apple2enh/loader.system
|
java -jar $(AC) -p contiki-apple2-4.dsk breadbox.system sys 0 < ../apple2enh/loader.system
|
||||||
java -jar $(AC) -cc65 contiki-4.dsk breadbox bin < ../../../contikiprojects/vandenbrande.com/twitter/platform/apple2enh/breadbox64.apple2enh
|
java -jar $(AC) -cc65 contiki-apple2-4.dsk breadbox bin < ../../../contikiprojects/vandenbrande.com/twitter/platform/apple2enh/breadbox64.apple2enh
|
||||||
java -jar $(AC) -p contiki-4.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
java -jar $(AC) -p contiki-apple2-4.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||||
java -jar $(AC) -p contiki-4.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
java -jar $(AC) -p contiki-apple2-4.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||||
java -jar $(AC) -p contiki-4.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
java -jar $(AC) -p contiki-apple2-4.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||||
|
|
||||||
$(eval $(call makes,c64))
|
$(eval $(call makes,c64))
|
||||||
|
|
||||||
c64-1-disk: c64-makes
|
c64-d64-1: c64-makes
|
||||||
$(C1541) -format contiki,00 d64 contiki-1.d64
|
$(C1541) -format contiki-1,00 d64 contiki-c64-1.d64
|
||||||
$(C1541) -attach contiki-1.d64 -write dummy.cfg contiki.cfg,u
|
$(C1541) -attach contiki-c64-1.d64 -write ../c64/default.cfg contiki.cfg,u
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
$(C1541) -attach contiki-c64-1.d64 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../examples/webserver/webserver-example.c64 webserver,p
|
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../examples/wget/wget.c64 wget,p
|
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/wget/wget.c64 wget,p
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../examples/irc/irc-client.c64 irc,p
|
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/irc/irc-client.c64 irc,p
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
$(C1541) -attach contiki-c64-1.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
$(C1541) -attach contiki-c64-1.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||||
$(C1541) -attach contiki-1.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
$(C1541) -attach contiki-c64-1.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||||
$(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||||
|
|
||||||
c64-2-disk: c64-makes
|
c64-d64-2: c64-makes
|
||||||
$(C1541) -format contiki,00 d64 contiki-2.d64
|
$(C1541) -format contiki-2,00 d64 contiki-c64-2.d64
|
||||||
$(C1541) -attach contiki-2.d64 -write dummy.cfg contiki.cfg,u
|
$(C1541) -attach contiki-c64-2.d64 -write ../c64/default.cfg contiki.cfg,u
|
||||||
$(C1541) -attach contiki-2.d64 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
$(C1541) -attach contiki-c64-2.d64 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||||
$(C1541) -attach contiki-2.d64 -write ../../examples/email/email-client.c64 email,p
|
$(C1541) -attach contiki-c64-2.d64 -write ../../examples/email/email-client.c64 email,p
|
||||||
$(C1541) -attach contiki-2.d64 -write ../../examples/ftp/ftp-client.c64 ftp,p
|
$(C1541) -attach contiki-c64-2.d64 -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||||
$(C1541) -attach contiki-2.d64 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
$(C1541) -attach contiki-c64-2.d64 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||||
$(C1541) -attach contiki-2.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
$(C1541) -attach contiki-c64-2.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||||
$(C1541) -attach contiki-2.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
$(C1541) -attach contiki-c64-2.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||||
$(C1541) -attach contiki-2.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
$(C1541) -attach contiki-c64-2.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
||||||
|
|
||||||
|
c64-d71: c64-makes
|
||||||
|
$(C1541) -format contiki,00 d71 contiki-c64.d71
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../c64/default.cfg contiki.cfg,u
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/wget/wget.c64 wget,p
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/irc/irc-client.c64 irc,p
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/email/email-client.c64 email,p
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||||
|
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||||
|
|
||||||
|
c64-d81: c64-makes
|
||||||
|
$(C1541) -format contiki,00 d81 contiki-c64.d81
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../c64/default.cfg contiki.cfg,u
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/wget/wget.c64 wget,p
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/irc/irc-client.c64 irc,p
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/email/email-client.c64 email,p
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||||
|
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||||
|
|
||||||
$(eval $(call makes,c128))
|
$(eval $(call makes,c128))
|
||||||
|
|
||||||
c128-1-disk: c128-makes
|
c128-d64-1: c128-makes
|
||||||
$(C1541) -format contiki,00 d71 contiki-1.d71
|
$(C1541) -format contiki-1,00 d64 contiki-c128-1.d64
|
||||||
$(C1541) -attach contiki-1.d71 -write dummy.cfg contiki.cfg,u
|
$(C1541) -attach contiki-c128-1.d64 -write ../c128/default.cfg contiki.cfg,u
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
$(C1541) -attach contiki-c128-1.d64 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/webserver/webserver-example.c128 webserver,p
|
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/wget/wget.c128 wget,p
|
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/wget/wget.c128 wget,p
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/irc/irc-client.c128 irc,p
|
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/irc/irc-client.c128 irc,p
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/email/email-client.c128 email,p
|
$(C1541) -attach contiki-c128-1.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/ftp/ftp-client.c128 ftp,p
|
$(C1541) -attach contiki-c128-1.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||||
$(C1541) -attach contiki-1.d71 -write $(CC65_HOME)/mou/c128-1351.mou c128-1351.mou,u
|
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
c128-d64-2: c128-makes
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
$(C1541) -format contiki-2,00 d64 contiki-c128-2.d64
|
||||||
$(C1541) -attach contiki-1.d71 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
$(C1541) -attach contiki-c128-2.d64 -write ../c128/default.cfg contiki.cfg,u
|
||||||
|
$(C1541) -attach contiki-c128-2.d64 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||||
|
$(C1541) -attach contiki-c128-2.d64 -write ../../examples/email/email-client.c128 email,p
|
||||||
|
$(C1541) -attach contiki-c128-2.d64 -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||||
|
$(C1541) -attach contiki-c128-2.d64 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||||
|
$(C1541) -attach contiki-c128-2.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||||
|
$(C1541) -attach contiki-c128-2.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||||
|
|
||||||
|
c128-d71: c128-makes
|
||||||
|
$(C1541) -format contiki,00 d71 contiki-c128.d71
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../c128/default.cfg contiki.cfg,u
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/wget/wget.c128 wget,p
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/irc/irc-client.c128 irc,p
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/email/email-client.c128 email,p
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||||
|
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||||
|
|
||||||
|
c128-d81: c128-makes
|
||||||
|
$(C1541) -format contiki,00 d81 contiki-c128.d81
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../c128/default.cfg contiki.cfg,u
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/wget/wget.c128 wget,p
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/irc/irc-client.c128 irc,p
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/email/email-client.c128 email,p
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||||
|
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||||
|
|
||||||
$(eval $(call makes,atari))
|
$(eval $(call makes,atari))
|
||||||
|
|
||||||
atari-1-disk: atari-makes
|
atari-atr-1: atari-makes
|
||||||
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 ../atari/default.cfg atr/contiki.cfg
|
||||||
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.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
|
||||||
@ -194,37 +272,37 @@ atari-1-disk: atari-makes
|
|||||||
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
|
||||||
cp ../../examples/webserver/httpd-cfs/notfound.htm atr/notfound.htm
|
cp ../../examples/webserver/httpd-cfs/notfound.htm atr/notfound.htm
|
||||||
$(DIR2ATR) -b Dos25 1040 contiki-1.atr atr
|
$(DIR2ATR) -b Dos25 1040 contiki-atari-1.atr atr
|
||||||
rm -r atr
|
rm -r atr
|
||||||
|
|
||||||
atari-2-disk: atari-makes
|
atari-atr-2: atari-makes
|
||||||
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 ../atari/default.cfg atr/contiki.cfg
|
||||||
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
||||||
cp ../../examples/wget/wget.atari atr/wget.com
|
cp ../../examples/wget/wget.atari atr/wget.com
|
||||||
cp ../../examples/irc/irc-client.atari atr/irc.com
|
cp ../../examples/irc/irc-client.atari atr/irc.com
|
||||||
$(DIR2ATR) -b Dos25 1040 contiki-2.atr atr
|
$(DIR2ATR) -b Dos25 1040 contiki-atari-2.atr atr
|
||||||
rm -r atr
|
rm -r atr
|
||||||
|
|
||||||
atari-3-disk: atari-makes
|
atari-atr-3: atari-makes
|
||||||
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 ../atari/default.cfg atr/contiki.cfg
|
||||||
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
||||||
cp ../../examples/email/email-client.atari atr/email.com
|
cp ../../examples/email/email-client.atari atr/email.com
|
||||||
cp ../../examples/ftp/ftp-client.atari atr/ftp.com
|
cp ../../examples/ftp/ftp-client.atari atr/ftp.com
|
||||||
$(DIR2ATR) -b Dos25 1040 contiki-3.atr atr
|
$(DIR2ATR) -b Dos25 1040 contiki-atari-3.atr atr
|
||||||
rm -r atr
|
rm -r atr
|
||||||
|
|
||||||
atari-4-disk: atari-makes
|
atari-atr-4: atari-makes
|
||||||
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 ../atari/default.cfg atr/contiki.cfg
|
||||||
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.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-4.atr atr
|
$(DIR2ATR) -b Dos25 1040 contiki-atari-4.atr atr
|
||||||
rm -r atr
|
rm -r atr
|
||||||
|
@ -1,31 +1,21 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Contiki Download</title>
|
<title>Contiki Configuration Download</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
tr.p { padding: 15px 0px }
|
tr.p { padding: 15px 0px }
|
||||||
tr.pt { padding-top: 15px }
|
tr.pt { padding-top: 15px }
|
||||||
tr.pb { padding-bottom: 15px }
|
tr.pb { padding-bottom: 15px }
|
||||||
tr.bg { background-color: black; height: 1px }
|
tr.bg { background-color: black; height: 1px }
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript">
|
|
||||||
function disks(disks) {
|
|
||||||
for (var i = 4; i; i--) {
|
|
||||||
document.forms[0].disk[i].disabled = i > disks;
|
|
||||||
if (document.forms[0].disk[i].checked &&
|
|
||||||
document.forms[0].disk[i].disabled)
|
|
||||||
document.forms[0].disk[i-1].checked = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form action="download.php">
|
<form action="download.php">
|
||||||
<h4 align="center">Download your custom generated Contiki</h4>
|
<h4 align="center">Download your custom generated Contiki configuration</h4>
|
||||||
<table align="center" cellpadding="0" cellspacing="0">
|
<table align="center" cellpadding="0" cellspacing="0">
|
||||||
<tr class="p">
|
<tr class="p">
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="machine" id="apple2" value="apple2" onclick="disks(4)" checked="checked" />
|
<input type="radio" name="machine" id="apple2" value="apple2" checked="checked" />
|
||||||
<label for="apple2">Apple //e</label>
|
<label for="apple2">Apple //e</label>
|
||||||
</td><td>
|
</td><td>
|
||||||
<label for="apple2-drv">Ethernet Card:</label>
|
<label for="apple2-drv">Ethernet Card:</label>
|
||||||
@ -49,40 +39,40 @@
|
|||||||
<td colspan="3" />
|
<td colspan="3" />
|
||||||
</tr><tr class="p">
|
</tr><tr class="p">
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="machine" id="c64" value="c64" onclick="disks(2)" />
|
<input type="radio" name="machine" id="c64" value="c64" />
|
||||||
<label for="c64">C64</label>
|
<label for="c64">C64</label>
|
||||||
</td><td colspan="2">
|
</td><td colspan="2">
|
||||||
<label for="c64-drv">Ethernet Card:</label>
|
<label for="c64-drv">Ethernet Card:</label>
|
||||||
<select name="c64-addr-drv" id="c64-drv" size="1">
|
<select name="c64-addr-drv" id="c64-drv" size="1">
|
||||||
<option value="DE08-CS8900A.ETH" >RR+RR-Net</option>
|
<option value="DE08-CS8900A.ETH" >RR-Net</option>
|
||||||
<option value="DE00-CS8900A.ETH" >TFE </option>
|
<option value="DE00-CS8900A.ETH" >TFE </option>
|
||||||
<option value="DE00-LAN91C96.ETH">ETH64 </option>
|
<option value="DE00-LAN91C96.ETH">ETH64 </option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr><tr class="bg">
|
</tr><tr class="bg">
|
||||||
<td colspan="3" />
|
<td colspan="3" />
|
||||||
</tr><tr class="p">
|
</tr><tr class="p">
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="machine" id="c128" value="c128" onclick="disks(1)" />
|
<input type="radio" name="machine" id="c128" value="c128" />
|
||||||
<label for="c128">C128</label>
|
<label for="c128">C128</label>
|
||||||
</td><td colspan="2">
|
</td><td colspan="2">
|
||||||
<label for="c128-drv">Ethernet Card:</label>
|
<label for="c128-drv">Ethernet Card:</label>
|
||||||
<select name="c128-addr-drv" id="c128-drv" size="1">
|
<select name="c128-addr-drv" id="c128-drv" size="1">
|
||||||
<option value="DE08-CS8900A.ETH" >RR+RR-Net</option>
|
<option value="DE08-CS8900A.ETH" >RR-Net</option>
|
||||||
<option value="DE00-CS8900A.ETH" >TFE </option>
|
<option value="DE00-CS8900A.ETH" >TFE </option>
|
||||||
<option value="DE00-LAN91C96.ETH">ETH64 </option>
|
<option value="DE00-LAN91C96.ETH">ETH64 </option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr><tr class="bg">
|
</tr><tr class="bg">
|
||||||
<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(4)" />
|
<input type="radio" name="machine" id="atari" value="atari" />
|
||||||
<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>
|
||||||
<select name="atari-addr-drv" id="atari-drv" size="1">
|
<select name="atari-addr-drv" id="atari-drv" size="1">
|
||||||
<option value="D500-CS8900A.ETH" >Atari 8-bit Ethernet</option>
|
<option value="D500-cs8900a.eth" >Atari 8-bit Ethernet</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr><tr class="bg">
|
</tr><tr class="bg">
|
||||||
@ -125,21 +115,6 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr><tr class="bg">
|
</tr><tr class="bg">
|
||||||
<td colspan="3" />
|
<td colspan="3" />
|
||||||
</tr><tr class="p">
|
|
||||||
<td colspan="3">
|
|
||||||
<input type="radio" name="disk" id="conf" value="0" />
|
|
||||||
<label for="conf">Configuration File Only</label><br />
|
|
||||||
<input type="radio" name="disk" id="disk-1" value="1" checked="checked" />
|
|
||||||
<label for="disk-1">Complete Image Of Disk 1</label><br />
|
|
||||||
<input type="radio" name="disk" id="disk-2" value="2" />
|
|
||||||
<label for="disk-2">Complete Image Of Disk 2</label><br />
|
|
||||||
<input type="radio" name="disk" id="disk-3" value="3" />
|
|
||||||
<label for="disk-3">Complete Image Of Disk 3</label><br />
|
|
||||||
<input type="radio" name="disk" id="disk-4" value="4" />
|
|
||||||
<label for="disk-4">Complete Image Of Disk 4</label>
|
|
||||||
</td>
|
|
||||||
</tr><tr class="bg">
|
|
||||||
<td colspan="3" />
|
|
||||||
</tr><tr class="p">
|
</tr><tr class="p">
|
||||||
<td colspan="3" align="center">
|
<td colspan="3" align="center">
|
||||||
<input type="submit" value="Download" />
|
<input type="submit" value="Download" />
|
||||||
|
@ -7,33 +7,22 @@ $cfg .= chr($_GET['mask-a']).chr($_GET['mask-b']).chr($_GET['mask-c']).chr($_GET
|
|||||||
$cfg .= chr($_GET['dgw-a']). chr($_GET['dgw-b']). chr($_GET['dgw-c']). chr($_GET['dgw-d']);
|
$cfg .= chr($_GET['dgw-a']). chr($_GET['dgw-b']). chr($_GET['dgw-c']). chr($_GET['dgw-d']);
|
||||||
$cfg .= chr($_GET['dns-a']). chr($_GET['dns-b']). chr($_GET['dns-c']). chr($_GET['dns-d']);
|
$cfg .= chr($_GET['dns-a']). chr($_GET['dns-b']). chr($_GET['dns-c']). chr($_GET['dns-d']);
|
||||||
|
|
||||||
$dsk = $_GET['disk'];
|
|
||||||
|
|
||||||
switch ($_GET['machine']) {
|
switch ($_GET['machine']) {
|
||||||
case 'apple2':
|
case 'apple2':
|
||||||
$hex = $_GET['apple2-addr'];
|
$hex = $_GET['apple2-addr'];
|
||||||
$drv = $_GET['apple2-drv'];
|
$drv = $_GET['apple2-drv'];
|
||||||
$ext = '-' . $dsk . '.dsk';
|
|
||||||
$ofs = 0x05B00;
|
|
||||||
break;
|
break;
|
||||||
case 'c64':
|
case 'c64':
|
||||||
$hex = strtok($_GET['c64-addr-drv'], '-');
|
$hex = strtok($_GET['c64-addr-drv'], '-');
|
||||||
$drv = strtok('-');
|
$drv = strtok('-');
|
||||||
$ext = '-' . $dsk . '.d64';
|
|
||||||
$ofs = 0x15002;
|
|
||||||
break;
|
break;
|
||||||
case 'c128':
|
case 'c128':
|
||||||
$hex = strtok($_GET['c128-addr-drv'], '-');
|
$hex = strtok($_GET['c128-addr-drv'], '-');
|
||||||
$drv = strtok('-');
|
$drv = strtok('-');
|
||||||
$ext = '-' . $dsk . '.d71';
|
|
||||||
$ofs = 0x15002;
|
|
||||||
break;
|
break;
|
||||||
case 'atari':
|
case 'atari':
|
||||||
$hex = strtok($_GET['atari-addr-drv'], '-');
|
$hex = strtok($_GET['atari-addr-drv'], '-');
|
||||||
$drv = strtok('-');
|
$drv = strtok('-');
|
||||||
$ext = '-' . $dsk . '.atr';
|
|
||||||
$blk = array(0, 5, 4, 4, 275);
|
|
||||||
$ofs = 0x00010 + ($blk[$dsk] - 1) * 0x80;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,19 +30,8 @@ $addr = hexdec($hex);
|
|||||||
$cfg .= chr($addr % 0x100).chr($addr / 0x100);
|
$cfg .= chr($addr % 0x100).chr($addr / 0x100);
|
||||||
$cfg .= $drv;
|
$cfg .= $drv;
|
||||||
|
|
||||||
if ($dsk) {
|
|
||||||
$img = file_get_contents('contiki'. $ext);
|
|
||||||
if ($img)
|
|
||||||
$out = substr_replace($img, $cfg, $ofs, strlen($cfg));
|
|
||||||
else
|
|
||||||
$out = '';
|
|
||||||
} else {
|
|
||||||
$ext = '.cfg';
|
|
||||||
$out = $cfg;
|
|
||||||
}
|
|
||||||
|
|
||||||
header('Content-Type: application/octetstream');
|
header('Content-Type: application/octetstream');
|
||||||
header('Content-Disposition: attachment; filename=contiki' . $ext);
|
header('Content-Disposition: attachment; filename=contiki.cfg');
|
||||||
print($out);
|
print($cfg);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Binary file not shown.
BIN
tools/apple2enh/default.cfg
Normal file
BIN
tools/apple2enh/default.cfg
Normal file
Binary file not shown.
BIN
tools/atari/default.cfg
Normal file
BIN
tools/atari/default.cfg
Normal file
Binary file not shown.
BIN
tools/c128/default.cfg
Normal file
BIN
tools/c128/default.cfg
Normal file
Binary file not shown.
BIN
tools/c64/default.cfg
Normal file
BIN
tools/c64/default.cfg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user