2015-08-11 18:56:19 -04:00
|
|
|
|
|
|
|
; my direct page.
|
|
|
|
dp record $0080
|
|
|
|
|
|
|
|
io_buffer ds.l 1
|
|
|
|
ptr ds.l 1 ; misc ptr
|
|
|
|
|
|
|
|
my_vcr ds.l 1
|
|
|
|
my_fcr ds.l 1
|
|
|
|
call_class ds.w 1
|
|
|
|
|
|
|
|
|
2015-08-26 09:05:14 -04:00
|
|
|
;device ds.w 1 ; device for id_disk.
|
2015-08-11 18:56:19 -04:00
|
|
|
tool_error ds.w 1
|
|
|
|
|
|
|
|
|
|
|
|
inode ds.w 1
|
|
|
|
parent_inode ds.w 1
|
|
|
|
|
2015-08-21 17:08:12 -04:00
|
|
|
;disk_inode ds v1_inode
|
2015-08-13 14:05:19 -04:00
|
|
|
;super ds v1_super
|
2015-08-11 18:56:19 -04:00
|
|
|
|
2015-08-15 09:33:16 -04:00
|
|
|
__end equ *
|
2015-08-11 18:56:19 -04:00
|
|
|
IF *>=$d4 THEN
|
|
|
|
AERROR 'dp -- too large.'
|
|
|
|
ENDIF
|
2015-08-13 14:05:19 -04:00
|
|
|
endr
|
2015-08-11 18:56:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
fcr record 0
|
2015-08-12 11:25:55 -04:00
|
|
|
id ds.w 1 ; ref num
|
2015-08-11 18:56:19 -04:00
|
|
|
path_name ds.l 1
|
|
|
|
fst_id ds.w 1
|
2015-08-12 11:25:55 -04:00
|
|
|
vcr_id ds.w 1
|
2015-08-11 18:56:19 -04:00
|
|
|
level ds.w 1
|
|
|
|
newline ds.l 1
|
|
|
|
newline_length ds.w 1
|
|
|
|
mask ds.w 1
|
|
|
|
access ds.w 1
|
|
|
|
|
|
|
|
; fst-specific items
|
|
|
|
|
2015-08-13 14:05:19 -04:00
|
|
|
inode ds.w 1
|
2015-08-12 11:25:55 -04:00
|
|
|
disk_inode ds v1_inode
|
2015-08-11 18:56:19 -04:00
|
|
|
dirty ds.w 1
|
|
|
|
|
|
|
|
mark ds.l 1 ; current position
|
|
|
|
|
2015-08-13 14:05:19 -04:00
|
|
|
; dirent stuff.
|
2015-08-14 11:45:41 -04:00
|
|
|
|
|
|
|
dirent_zone equ mark ; current directory zone [0-6]
|
|
|
|
dirent_offset equ mark+2 ; current directory offset
|
|
|
|
|
|
|
|
dirent_entry ds.w 1 ; current directory entry.
|
2015-08-11 18:56:19 -04:00
|
|
|
|
2015-08-18 14:00:59 -04:00
|
|
|
;data_zone ds.w 1 ; current zone * 2
|
|
|
|
;data_block ds.w 1 ; 0 if invalid.
|
|
|
|
;data ds.b 1024 ; ?
|
2015-08-11 18:56:19 -04:00
|
|
|
|
2015-08-13 14:05:19 -04:00
|
|
|
__sizeof equ *
|
2015-08-11 18:56:19 -04:00
|
|
|
endr
|
|
|
|
|
|
|
|
vcr record 0
|
|
|
|
id ds.w 1
|
|
|
|
name ds.l 1
|
|
|
|
status ds.w 1
|
|
|
|
open_count ds.w 1
|
|
|
|
fst_id ds.w 1
|
|
|
|
device ds.w 1
|
|
|
|
fst_ptr ds.l 1
|
|
|
|
|
|
|
|
; fst-specific items
|
|
|
|
|
|
|
|
|
|
|
|
; super block elements.
|
|
|
|
|
|
|
|
super ds v1_super
|
|
|
|
first_inode_block ds.w 1
|
|
|
|
first_imap_block ds.w 1
|
|
|
|
first_zmap_block ds.w 1
|
|
|
|
|
2015-08-23 21:41:48 -04:00
|
|
|
; case-sensitive volume name.
|
|
|
|
vname ds GSString32
|
|
|
|
|
2015-08-13 14:05:19 -04:00
|
|
|
__sizeof equ *
|
2015-08-11 18:56:19 -04:00
|
|
|
endr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fst_id equ 'mx'
|