From 99072bbe8d94f817eed7a52e1f8a917d47321b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20GIBERT?= Date: Thu, 19 Apr 2018 13:09:49 +0100 Subject: [PATCH] Kernel 0.9.1 : FORMAT, Added cmd line switch to specify catalog size in block. allow saving 3 blocks (1,5k) on 5.25 floppies. --- .Docs/LIBBLKDEV.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.Docs/LIBBLKDEV.md b/.Docs/LIBBLKDEV.md index 79f8238b..02790b02 100644 --- a/.Docs/LIBBLKDEV.md +++ b/.Docs/LIBBLKDEV.md @@ -5,6 +5,8 @@ ## In : + PUSHW = DevSize (in 512b blocks) ++ PUSHB = Catalog Size (in blocks) ++ PUSHB = Options ## Out : + X=BlockCount (max 22) @@ -14,12 +16,14 @@ ## In : + PUSHW = DevSize (in 512b blocks) ++ PUSHB = Catalog Size (in blocks) ++ PUSHB = Options + PUSHW = VolName (PSTR) + PUSHW = DstBuf (Zero filled) + Blk0 : ProDOS.BootBlk + Blk1 : SOS.BootBlk - + Blk2,3,4,5 : Volume Directory - + Blk6.... : Volume Bitmap (4096/Blk) + + Blk2...n : Volume Directory + + Blkn+1.. : Volume Bitmap (4096/Blk) + max devSize = 65535 -> max 16 Bitmap Blk + absolute MAX DstBuf size= + 7 for Disk II(280blk),3.5(1600),3.5HD(2880)