# Validate the ROM ID first to determine the actual/expected size. 0x1111 = 256K...
commitb9a2cfb89d785b1e7a6ea06fbfd72a2a20be46d3
authorNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 12 May 2017 22:35:20 +0000 (12 22:35 +0000)
committerNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 12 May 2017 22:35:20 +0000 (12 22:35 +0000)
tree30c32f1286091e8ffaa93159ff6bd1ae1efd83ef
parente790c14e6624beac5c636b68f913b6ead14714fe
# Validate the ROM ID first to determine the actual/expected size. 0x1111 = 256K ROM, 0x1114 = 512K ROM.
# Adjust the ROM ID if it reports being a 256K image, and exceeds that size - and report that it has done so.
# Fail if we have an invalid ROM ID, the image is too large, or it extends into the ROM Tail Data (*) without valid values.

(*) - The Size/Interrupt/Checksum data.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54667 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/m68k-amiga/boot/romcheck.c