mirror of
https://github.com/Michaelangel007/apple2_prodos_utils.git
synced 2025-01-13 10:30:00 +00:00
Add temp zero sector
This commit is contained in:
parent
b45276aa45
commit
6a84f16409
@ -25,6 +25,7 @@
|
||||
|
||||
size_t gnDskSize = 0;
|
||||
uint8_t gaDsk[ DSK_SIZE_32M ];
|
||||
uint8_t gaTmp[ DSK_SECTOR_SIZE * 2 ];
|
||||
|
||||
uint16_t DskGet16( int offset )
|
||||
{
|
||||
|
@ -1432,11 +1432,11 @@ void ProDOS_Init( const char *path )
|
||||
{
|
||||
// Zero disk
|
||||
memset( gaDsk, 0, gnDskSize );
|
||||
memset( gaTmp, 0, PRODOS_BLOCK_SIZE );
|
||||
|
||||
// Copy Boot Sector
|
||||
// TODO: Use ProDOS 2.4.1 boot sector
|
||||
|
||||
|
||||
// Create blocks for root directory
|
||||
int nRootDirBlocks = 4;
|
||||
int iPrevDirBlock = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user