debugging

This commit is contained in:
Kelvin Sherlock 2015-08-26 09:09:23 -04:00
parent 2add331e03
commit 6e51766769
2 changed files with 9 additions and 2 deletions

View File

@ -169,7 +169,7 @@ class1
dispatch get_dir_entry_dcb_1 dispatch get_dir_entry_dcb_1
~DebugHexDump param_blk_ptr, #DirEntryRecGS.__sizeof ;~DebugHexDump param_blk_ptr, #DirEntryRecGS.__sizeof
lda tool_error lda tool_error
cmp #1 cmp #1
@ -290,7 +290,7 @@ init proc
ror size ror size
~DebugHexDump <my_vcr, #vcr.__sizeof ;~DebugHexDump <my_vcr, #vcr.__sizeof
ldy #vcr.super.magic ldy #vcr.super.magic
lda [my_vcr],y lda [my_vcr],y
@ -812,6 +812,7 @@ strcmp procname
import target:GSString32 import target:GSString32
;~DebugSetTrace #1
iny ; skip inode iny ; skip inode
iny iny
@ -839,6 +840,7 @@ loop
bne loop bne loop
long m long m
yes yes
;~DebugSetTrace #0
clc clc
rts rts
@ -852,6 +854,8 @@ eos
no8 no8
long m long m
no no
;~DebugSetTrace #0
sec sec
rts rts

View File

@ -372,6 +372,9 @@ eop
; target is valid, inode is valid, is target in inode? ; target is valid, inode is valid, is target in inode?
;~DebugHexDump #target, #34
jsr find_entry_by_name jsr find_entry_by_name
bcc @ok bcc @ok
; may be file_not_found, may be path_not_found. ; may be file_not_found, may be path_not_found.