From 8dd2b75383981b2faacc2210b0b20c771a793a5b Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Wed, 31 Mar 2010 06:05:37 +0000 Subject: [PATCH] Explicitly set CBM filetypes (PRG, USR). --- platform/c128/Makefile.c128 | 20 +++++------ platform/c64/Makefile.c64 | 20 +++++------ tools/6502/Makefile | 68 ++++++++++++++++++------------------- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/platform/c128/Makefile.c128 b/platform/c128/Makefile.c128 index 67bc9e707..10050a140 100644 --- a/platform/c128/Makefile.c128 +++ b/platform/c128/Makefile.c128 @@ -30,7 +30,7 @@ # # Author: Oliver Schmidt # -# $Id: Makefile.c128,v 1.8 2010/02/01 22:15:41 oliverschmidt Exp $ +# $Id: Makefile.c128,v 1.9 2010/03/31 06:05:55 oliverschmidt Exp $ # CONTIKI_CPU = $(CONTIKI)/cpu/6502 @@ -49,16 +49,16 @@ TRIM_PROJECT := ${shell echo $(CONTIKI_PROJECT) | sed 's!\([^-]*\).*!\1!'} disk: all $(C1541) -format contiki,00 d71 contiki.d71 - $(C1541) -attach contiki.d71 -write $(CONTIKI_PROJECT).$(TARGET) $(TRIM_PROJECT) - $(C1541) -attach contiki.d71 -write $(CONTIKI)/tools/$(TARGET)/sample.cfg contiki.cfg - $(C1541) -attach contiki.d71 -write cs8900a.eth cs8900a.eth - $(C1541) -attach contiki.d71 -write lan91c96.eth lan91c96.eth + $(C1541) -attach contiki.d71 -write $(CONTIKI_PROJECT).$(TARGET) $(TRIM_PROJECT),p + $(C1541) -attach contiki.d71 -write $(CONTIKI)/tools/$(TARGET)/sample.cfg contiki.cfg,u + $(C1541) -attach contiki.d71 -write cs8900a.eth cs8900a.eth,u + $(C1541) -attach contiki.d71 -write lan91c96.eth lan91c96.eth,u ifeq ($(findstring WITH_MOUSE,$(DEFINES)),WITH_MOUSE) - $(C1541) -attach contiki.d71 -write $(CC65_HOME)/mou/c128-1351.mou c128-1351.mou + $(C1541) -attach contiki.d71 -write $(CC65_HOME)/mou/c128-1351.mou c128-1351.mou,u endif ifeq ($(HTTPD-CFS),1) - $(C1541) -attach contiki.d71 -write httpd-cfs/index.html index.html - $(C1541) -attach contiki.d71 -write httpd-cfs/background.gif background.gif - $(C1541) -attach contiki.d71 -write httpd-cfs/contiki.gif contiki.gif - $(C1541) -attach contiki.d71 -write httpd-cfs/notfound.html notfound.html + $(C1541) -attach contiki.d71 -write httpd-cfs/index.html index.html,u + $(C1541) -attach contiki.d71 -write httpd-cfs/background.gif background.gif,u + $(C1541) -attach contiki.d71 -write httpd-cfs/contiki.gif contiki.gif,u + $(C1541) -attach contiki.d71 -write httpd-cfs/notfound.html notfound.html,u endif diff --git a/platform/c64/Makefile.c64 b/platform/c64/Makefile.c64 index 91d4a51f2..e04f606c2 100644 --- a/platform/c64/Makefile.c64 +++ b/platform/c64/Makefile.c64 @@ -30,7 +30,7 @@ # # Author: Oliver Schmidt # -# $Id: Makefile.c64,v 1.10 2010/02/01 22:15:41 oliverschmidt Exp $ +# $Id: Makefile.c64,v 1.11 2010/03/31 06:07:05 oliverschmidt Exp $ # CONTIKI_CPU = $(CONTIKI)/cpu/6502 @@ -49,16 +49,16 @@ TRIM_PROJECT := ${shell echo $(CONTIKI_PROJECT) | sed 's!\([^-]*\).*!\1!'} disk: all $(C1541) -format contiki,00 d64 contiki.d64 - $(C1541) -attach contiki.d64 -write $(CONTIKI_PROJECT).$(TARGET) $(TRIM_PROJECT) - $(C1541) -attach contiki.d64 -write $(CONTIKI)/tools/$(TARGET)/sample.cfg contiki.cfg - $(C1541) -attach contiki.d64 -write cs8900a.eth cs8900a.eth - $(C1541) -attach contiki.d64 -write lan91c96.eth lan91c96.eth + $(C1541) -attach contiki.d64 -write $(CONTIKI_PROJECT).$(TARGET) $(TRIM_PROJECT),p + $(C1541) -attach contiki.d64 -write $(CONTIKI)/tools/$(TARGET)/sample.cfg contiki.cfg,u + $(C1541) -attach contiki.d64 -write cs8900a.eth cs8900a.eth,u + $(C1541) -attach contiki.d64 -write lan91c96.eth lan91c96.eth,u ifeq ($(findstring WITH_MOUSE,$(DEFINES)),WITH_MOUSE) - $(C1541) -attach contiki.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou + $(C1541) -attach contiki.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u endif ifeq ($(HTTPD-CFS),1) - $(C1541) -attach contiki.d64 -write httpd-cfs/index.html index.html - $(C1541) -attach contiki.d64 -write httpd-cfs/background.gif background.gif - $(C1541) -attach contiki.d64 -write httpd-cfs/contiki.gif contiki.gif - $(C1541) -attach contiki.d64 -write httpd-cfs/notfound.html notfound.html + $(C1541) -attach contiki.d64 -write httpd-cfs/index.html index.html,u + $(C1541) -attach contiki.d64 -write httpd-cfs/background.gif background.gif,u + $(C1541) -attach contiki.d64 -write httpd-cfs/contiki.gif contiki.gif,u + $(C1541) -attach contiki.d64 -write httpd-cfs/notfound.html notfound.html,u endif diff --git a/tools/6502/Makefile b/tools/6502/Makefile index f6490f462..80cf06320 100644 --- a/tools/6502/Makefile +++ b/tools/6502/Makefile @@ -30,7 +30,7 @@ # # Author: Oliver Schmidt # -# $Id: Makefile,v 1.3 2010/02/11 10:13:18 oliverschmidt Exp $ +# $Id: Makefile,v 1.4 2010/03/31 06:05:37 oliverschmidt Exp $ # ifndef CC65_HOME @@ -81,42 +81,42 @@ apple2enh-2-disk: c64-1-disk: $(C1541) -format contiki,00 d64 contiki-1.d64 - $(C1541) -attach contiki-1.d64 -write dummy.cfg contiki.cfg - $(C1541) -attach contiki-1.d64 -write ../../cpu/6502/dhcp/dhcp-client.c64 dhcp - $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/webserver-example.c64 webserver - $(C1541) -attach contiki-1.d64 -write ../../examples/webbrowser/webbrowser.c64 webbrowser - $(C1541) -attach contiki-1.d64 -write ../../examples/wget/wget.c64 wget - $(C1541) -attach contiki-1.d64 -write ../../cpu/6502/dhcp/cs8900a.eth cs8900a.eth - $(C1541) -attach contiki-1.d64 -write ../../cpu/6502/dhcp/lan91c96.eth lan91c96.eth - $(C1541) -attach contiki-1.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou - $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/index.html index.html - $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/background.gif background.gif - $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif - $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/notfound.html notfound.html + $(C1541) -attach contiki-1.d64 -write dummy.cfg contiki.cfg,u + $(C1541) -attach contiki-1.d64 -write ../../cpu/6502/dhcp/dhcp-client.c64 dhcp,p + $(C1541) -attach contiki-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-1.d64 -write ../../examples/wget/wget.c64 wget,p + $(C1541) -attach contiki-1.d64 -write ../../cpu/6502/dhcp/cs8900a.eth cs8900a.eth,u + $(C1541) -attach contiki-1.d64 -write ../../cpu/6502/dhcp/lan91c96.eth lan91c96.eth,u + $(C1541) -attach contiki-1.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u + $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/index.html index.html,u + $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/background.gif background.gif,u + $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u + $(C1541) -attach contiki-1.d64 -write ../../examples/webserver/httpd-cfs/notfound.html notfound.html,u c64-2-disk: $(C1541) -format contiki,00 d64 contiki-2.d64 - $(C1541) -attach contiki-2.d64 -write dummy.cfg contiki.cfg - $(C1541) -attach contiki-2.d64 -write ../../cpu/6502/dhcp/dhcp-client.c64 dhcp - $(C1541) -attach contiki-2.d64 -write ../../examples/irc/irc-client.c64 irc - $(C1541) -attach contiki-2.d64 -write ../../examples/email/email-client.c64 email - $(C1541) -attach contiki-2.d64 -write ../../cpu/6502/dhcp/cs8900a.eth cs8900a.eth - $(C1541) -attach contiki-2.d64 -write ../../cpu/6502/dhcp/lan91c96.eth lan91c96.eth - $(C1541) -attach contiki-2.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou + $(C1541) -attach contiki-2.d64 -write dummy.cfg contiki.cfg,u + $(C1541) -attach contiki-2.d64 -write ../../cpu/6502/dhcp/dhcp-client.c64 dhcp,p + $(C1541) -attach contiki-2.d64 -write ../../examples/irc/irc-client.c64 irc,p + $(C1541) -attach contiki-2.d64 -write ../../examples/email/email-client.c64 email,p + $(C1541) -attach contiki-2.d64 -write ../../cpu/6502/dhcp/cs8900a.eth cs8900a.eth,u + $(C1541) -attach contiki-2.d64 -write ../../cpu/6502/dhcp/lan91c96.eth lan91c96.eth,u + $(C1541) -attach contiki-2.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u c128-disk: $(C1541) -format contiki,00 d71 contiki.d71 - $(C1541) -attach contiki.d71 -write dummy.cfg contiki.cfg - $(C1541) -attach contiki.d71 -write ../../cpu/6502/dhcp/dhcp-client.c128 dhcp - $(C1541) -attach contiki.d71 -write ../../examples/webserver/webserver-example.c128 webserver - $(C1541) -attach contiki.d71 -write ../../examples/webbrowser/webbrowser.c128 webbrowser - $(C1541) -attach contiki.d71 -write ../../examples/wget/wget.c128 wget - $(C1541) -attach contiki.d71 -write ../../examples/irc/irc-client.c128 irc - $(C1541) -attach contiki.d71 -write ../../examples/email/email-client.c128 email - $(C1541) -attach contiki.d71 -write ../../cpu/6502/dhcp/cs8900a.eth cs8900a.eth - $(C1541) -attach contiki.d71 -write ../../cpu/6502/dhcp/lan91c96.eth lan91c96.eth - $(C1541) -attach contiki.d71 -write $(CC65_HOME)/mou/c128-1351.mou c128-1351.mou - $(C1541) -attach contiki.d71 -write ../../examples/webserver/httpd-cfs/index.html index.html - $(C1541) -attach contiki.d71 -write ../../examples/webserver/httpd-cfs/background.gif background.gif - $(C1541) -attach contiki.d71 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif - $(C1541) -attach contiki.d71 -write ../../examples/webserver/httpd-cfs/notfound.html notfound.html + $(C1541) -attach contiki.d71 -write dummy.cfg contiki.cfg,u + $(C1541) -attach contiki.d71 -write ../../cpu/6502/dhcp/dhcp-client.c128 dhcp,p + $(C1541) -attach contiki.d71 -write ../../examples/webserver/webserver-example.c128 webserver,p + $(C1541) -attach contiki.d71 -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p + $(C1541) -attach contiki.d71 -write ../../examples/wget/wget.c128 wget,p + $(C1541) -attach contiki.d71 -write ../../examples/irc/irc-client.c128 irc,p + $(C1541) -attach contiki.d71 -write ../../examples/email/email-client.c128 email,p + $(C1541) -attach contiki.d71 -write ../../cpu/6502/dhcp/cs8900a.eth cs8900a.eth,u + $(C1541) -attach contiki.d71 -write ../../cpu/6502/dhcp/lan91c96.eth lan91c96.eth,u + $(C1541) -attach contiki.d71 -write $(CC65_HOME)/mou/c128-1351.mou c128-1351.mou,u + $(C1541) -attach contiki.d71 -write ../../examples/webserver/httpd-cfs/index.html index.html,u + $(C1541) -attach contiki.d71 -write ../../examples/webserver/httpd-cfs/background.gif background.gif,u + $(C1541) -attach contiki.d71 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u + $(C1541) -attach contiki.d71 -write ../../examples/webserver/httpd-cfs/notfound.html notfound.html,u