ref: cdb90cea2951465357801e1fca4500aea1680ea4
parent: d0a03bc99b88a3d9218970104d817db76a4ed837
author: bentley <[email protected]>
date: Tue Jan 12 17:46:53 EST 2010
remove archaic 512KiB error, replace with 8MiB warning
--- a/src/fix/main.c
+++ b/src/fix/main.c
@@ -296,10 +296,6 @@
if (!(ulOptions & OPTF_QUIET)) {
printf("Padding to %dKiB with pad value %#02x\n", padto / 1024, pad_value & 0xFF);
}
- /*
- if( padto<=0x80000L )
- {
- */
if (size != padto) {
fflush(stdout);
@@ -345,11 +341,9 @@
} else if (!(ulOptions & OPTF_QUIET)) {
printf("\tROM size byte is OK\n");
}
- /*
- }
- else
- FatalError( "Image size exceeds 512KiB" );
- */
+
+ if (calcromsize > 8)
+ warnx("ROM is %dKiB, max valid size is 8192KiB", (0x8000L << calcromsize) / 1024);
}
/*
* -t (Set carttitle) option code