Users browsing this thread: 1 Guest(s)
Better bank C2 disassembly

#10
Posts: 3
Threads: 0
Thanks Received: 0
Thanks Given: 1
Joined: Mar 2016
Reputation: 0
Status
None
(03-22-2016, 10:53 AM)Madsiur Wrote: I sent you a email regarding the C2 and intro disassembly. Thanks!

Check your email

"Intro.asm" has all the code that is decompressed on RAM $7E:5000 to be executed from there. These routines include:
 * Main title screen
 * Intro where Magitek Armors go to Narshe
 * Scene where the world collapses
 * An unknown scene, which I think it is related to the ending credits.

All these routines share an "event queue" where routines are added to be executed in a cyclic fashion. Most of them works in this way:
* The event routine is accesed from the queue using a JMP ($AAAA,x)
* The first time the queue executes a routine, X=0, so the jump points to the first address in the table which is a initialization code
* The next times the queue executes that routine, X=1, so the jump points to the second address in the table which is the normal code to be executed eache time the queue is analyzed

All routines are labelled so you can modify the code as you please, even I gave some routines a name (in english Laugh ) to make the code more readable.

Bank $C2 disassembly is not finished yet. There are some routines remaining to be identified and some others which need to be tagged and formatted.

By the way, all my source code assembles properly using X816 assembler.  Once I thought it will be better to make the code compatible with asar or xkas, but that meant to change each label because labels in asar/xkas are ended with a ':' and both compilers don't support '$' as part of a label. That was too much work to do Sad
  Find
Quote  



Messages In This Thread
Better bank C2 disassembly - by 13375K37CH3R - 03-06-2016, 02:13 AM
RE: Better bank C2 disassembly - by madsiur - 03-06-2016, 03:07 AM
RE: Better bank C2 disassembly - by madsiur - 03-06-2016, 05:14 PM
RE: Better bank C2 disassembly - by 13375K37CH3R - 03-08-2016, 01:32 AM
RE: Better bank C2 disassembly - by magno - 03-21-2016, 10:53 AM
RE: Better bank C2 disassembly - by Gi Nattak - 03-21-2016, 10:29 PM
RE: Better bank C2 disassembly - by madsiur - 03-21-2016, 11:34 PM
RE: Better bank C2 disassembly - by magno - 03-22-2016, 04:05 AM
RE: Better bank C2 disassembly - by madsiur - 03-22-2016, 10:53 AM
RE: Better bank C2 disassembly - by magno - 03-23-2016, 02:56 AM
RE: Better bank C2 disassembly - by Catone - 03-23-2016, 08:15 AM
RE: Better bank C2 disassembly - by madsiur - 03-23-2016, 02:28 PM
RE: Better bank C2 disassembly - by Catone - 03-23-2016, 03:32 PM
RE: Better bank C2 disassembly - by madsiur - 03-23-2016, 03:51 PM
RE: Better bank C2 disassembly - by Gi Nattak - 03-23-2016, 03:41 PM
RE: Better bank C2 disassembly - by Catone - 03-23-2016, 04:08 PM
RE: Better bank C2 disassembly - by madsiur - 03-23-2016, 04:38 PM
RE: Better bank C2 disassembly - by Catone - 03-23-2016, 05:04 PM
RE: Better bank C2 disassembly - by Lockirby2 - 03-23-2016, 06:07 PM
RE: Better bank C2 disassembly - by Tenkarider - 03-23-2016, 05:21 PM
RE: Better bank C2 disassembly - by madsiur - 03-23-2016, 05:27 PM
RE: Better bank C2 disassembly - by madsiur - 03-01-2017, 05:00 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite