view 3rdparty/utils/dladd/makefile @ 3206:c544854608cf

Added a couple more utilities to my utils section as well as a README.md Added source for fast.asm and slow.asm The fast binary strobes address $FFD9 to enable 1.79MHz mode. This is useful for returning the system back to full speed mode after using the slow utility. The slow binary strobes address $FFD8 to enable 0.89MHz mode. This utility is handy for the cases of testing some older programs for timing that were from L1.
author David Ladd <drencor-xeen@users.sourceforge.net>
date Sat, 09 Sep 2017 20:17:42 -0500
parents dd553bb32ebb
children
line wrap: on
line source

include ../../../rules.mak

DEPENDS		:= ./makefile

CMDS		= cls fast slow

ALLOBJS		= $(CMDS)

DSKDLADDUTILS	= DLadd_Utils.dsk

DSKS		= $(DSKDLADDUTILS)

all:	banner $(ALLOBJS) $(DEPENDS)	

banner:
	@$(ECHO) "**************************************************"
	@$(ECHO) "*                                                *"
	@$(ECHO) "*              David Ladd's Utilities            *"
	@$(ECHO) "*                                                *"
	@$(ECHO) "**************************************************"

$(DSKDLADDUTILS): $(CMDS)
	$(RM) $@
	$(OS9FORMAT) -q $@ -n"David's utilities"
	$(MAKDIR) $@,CMDS
	$(OS9COPY) $(CMDS) $@,CMDS
	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))

dsk: all $(DSKS)

dskcopy: dsk
	$(CP) $(DSKS) $(DSKDIR)

dskclean:
	$(RM) $(DSKS)

clean: dskclean
	$(RM) $(ALLOBJS)

info:
	@$(ECHO) "*** David Ladd's Utilities ***"
	@$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)