Search found 8 matches

by segher
Tue Jan 19, 2010 2:19 pm
Forum: SNESdev
Topic: What happened with SNES CIC reverse engineering?
Replies: 248
Views: 192761

> The progress is amazing. AFAICS there are only two mysteries left: Depends what you think is the goal of all of this. If the goal is to actually figure out the instruction set, there probably are some more opcodes that aren't used in the CIC code. If the goal is to figure out the algorithm used on...
by segher
Tue Jan 19, 2010 2:11 pm
Forum: SNESdev
Topic: What happened with SNES CIC reverse engineering?
Replies: 248
Views: 192761

> OK, so this is kind of groundbreaking and also great news for people who > would like to build small series of SNES dev carts or the likes. ;) > So, do any ROM dumps or die photographs exist of the D413A (PAL CIC)? I haven't seen any ROM dumps or die shots for those. They aren't needed though (ass...
by segher
Mon Jan 18, 2010 12:59 am
Forum: SNESdev
Topic: What happened with SNES CIC reverse engineering?
Replies: 248
Views: 192761

> Thanks for taking the time to write that up. My pleasure, it was a wonderful ride. I hope this info is useful in some way. > Did you compare with the Tengen code, ala 'rosetta' style? Yes I did. The Tengen code isn't a 1-1 translation, it does some things in a different order, and it doesn't do mo...
by segher
Sun Jan 17, 2010 9:58 pm
Forum: SNESdev
Topic: What happened with SNES CIC reverse engineering?
Replies: 248
Views: 192761

> His second question was like yours: "Why does it use a polynomial > counter?" I told him my guess: a row of latches and an XNOR gate save > a few gates off the row of half adders that make a up a linear program > counter. Yes, it is actually only about half the area, which is worthwhile ...
by segher
Sun Jan 17, 2010 9:48 pm
Forum: SNESdev
Topic: What happened with SNES CIC reverse engineering?
Replies: 248
Views: 192761

I have posted an article at http://hackmii.com/2010/01/the-weird-and-wonderful-cic/ . It describes the architecture and instruction set of the CIC. I also posted disassemblies of the NES and SNES ROMs, and the source code for the disassembler (which is at http://git.infradead.org/users/segher/dis-ci...
by segher
Sun Jan 17, 2010 2:59 pm
Forum: SNESdev
Topic: What happened with SNES CIC reverse engineering?
Replies: 248
Views: 192761

> Did he reproduce this himself by looking at the IC chip, I couldn't get any good photos of the chip, I would love to see some. I reverse engineered this all from just the bits in the rom, and a lot of datasheet/patent archeology. Couldn't find the exact cpu fwiw. > or is this just based on my circ...
by segher
Sat Jan 16, 2010 11:14 am
Forum: SNESdev
Topic: What happened with SNES CIC reverse engineering?
Replies: 248
Views: 192761

> Then please enlighten me

Hint: the fixed point of an LFSR is 0, and that is the start address here.

The correct name for this kind of thing is "polynomial counter".
by segher
Sat Jan 16, 2010 10:01 am
Forum: SNESdev
Topic: What happened with SNES CIC reverse engineering?
Replies: 248
Views: 192761

> In other words, an LFSR program counter. No, it's not. > But of course, this would work only in a pure Harvard architecture, not the von Neumann architecture seen in an NES or the overall von Neumann architecture with Harvard implementation (often as a separate instruction cache) seen in modern CP...