aboutsummaryrefslogtreecommitdiffstats
path: root/src/programs.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/programs.asm')
-rw-r--r--src/programs.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/programs.asm b/src/programs.asm
index 64efc4d..40d9034 100644
--- a/src/programs.asm
+++ b/src/programs.asm
@@ -103,6 +103,9 @@ ProgBlk:
SECTION "prog_mkdir", ROMX[$4000], BANK[22]
ProgMkdir:
INCBIN "c/mkdir.bin"
+SECTION "prog_count", ROMX[$4000], BANK[23]
+ProgCount:
+ INCBIN "c/count.bin"
; -----------------------------------------------------------------------------
; PROG_SH (bank 3) - the shell, now written in C (c/sh.c): parses >/</| and
@@ -187,6 +190,8 @@ ProgramTable::
dw ProgBlk
db LOW(BANK(ProgMkdir)), HIGH(BANK(ProgMkdir))
dw ProgMkdir
+ db LOW(BANK(ProgCount)), HIGH(BANK(ProgCount))
+ dw ProgCount
; -----------------------------------------------------------------------------
; NameTable (ROM0) - command name -> program id, searched by sys_lookup.
@@ -235,4 +240,6 @@ NameTable::
db PROG_BLK
db "mkdir", 0
db PROG_MKDIR
+ db "count", 0
+ db PROG_COUNT
db 0