Do not report an error when the segment length equals the bank size.

This is legal per the OMF definition in the GS/OS Reference (and it is accepted by the loader), so it should not be treated as an error.
This commit is contained in:
Stephen Heumann 2021-08-26 22:20:56 -05:00
parent ea3550bfcc
commit 390fd96ede
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,9 @@ Updated 2021
restrictive alignment of any of the object segments, and the
alignment requirements of each object segment will be obeyed.
3. A spurious error is no longer reported for code segments that
are exactly $10000 bytes long (the full size of a bank).
2.0.5 1. On case-sensitive filesystems (which are not normally used
natively on the Apple IIGS, but may be used through emulation
tools or network file servers), the linker can now find object

View File

@ -2495,6 +2495,7 @@ lb2 add4 length,loadPC update the length of the program
beq lb2a
cmpl loadPC,loadBanksize
blt lb2a
beq lb2a
ph4 #0
ph2 #18
jsr Error