mirror of
https://github.com/ksherlock/minix.fst.git
synced 2025-02-06 19:29:51 +00:00
clean up errors
This commit is contained in:
parent
e3208576c2
commit
37b79d95da
@ -548,26 +548,22 @@ do_name_buffer_1 proc
|
||||
lda [ptr] ; total output buffer size
|
||||
sec
|
||||
sbc #4
|
||||
bmi pre
|
||||
bmi error
|
||||
cmp 1,s
|
||||
bcs ok
|
||||
|
||||
|
||||
bts
|
||||
pla
|
||||
error_store_size
|
||||
ldy #2
|
||||
sta [ptr],y
|
||||
|
||||
error
|
||||
pla
|
||||
lda #buff_too_small
|
||||
sta tool_error
|
||||
plx
|
||||
rts
|
||||
|
||||
pre
|
||||
pla
|
||||
lda #parm_range_err
|
||||
sta tool_error
|
||||
plx
|
||||
rts
|
||||
ok
|
||||
pla ; strlen
|
||||
ldy #2
|
||||
|
Loading…
x
Reference in New Issue
Block a user