root has storage type of $0f

This commit is contained in:
Kelvin Sherlock 2015-08-18 14:00:50 -04:00
parent f4881d056a
commit 82f5f14026
1 changed files with 9 additions and 2 deletions

View File

@ -83,8 +83,16 @@ wht:
bra store bra store
dir dir
; todo -- $d is for subdirectories. $f is for the volume root (inode 1)
; (however, we could have hard link to inode 1 which is not the root!)
lda inode
cmp #1
beq @root_dir
lda #$0d lda #$0d
bra store bra store
@root_dir
lda #$0f
bra store
reg reg
lda #1 ; could base it on size but whatever! lda #1 ; could base it on size but whatever!
@ -183,8 +191,7 @@ do_blocks proc export
with dp,fst_parms with dp,fst_parms
with v1 with v1
; not sure if minix supports sparse blocks. could just estimate ; minix supports sparse blocks. should just guess based on size...
; based on file size.
phx ; save phx ; save
phy ; save phy ; save