# Skript, das die neue Bibliothek zusammenbauen soll
-OWN = i$$pa o$$al o$$la o$$pb o$$pl
-
+OWN = o$$al o$$la o$$pl o$$pb i$$pa
OWN_1=$(foreach obj, $(OWN),$(obj).asm)
OWN_2=$(OWN_1:.asm=.obj)
OWN_3=$(shell echo $(subst $$,\$$,$(OWN)) | dd conv=ucase 2>/dev/null)
-#$(subst abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ,$(OWN))
-
-
-ORG_USE=I$$AB I$$AI O$$AB O$$AI
+ORG_USE=I$$AB I$$AI O$$AI O$$AB
+
ASM=$H316/bin/asm
##########################################
-all: iolib
+all: io.lib
-iolib: $(foreach org, $(ORG_USE), original/$(org)) $(OWN_3)
+io.lib: $(foreach org, $(ORG_USE), original/$(org)) $(OWN_3)
@echo Baue Bibliothek endgültig zusammen.
cat $(subst $$,\$$,\
- $(foreach og, $(ORG_USE),original/$(og))\
- $(OWN_3)) $(H316)/snippets/endseq \
- > iolib || rm iolib
+ $(OWN_3)\
+ $(foreach og, $(ORG_USE),original/$(og))\
+ )\
+ $(H316)/snippets/endseq \
+ > io.lib || rm io.lib
obj object objects : $(OWN_2)
asm $(subst $$,\$$,$^)
clean:
- rm -f *.obj $(subst $$,\$$,$(OWN_3) $(foreach obj,$(OWN_2),src/$(obj))) iolib *.lst
+ @rm -f *.obj $(subst $$,\$$,$(OWN_3) $(foreach obj,$(OWN_2),src/$(obj))) io.lib *.lst
###########
.PHONY: clean all obj object objects
* . .
* DEC TAB (N)
*
-*
+* NOTICE
+*
+* THE CHARACTER SEQUENCE 'ABS' HAS BEEN REPLACED BY 'DBS' BECAUSE THE
+* ASSEMBLER SHOWED STRANGE BEHAVIOUR
+*
********************************************************************************
*
* EXPORTED LABELS
TAB CRA CLEAR A-REGISTER
SUB NTAB TAB COUNT
SNZ NZ, SKIP
- JMP NOTB Z, NO TABS
+ JMP NOTB Z, NO TDBS
*
STA 0 INDEX REGISTER
LDA TABL TAB TABLE LINK
* CHANGEABLE PARAMETERS
LIM DEC 80 BUFFER LIMIT (DEFAULT IS 80)
NTAB DEC 4 TAB COUNT (DEFAULT IS 4)
-TABL DAC TABS TAB TABLE LINK (DEFAULT IS TABS)
+TABL DAC TDBS TAB TABLE LINK (DEFAULT IS TDBS)
*
* DAP-16 TAB SETTINGS
-TABS DEC 6 OPERATION FIELD
+TDBS DEC 6 OPERATION FIELD
DEC 12 VARIABLE FIELD
DEC 30 COMMENTS FIELD
DEC 73 IDENTIFICATION FIELD
* PUT LISTINGS ONTO PAPER TAPE. USAGE LIKE O$LA AND O$LH
*
*
-*
* STORAGE
*
* 266 (OCTAL)
SUBR O$P2,SPC EMPTY LINES BETWEEN HEADING AND MAIN TEXT
SUBR O$P3,PGS PURE TEXT LINES PER PAGE
**********************************************************************
- REL RELOCATABLE
+ REL RELOCATABLE
*********************************************
* CONFIGURATION
HDS DEC 1 EMPTY LINES BEFORE HEADING