From 649329c1ef3f86a6a3e4666a05b403d5842e7d96 Mon Sep 17 00:00:00 2001 From: Michaelangel007 Date: Mon, 11 Dec 2017 08:22:05 -0800 Subject: [PATCH] Add boot sector note to init --- prodos.tools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prodos.tools.cpp b/prodos.tools.cpp index 911baec..7de33cd 100644 --- a/prodos.tools.cpp +++ b/prodos.tools.cpp @@ -1423,9 +1423,8 @@ void ProDOS_Init( const char *path ) memset( gaDsk, 0, gnDskSize ); // Copy Boot Sector - // TODO: + // TODO: Use ProDOS 2.4.1 boot sector - // Init Bitmap // Create blocks for root directory int nRootDirBlocks = 4; @@ -1433,6 +1432,7 @@ void ProDOS_Init( const char *path ) int iNextDirBlock = 0; int iOffset; + // Init Bitmap gVolume.meta.bitmap_block = PRODOS_ROOT_BLOCK + nRootDirBlocks; int nBitmapBlocks = prodos_BlockInitFree( &gVolume );