summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-11-15 05:41:40 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2010-11-15 05:42:17 (GMT)
commit301f1527ddff9951eff92d64b1f43a6aa23b4d5f (patch)
tree0b0dd4977d3555fe94ea9d655cf87414ea1d13e2
parent320e7dedc4b4d8b7801300cadc642d51a3e500f5 (diff)
downloadabc8000-old-301f1527ddff9951eff92d64b1f43a6aa23b4d5f.zip
abc8000-old-301f1527ddff9951eff92d64b1f43a6aa23b4d5f.tar.gz
abc8000-old-301f1527ddff9951eff92d64b1f43a6aa23b4d5f.tar.bz2
abc8000-old-301f1527ddff9951eff92d64b1f43a6aa23b4d5f.tar.xz
abc8000.sys: pad to a full 512-byte sector
Pad to a full 512-byte sector to eliminate pointless double-buffering.
-rw-r--r--data/Makefile3
-rw-r--r--data/sysrom/Makefile3
2 files changed, 3 insertions, 3 deletions
diff --git a/data/Makefile b/data/Makefile
index 4dd0e13..72532a6 100644
--- a/data/Makefile
+++ b/data/Makefile
@@ -13,5 +13,4 @@ ramdac.mif : ramdac.pl
clean :
rm -f $(GEN)
-
-
+ $(MAKE) -C sysrom clean
diff --git a/data/sysrom/Makefile b/data/sysrom/Makefile
index 3121bd5..831a344 100644
--- a/data/sysrom/Makefile
+++ b/data/sysrom/Makefile
@@ -40,7 +40,7 @@ font/sysfont.c: font/$(FONT) font/bdf2c.pl
sysrom.bin: sysrom.elf
$(OBJCOPY) -O binary $< $@
- $(PERL) padto.pl $@ 4096
+ $(PERL) padto.pl $@ 512
sysrom.elf: $(SYSOBJS) $(LIB) sysrom.ld
$(LD) $(LDFLAGS) -T sysrom.ld -o $@ $(SYSOBJS) $(LIB) $(LIBGCC)
@@ -50,6 +50,7 @@ abc8000.elf: $(ABCOBJS) $(LIB) abc8000.ld
abc8000.sys: abc8000.elf
$(OBJCOPY) -O binary $< $@
+ $(PERL) padto.pl $@ 512
$(LIB): $(LIBOBJS)
rm -f $@