Skip to content

Commit

Permalink
Changed Apple II 800kB floppy image type.
Browse files Browse the repository at this point in the history
The .2mg image format contains a header which is missing from our file. So our file is rather a .po image.

I opted to not add the .2mg header as it is only necessary if the metadata it contains differs from the values "guessed" when using the "naked" .po image format. On the other hand there are image file consumers not understanding the .2mg image format.
  • Loading branch information
oliverschmidt committed Jul 5, 2015
1 parent 00f9eeb commit a3dba2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ contiki-cc2530dk.lib
*.S
*.eth
*.dsk
*.2mg
*.po
*.atr
*.d64
*.d71
Expand Down
6 changes: 3 additions & 3 deletions tools/6502/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ endef

$(eval $(call makes,apple2enh))

apple2: contiki-apple2-1.dsk contiki-apple2-2.dsk contiki-apple2-3.dsk contiki-apple2.2mg
apple2: contiki-apple2-1.dsk contiki-apple2-2.dsk contiki-apple2-3.dsk contiki-apple2.po

contiki-apple2-1.dsk: apple2enh-makes
cp ../apple2enh/prodos.dsk $@
Expand Down Expand Up @@ -121,8 +121,8 @@ contiki-apple2-3.dsk: apple2enh-makes
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

contiki-apple2.2mg: apple2enh-makes
cp ../apple2enh/prodos.2mg $@
contiki-apple2.po: apple2enh-makes
cp ../apple2enh/prodos.po $@
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
Expand Down
File renamed without changes.

0 comments on commit a3dba2e

Please sign in to comment.