*** empty log message ***
authorhachti <hachti>
Fri, 7 Nov 2008 20:20:10 +0000 (20:20 +0000)
committerhachti <hachti>
Fri, 7 Nov 2008 20:20:10 +0000 (20:20 +0000)
lib/hachti/recipe/lock.recipe [new file with mode: 0644]
lib/hachti/src/liblok.asm [new file with mode: 0644]
lib/hachti/src/stack.asm

diff --git a/lib/hachti/recipe/lock.recipe b/lib/hachti/recipe/lock.recipe
new file mode 100644 (file)
index 0000000..33bd465
--- /dev/null
@@ -0,0 +1,2 @@
+
+obj/LIBLOK
diff --git a/lib/hachti/src/liblok.asm b/lib/hachti/src/liblok.asm
new file mode 100644 (file)
index 0000000..9ed1e70
--- /dev/null
@@ -0,0 +1,14 @@
+* LIBLOCK
+* 
+* A symbol export that can be called by any program.
+* Is satisfied last in library order.
+* 
+       SUBR    LIBLOK,LOK
+       REL
+       ORG     0
+LOK    DAC     **
+       JMP*    LOK
+       END
+* 
+* 
+* 
\ No newline at end of file
index a1d20d424d220164cf88d878f23a496146dd3f96..e169bc666625bc74d32754b362966ba13c39a873 100644 (file)
@@ -45,7 +45,8 @@
 *       CALL    S$INIT
 *       DAC     SDATA   STACK DATA
 *       DAC     SSIZ    DATA SIZE (NOT STACK DEPTH!!!)
-* 
+*       DAC     0
+*  
 * PUSHING AND POPPING THE A-REGISTER FROM AND TO THE STACK:
 * 
 *       CALL    S$PUSH  VALUE IN A REGISTER IS PUSHED.
 **** SYMBOL DECLARATIONS
 * 
        SUBR    STACK,SBUF      JUST A LABEL FOR THE OBJECT TAPE
-       SUBR    S$INIT,INIT     INITITALISATION
+       SUBR    S$INIT,INIT     INITIALIZATION
        SUBR    S$PUSH,PUSH     SINGLE WORD PUSH
        SUBR    S$POP,POP       SINGLE WORD POP
        SUBR    S$PUSM,PUSM     MEMORY RANGE PUSH