After spending some time in ghidra mapping addresses to lines of code:The boot-loop is from the 9dos kernel, not from the b.com bootloader.