Hi megatog615,
I’ve looked at the Teknor TEK936 v2.9 BIOS, and here are some observations.
This SBC uses an Am29F002BT 256KB flashchip, so I expected to find a 256KB BIOS. However, when I looked into the 936_29.BIN BIOS file with my hexeditor, I don’t see the usual layout of a 256KB Award BIOS.
Instead, the 128KB upper half of this 936_29.BIN file contains a compressed 128KB Award BIOS, and the 128KB lower half contains two uncompressed option ROMs. One of these ROMs is the VGA BIOS, and the other looks like a VT100 ROM for control via a serial port.
So the 256KB flashchip contents is a combination of several independent BIOSes/ROMs. Makes sense on an SBC with integrated VGA chip.
As the locations of various compressed modules in an Award 256KB BIOS is quite different from an 128KB BIOS, CBROM got thoroughly confused when you fed it this 256KB combined BIOS file! 😉
I’ve extracted the upper half of the 936_29.BIN file and stored it as 936_29uh.BIN.
The attachment 936_29uh.zip is no longer available
When I check the contents of this 128KB BIOS with CBROM, I get this output:
The attachment T936_2.9 BIOS 128KB upper half.png is no longer available
The BIOS has only two compressed components, the main System BIOS image “936_290.BIN” and the NCR SCSI BIOS “SAB_AAA.BIN”.
This leaves 7.25KB of remaining compressed code space. This is probably not enough for the BIOS Patcher tool to house its patches.
The 128KB lower half of the flashchip contents however, has plenty of room.
This part with the VGA and VT100 ROMs can again be seen as to 64KB halves. First there is the VGA ROM of 40KB, which places its start address at C000:0000h. The remaining 24KB of this 64KB section is unused.
The VT100 ROM comes next and its start address is therefore D000:0000h. This ROM is only 16KB, so the remaining 48KB of this 64KB part is unused. The upper 32KB of this free space, with start address D800:0000h, would be ideal for XUB! Just leave it uncompressed and use a hexeditor to place it at file offset 18000h of the 936_29.BIN file. Be carefull not to overwrite the start of the compressed Award BIOS at file offset 20000h.
That being said, how large is the drive you want to attach to this SBC?
You speak of adding LBA48, but would LBA28 work as well? I ask this because the BIOS already supports LBA28 for an IDE limit of 128GiB/137GB. Presently there still is a 32GB limit bug, but that can be patched.
So I didn’t find any 8GB limit.
I can help with patching the 32GB and both 64BG limit bugs, if the BIOS Patcher tool gives issues with this BIOS. Let me know what you think.
Cheers, Jan