diff --git a/fst.equ b/fst.equ index a9ca043..4133e71 100644 --- a/fst.equ +++ b/fst.equ @@ -20,6 +20,7 @@ parent_inode ds.w 1 disk_inode ds v1_inode ;super ds v1_super +__end equ * IF *>=$d4 THEN AERROR 'dp -- too large.' ENDIF diff --git a/get_dir_entry.aii b/get_dir_entry.aii index 2eb69b0..d60e07f 100644 --- a/get_dir_entry.aii +++ b/get_dir_entry.aii @@ -26,7 +26,7 @@ ; dirent_entry = 2, dirent_zone = ..., dirent_offset = ... ; -gde_dp record dp +gde_dp record dp.__end ; size of the directory, divided by dirent_size. @@ -88,6 +88,7 @@ get_dir_entry procname export with dp with gde_dp + ;~DebugSetTrace #1 jsr init_fcr jsr init_vcr @@ -155,6 +156,10 @@ class1 asl a ; x 4 tax dispatch get_dir_entry_dcb_1 + + + ~DebugHexDump param_blk_ptr, #DirEntryRecGS.__sizeof + lda tool_error cmp #0 rtl @@ -273,7 +278,9 @@ init proc ror size - ldy #v1_super.magic + ~DebugHexDump