bigevilcorporation / asm68ksymboldump Goto Github PK
View Code? Open in Web Editor NEWSymbol file reader and dump tool for PsyQ ASM68K.EXE
Symbol file reader and dump tool for PsyQ ASM68K.EXE
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.