Commit Graph
84 Commits
Author SHA1 Message Date
pantonshire bd3063a80d vga print helpers 2024-07-14 19:01:15 +01:00
pantonshire 592826e8cd load remaining boot1 sectors 2024-07-14 10:06:18 +01:00
pantonshire 76c6d5c355 save a few boot0 bytes 2024-07-14 08:17:22 +01:00
pantonshire 8a75404437 minor boot0 cleanup 2024-07-13 15:46:48 +01:00
pantonshire cdb70a4105 add seabios as submodule 2024-07-12 20:23:35 +01:00
pantonshire 5dad1faa66 write second stage to its own partition 2024-07-07 18:30:11 +01:00
pantonshire 49d53571c4 remove proof, perhaps we can put it elsewhere later 2024-07-07 18:22:09 +01:00
pantonshire 067e4df824 clean up dummy stage 2 a bit 2024-07-07 18:13:01 +01:00
pantonshire fbdbbc5345 jump to stage 2 bootloader 2024-07-07 18:07:18 +01:00
pantonshire b45ee48c90 treat partition end lba as inclusive 2024-07-07 17:56:45 +01:00
pantonshire b32a763d17 tiny optimisation to gpt entry size check 2024-07-07 17:21:20 +01:00
pantonshire c599bf3ed6 use labels for stack variables 2024-07-07 16:34:54 +01:00
pantonshire f9e2135e3b fix bug in stage 2 search 2024-07-07 16:04:05 +01:00
pantonshire cda3a448a9 use qemu stdio monitor 2024-07-06 22:36:25 +01:00
pantonshire 2cca21750c load stage 2 partition start and end 2024-07-06 22:36:04 +01:00
pantonshire 4433200e23 function for reading lba, get correct offset into sector for gpt entry 2024-07-06 12:59:35 +01:00
pantonshire f52b659945 start stage 2 partition search 2024-07-06 11:05:24 +01:00
pantonshire debcfdd281 find byte stride and entries per sector 2024-07-06 08:57:59 +01:00
pantonshire a4fc5c6352 update resources 2024-07-06 06:59:40 +01:00
pantonshire d27dc89984 load more gpt header fields 2024-07-05 09:20:45 +01:00
pantonshire f86617e750 bounds check gpt starting lba 2024-07-04 09:54:17 +01:00
pantonshire f645368a06 check gpt partition magic 2024-07-03 09:49:34 +01:00
pantonshire 1bad40143e explain div weirdness 2024-07-03 09:22:21 +01:00
pantonshire 108040ae01 load lba 1 2024-07-01 09:45:01 +01:00
pantonshire b0547844ed update resources 2024-07-01 08:31:35 +01:00
pantonshire 87854597a1 create disk image with gpt 2024-07-01 08:31:16 +01:00
pantonshire a33a21cde9 update memory layout table 2024-06-30 09:22:48 +01:00
pantonshire f666e43386 memory map resources 2024-06-30 09:00:47 +01:00
pantonshire 629fc3e826 get drive geometry 2024-06-29 16:45:58 +01:00
pantonshire fb6cc7a3be add resources.md 2024-06-29 13:10:43 +01:00
pantonshire f7733f1e74 estoy loopin 2024-06-29 11:12:32 +01:00
pantonshire 9024269ec5 rename first stage 2024-06-27 08:06:55 +01:00
pantonshire 0c74d1e873 reserve space for mbr partition table 2024-06-25 09:19:23 +01:00
pantonshire 50353bafdd little boot sector that writes hi to vga 2024-06-23 21:07:00 +01:00