-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LFN/FAT+ search will read invalid plus size from SFN-only redirector #63
Comments
You defined lfn_search_redir in the PCMODE_CODE segment, but in redir.a86 you defined the external to be in the PCMODE_DATA segment. This kind of segment mismatch might impose a problem with the frame of the .OBJ fixup records while linking when using JWasm as an assembler, at least if they are not both part of the same group. I recommend putting the external inside the PCMODE_CODE segment, so that it matches the data definition. |
And if you do that do not forget to extend the group definition inside redir.a86 to include the PCMODE_CODE segment. |
imported via 4132acc |
WJasm extern definition outside of segment
WJasm extern definition inside of segment
Note the different frame method:
RASM86Always seems to use frame method F5 (target index). So as long as one sticks with RASM86 it should be fine, but for MASM compatible conversion you will likely run into trouble.
|
Fixed in https://hg.pushbx.org/ecm/edrdos/rev/877d3129bbed Some of the data already was mismatched like this before yesterday's changeset. Although the same group (PCMDATA) was used in any case, some of the segments did not match across files. I opted to put everything into BDOS_DATA rather than the confusingly named PCMODE_CODE (which actually belongs to PCMDATA group as well). |
As I imported @ecm-pushbx changeset, this can be closed I think. If not, feel free to re-open. |
Details in the bugfix changeset message at https://hg.pushbx.org/ecm/edrdos/rev/7616ed590558
The text was updated successfully, but these errors were encountered: