Then I wanted to look at the GPT, so I did the same for the GPT: that's gpt-read.pl
I merged them both in hdisk-read.pl and I started looking at ISOs to see why they were booting and how.
Then I decided I wanted to programmatically write hybrid MBR in a way that's easier than gdisk and that offers more control that xorriso - that's hdisk-tweak.
The goal is to use IFFT logic based on existing GPT or MBR partitions to write an hybrid matching your exact specifications: instead of a protective 0xEE MBR partition, you have actual MBR partitions matching the GPT partitions