mirror of
https://github.com/Michaelangel007/apple2_prodos_utils.git
synced 2024-12-27 21:30:26 +00:00
Add boot sector note to init
This commit is contained in:
parent
748dfa85e7
commit
649329c1ef
@ -1423,9 +1423,8 @@ void ProDOS_Init( const char *path )
|
|||||||
memset( gaDsk, 0, gnDskSize );
|
memset( gaDsk, 0, gnDskSize );
|
||||||
|
|
||||||
// Copy Boot Sector
|
// Copy Boot Sector
|
||||||
// TODO:
|
// TODO: Use ProDOS 2.4.1 boot sector
|
||||||
|
|
||||||
// Init Bitmap
|
|
||||||
|
|
||||||
// Create blocks for root directory
|
// Create blocks for root directory
|
||||||
int nRootDirBlocks = 4;
|
int nRootDirBlocks = 4;
|
||||||
@ -1433,6 +1432,7 @@ void ProDOS_Init( const char *path )
|
|||||||
int iNextDirBlock = 0;
|
int iNextDirBlock = 0;
|
||||||
int iOffset;
|
int iOffset;
|
||||||
|
|
||||||
|
// Init Bitmap
|
||||||
gVolume.meta.bitmap_block = PRODOS_ROOT_BLOCK + nRootDirBlocks;
|
gVolume.meta.bitmap_block = PRODOS_ROOT_BLOCK + nRootDirBlocks;
|
||||||
int nBitmapBlocks = prodos_BlockInitFree( &gVolume );
|
int nBitmapBlocks = prodos_BlockInitFree( &gVolume );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user