mirror of
https://github.com/a2stuff/prodos-path.git
synced 2025-08-15 14:27:21 +00:00
Fix make clean, rename cmd sample sources
This commit is contained in:
4
Makefile
4
Makefile
@@ -18,7 +18,7 @@ HEADERS = $(wildcard *.inc)
|
|||||||
clean:
|
clean:
|
||||||
rm -f $(OUTDIR)/*.o
|
rm -f $(OUTDIR)/*.o
|
||||||
rm -f $(OUTDIR)/*.list
|
rm -f $(OUTDIR)/*.list
|
||||||
rm -f $(OUTDIR)/$(TARGETS)
|
rm -f $(TARGETS)
|
||||||
|
|
||||||
|
|
||||||
$(OUTDIR)/%.o: %.s $(HEADERS)
|
$(OUTDIR)/%.o: %.s $(HEADERS)
|
||||||
@@ -28,5 +28,5 @@ $(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
|
|||||||
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
|
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
|
||||||
xattr -wx prodos.AuxType '00 20' $@
|
xattr -wx prodos.AuxType '00 20' $@
|
||||||
|
|
||||||
$(OUTDIR)/%.CMD: $(OUTDIR)/%.o
|
$(OUTDIR)/%.CMD: $(OUTDIR)/%.cmd.o
|
||||||
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
|
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
|
||||||
|
@@ -27,6 +27,9 @@ Example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
* Allocates a 3 page buffer to store the code and path
|
* Allocates a buffer to store the code and path
|
||||||
* Can be invoked as lower case (e.g. `path ...`)
|
* Can be invoked as lower case (e.g. `path ...`)
|
||||||
* Applesoft BASIC commands are unaffected (but can't be CMD names)
|
* Applesoft BASIC commands are unaffected (but can't be CMD names)
|
||||||
|
|
||||||
|
Future:
|
||||||
|
* Support multi-segment paths (e.g. `/hd/cmds:/hd2/more.cmds`)
|
||||||
|
2
path.s
2
path.s
@@ -17,7 +17,7 @@
|
|||||||
;;; * 3 pages - code, path buffers
|
;;; * 3 pages - code, path buffers
|
||||||
|
|
||||||
;;; TODO:
|
;;; TODO:
|
||||||
;;; * Support multi-segment path (e.g. /hd/bin:/hd/extras/bin
|
;;; * Support multi-segment path (e.g. /hd/bin:/hd/extras/bin)
|
||||||
;;; * Fail install if on an Integer BASIC machine
|
;;; * Fail install if on an Integer BASIC machine
|
||||||
;;; * Skip leading spaces
|
;;; * Skip leading spaces
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user