init repo

This commit is contained in:
RomanRom2 committed 2025-01-28 19:17:01 +03:00
commit 90e6151613
3260 files changed
+3745062

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
ROM=dev7
MAP=32k
B=../../build/
CC=${B}glcc
GTSIM=${B}gtsim -rom ../../gigatron/roms/${ROM}.rom
GTPROF=${B}/../gigatron/mapsim/gtprof
PGMS=ascbrot.gt1 ascjulia.gt1 gfxbrotx.gt1 gfxjuliax.gt1
all:${PGMS}
%.gt1: %.c
${CC} -rom=${ROM} -map=${MAP} $< -o $@
%.prof: %.c
${CC} -rom=${ROM} -map=sim,hionly $< -o $*-sim.gt1 --frags > $*-sim.frg
-${GTSIM} -prof $*-sim.prf $*-sim.gt1
${GTPROF} $*-sim.prf $*-sim.frg | sort -nr > $@
clean: FORCE
-rm *.gt1 *.prf *.frg *.prof
FORCE: