[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.2437609 [View]
File: 386 KB, 1920x1080, snapshot12.png [View same] [iqdb] [saucenao] [google]
2437609

>>2437220
I'm actually working on a 65816 disassembler right now. It's actually a non-trivial problem for a few reasons. One of them is that not only are operands variable width, but some operand widths depend on state information. Also indirect jumps can be tricky because you need to supply a list of addresses to jump to, and that list may be in ROM organized as a table (if we're lucky), in ROM all over the place, or once again determined by state. Once I finish it I'll post it to vr, but it may take another few weeks to complete.

As a side note, I haven't used DisPel, but I've got the mapping between physical and logical addresses down very well. You have to define your mapping, but that offers great flexibility in how carts are wired up. You can even sensibly shadow a single ROM address to many CPU areas (think how $00:8000 == $80:8000 on the SNES) and a CPU address to many ROM areas (think memory mapper).

Navigation
View posts[+24][+48][+96]