From: David Given Date: Sat, 9 Dec 2017 23:21:23 +0000 (+0100) Subject: Increase the boot partition size to allow three 16kB banks, not just two. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bf0b8e4d74d405d416c4609fdbdef2b33fb4053a;p=FUZIX.git Increase the boot partition size to allow three 16kB banks, not just two. --- diff --git a/Kernel/platform-nc200/bootblock.s b/Kernel/platform-nc200/bootblock.s index 3afe3fba..14094256 100644 --- a/Kernel/platform-nc200/bootblock.s +++ b/Kernel/platform-nc200/bootblock.s @@ -6,7 +6,7 @@ .dw reserved_sectors .db 2 ; FAT count .dw 0x70 ; number of root directory entries - .dw 108 ; filesystem size, in sectors + .dw 144 ; filesystem size, in sectors .db 0xf9 ; media byte .dw 3 ; sectors per FAT .dw 9 ; number of sectors per track @@ -28,17 +28,17 @@ .db 0 ; partition status (not bootable) .db 0, 2, 0 ; encoded CHS of start .db 0xda ; partition type - .db 1, 8, 5 ; encoded CHS of end + .db 1, 8, 7 ; encoded CHS of end .dw 1, 0 ; LBA of start - .dw 0x6a, 0 ; LBA of end + .dw 0x8e, 0 ; LBA of end ; partition 1 .db 0 ; partition status (not bootable) - .db 1, 9, 5 ; encoded CHS of start + .db 1, 9, 7 ; encoded CHS of start .db 0x83 ; partition type .db 1, 9, 0x4f ; encoded CHS of end - .dw 0x6b, 0 ; LBA of start - .dw 0x534, 0 ; LBA of end + .dw 0x8f, 0 ; LBA of start + .dw 0x511, 0 ; LBA of end .org 0x01fe .db 0x55, 0xaa @@ -75,6 +75,7 @@ four_tracks four_tracks + four_tracks .endm .org 0x400