Code Monkey home page Code Monkey logo

asm68ksymboldump's People

Contributors

bigevilcorporation avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

asm68ksymboldump's Issues

Projects with multiple files have incorrect line numbers when coming back to the main file from an include file

I managed to successful build a larger project (Sonic the Hedgehog 1 specifically). It does indeed run and play correctly. However, when debugging, I noticed that any break points set after the first included file had incorrect line numbers that are extremely far off. As an example, I may have a break point at line 390 and an include file above. Breakpoint hits and send me to line 43. I'd like to mention that I took one of the sample projects, and broke it into 2 files and the symptom still occurs.
I've tried debugging and looking at it closely in Linqpad and found all sorts of interesting things - all of which I am uncertain of the meaning. From the FilenameHeader, the "firstline" variable seems to have different meaning when coming back to the main source file. Also, after coming back, the "Flags" value is only 1 the first few times, afterwards grows to higher numbers (this is very noticeable in Sonic 1).
Also, I'd like to point out that this bit of code found at line 204 is throwing away a lot of information - chunkHeader.payloads, filenameheader values as well which will miss an entire address as well.

if (filenameHeader.flags == 0x1)
{
   //This is the filename passed for assembly
   m_AssembledFile = readString;
}
else // <----- this else will skip any address collecting

Attached are a text dump of the symbol loading from Sonic 1 - also attached is one of the sample projects, and it's symbols, which has been split into 2 files.

Multi-doc Issue.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.