PATCH: Correction in loading of Endeavor BIOS

Discussion of development and patch submission.
Post Reply
Posts: 171
Joined: Wed 18 Mar, 2015 5:27 am

PATCH: Correction in loading of Endeavor BIOS

Post by ecksemmess » Fri 13 Nov, 2015 7:28 am

Attached is a patch for mem.c which corrects a minor error in the loading of the Endeavor's BIOS. The current code seems to presume that the Endeavor uses the same size BIOS as the Batman's Revenge, which is wrong. Of course, in actual hardware terms they both use similar 128 KB Flash ROMs, but in file-based form the Endeavor expects an extra 4 KB block, as can be seen by checking the file sizes of the ROMs currently used by PCem for these boards. This won't make much difference for now as the last 4 KB doesn't appear to be used for anything much in the version of the Endeavor BIOS that PCem is currently using. Even so, it is still most correct to load the whole thing, and doing so will also improve PCem's compatibility with alternate BIOSes for the Endeavor board, which is desirable for certain purposes.
(1.19 KiB) Downloaded 121 times

User avatar
Site Admin
Posts: 1868
Joined: Thu 24 Apr, 2014 4:18 pm

Re: PATCH: Correction in loading of Endeavor BIOS

Post by SarahWalker » Fri 13 Nov, 2015 8:53 pm

Committed to rev 392.

Post Reply