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

The output is wrong. #56

Closed
GoogleCodeExporter opened this issue Mar 30, 2015 · 4 comments
Closed

The output is wrong. #56

GoogleCodeExporter opened this issue Mar 30, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Thank you for fixing #53.
It can open the sol file with a special tag now. But when editing this kind of 
file, the output was wrong.

See below:
I want to change the "gold" object in 00000001_original.sol from 500 to 999.
When I use winhex, the output file (00000001_winhex.sol) can be recognized by 
the flash program.
But using minerva 4.1, the output (00000001_minerva.sol) can't be recognized.

I think the problem may be that the sequence or offset of the objects storing 
in the sol file is changed.

Able to fix it?

Original issue reported on code.google.com by qq169312...@gmail.com on 9 Jan 2015 at 3:03

@GoogleCodeExporter
Copy link
Author

Can you attach the files you edited please?

Original comment by gmariani405 on 10 Jan 2015 at 3:02

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

I attached the files, but may be missing.
So attached again.

Original comment by qq169312...@gmail.com on 10 Jan 2015 at 12:09

  • Added labels: ****
  • Removed labels: ****

Attachments:

@GoogleCodeExporter
Copy link
Author

It was an error in how it calculate the length of UTF-8 strings. Since your 
file path has chinese it was way off. I have a new version coming soon, i also 
added a toggle for the sidebar sort in the about window. Disabling the sort 
will keep the original data order of the file. So when you edit with minerva, 
the only difference between that and the original file will be your change, 
much like what you do with winhex.

Original comment by gmariani405 on 10 Jan 2015 at 2:54

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

It works, thanks.

Original comment by qq169312...@gmail.com on 12 Jan 2015 at 2:32

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants