Skip to content
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

ASM6 Output is Broken #74

Open
htmlcoder2023 opened this issue Jan 4, 2024 · 4 comments
Open

ASM6 Output is Broken #74

htmlcoder2023 opened this issue Jan 4, 2024 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@htmlcoder2023
Copy link

htmlcoder2023 commented Jan 4, 2024

The bug is that if the asm6 assembler config is chosen, the output asm file is not assemble-able with asm6.

To reproduce the behavior: Get an unmodified Super Mario Bros (NTSC) ROM and write nesgodisasm -a asm6 -o smb.asm smb.nes. Then, write asm6 smb.asm. It should show the output above.

I expected the output of the diasssembler to assemble back into a ROM, but instead, tons of errors popped up as seen in the error.txt file.

  • OS: Windows
  • Version / Commit: v0.2.1

error.txt

@htmlcoder2023 htmlcoder2023 added the bug Something isn't working label Jan 4, 2024
@cornelk
Copy link
Member

cornelk commented Jan 4, 2024

@htmlcoder2023 thanks for the bug report. Only asm6f is supported (linked in the readme) as the standard asm6 does not support some unofficial opcodes that you can find in some ROMs

@htmlcoder2023
Copy link
Author

It does not seem to work even with asm6f. It still shows the same errors. I tried typing nesgodisasm -a asm6f -o smb1.asm smb.nes but the disassembler does not support "asm6f."

@cornelk
Copy link
Member

cornelk commented Jan 4, 2024

I was not able to replicate the bug using asm6f 1.6 (+ f003):

nesgodisasm -a asm6 -o smb1.asm Super\ Mario\ Bros.\ \(World\).nes


asm6f smb1.asm
pass 1..
pass 2..
smb1.bin written (40976 bytes).

@cornelk cornelk modified the milestones: Backlog, 0.2.2 Jan 6, 2024
@htmlcoder2023
Copy link
Author

htmlcoder2023 commented Jan 12, 2024

@cornelk I was using asm6f version 1.6, which can be found here: https://github.com/freem/asm6f/releases/tag/v1.6_freem02. It doesn't work with either the 32-bit or 64-bit asm6f versions. I'm not sure what (+ f003) means.

@cornelk cornelk modified the milestones: 0.2.2, 0.4.0 May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants