-
Notifications
You must be signed in to change notification settings - Fork 9
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
Possible bug asmsx-darwin when including external files #138
Comments
It sounds like the file contains a hidden character (CR?) . |
I tested a example code that @z80Robot shared with me and it assembles correctly using asmsx.exe windows version. |
Yes, someone else also tested and had no issues assembling with windows version. If I assemble with no links to external files then it works as expected. |
Linux version, using
On the other hand, @z80Robot, you're using the following command: You might be missing the
or (even better) in the same folder:
Just to discard possibilities. |
It does not work using -o for the output. lib/setup_ram.asm
It works this way if external file is in the same folder:
|
What about using |
line 22: .INCLUDE "setup_ram.asm" Using
or
or
result
It works only when building from the same folder and including the external files together, as far as I have tested. Please let me know if you want me to do more test. Thank you for taking care about this. |
Some more test and conclusions: Test 01: In the code:
Terminal:
or from ~/Desktop/
File ~tmppre.0 is created at /Desktop/ Test 02: Just swapping include and incbin order in the code.
Terminal:
TEST 03: Subfolders work when Path: includetest/Bin/Screen_00000 Code:
At rom.sym:
Terminal:
Conclusion: 1.- Only works when asmsx-darwin is executed at main.asm path Until someone can test and verify, or this can be fixed, I suggest to add a line in 1.5. chapter at the user manual. |
Hello,
Binary path: /usr/local/asmsx-darwin
macOS 15.2 (24C101)
asMSX v1.1.1 MSX cross-assembler. asMSX Team. [2024-11-17]
When using incbin / include:
My code
However, files exist:
Also, someone has tested my code in Win version and had no issues.
The text was updated successfully, but these errors were encountered: