You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? It took a while to figure out that disk size is also defined in the boot block... X-D But then, I am not exactly an expert on file systems...
-- Pernillux
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, would it be an idea to put in the DISK_BLOCK_NUM constant into the definition of the boot-block, like this:
uint8_t msc_disk[DISK_BLOCK_NUM][DISK_BLOCK_SIZE] = {
{ 0xEB, 0x3C, 0x90, 0x4D, 0x53, 0x44, 0x4F, 0x53, 0x35, 0x2E, 0x30, 0x00, 0x02, 0x01, 0x01, 0x00,
0x01, 0x10, 0x00, DISK_BLOCK_NUM & 0xFF, DISK_BLOCK_NUM >> 8 & 0xFF, 0xF8, 0x01, 0x00,
? It took a while to figure out that disk size is also defined in the boot block... X-D But then, I am not exactly an expert on file systems...
-- Pernillux
Beta Was this translation helpful? Give feedback.
All reactions