From 93e40aeb0956269d082324a7facf66a98e132c32 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 17 May 2019 19:54:35 -0400 Subject: [PATCH] Strip comments out of code before packing CFS This shrinks the CFS size to 21k from nearly 64K. This will allow me to kick the can down the road a bit with regards to supporting storage seek/tell greater than 64K. I'll get to it, but first, I want to assemble zasm with zasm! --- tools/emul/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/emul/Makefile b/tools/emul/Makefile index 514d0d7..8001abb 100644 --- a/tools/emul/Makefile +++ b/tools/emul/Makefile @@ -17,6 +17,7 @@ zasm/user.h: zasm/user.asm zasm/includes.cfs: ../../parts/z80 $(CFSPACK) cp -rf $< zasm/includes rm zasm/includes/README.md + find zasm/includes -type f -exec sed -i -e 's/;.*//g' {} \; $(CFSPACK) zasm/includes > $@ rm -rf zasm/includes