Browse Source

zasm: clean up jump table requirements

There was a little bit of cruft.
pull/75/head
Virgil Dupras 4 years ago
parent
commit
cbc6fb5931
3 changed files with 1 additions and 8 deletions
  1. +0
    -2
      apps/zasm/glue.asm
  2. +1
    -4
      tools/emul/zasm/glue.asm
  3. +0
    -2
      tools/emul/zasm/user.h

+ 0
- 2
apps/zasm/glue.asm View File

@@ -20,7 +20,6 @@
; *** Requirements ***
; strncmp
; addDE
; addHL
; upcase
; unsetZ
; intoDE
@@ -34,7 +33,6 @@
; fsFindFN
; fsOpen
; fsGetB
; cpHLDE
; parseArgs
; _blkGetB
; _blkPutB


+ 1
- 4
tools/emul/zasm/glue.asm View File

@@ -11,7 +11,6 @@ jp init ; 3 bytes
; *** JUMP TABLE ***
jp strncmp
jp addDE
jp addHL
jp upcase
jp unsetZ
jp intoDE
@@ -25,7 +24,6 @@ jp blkSet
jp fsFindFN
jp fsOpen
jp fsGetB
jp cpHLDE
jp parseArgs
jp _blkGetB
jp _blkPutB
@@ -83,8 +81,7 @@ emulGetB:
cp a ; ensure z
ret
.eof:
call unsetZ
ret
jp unsetZ

emulPutB:
out (STDIO_PORT), a


+ 0
- 2
tools/emul/zasm/user.h View File

@@ -6,7 +6,6 @@
; *** JUMP TABLE ***
.equ strncmp 0x03
.equ addDE @+3
.equ addHL @+3
.equ upcase @+3
.equ unsetZ @+3
.equ intoDE @+3
@@ -20,7 +19,6 @@
.equ fsFindFN @+3
.equ fsOpen @+3
.equ fsGetB @+3
.equ cpHLDE @+3
.equ parseArgs @+3
.equ _blkGetB @+3
.equ _blkPutB @+3


Loading…
Cancel
Save