View Single Post
Old June 5th, 2009   #63 (permalink)
serge2k
Registered User
 
Join Date: Sep 2006
Location: surrey
Posts: 45
I already got rid of my switch

void (*operation[256])(Processor *p)

operation[opcode](this)

if i wasn't using C++ then it would be easier. As it is now it works but I'm not sure if it's that good of an idea, eliminates the need to check every time but I don't know if there is any issue doing it that way.

I think I'm doing the interrupts correctly then.

I did read through the emutalk but I had questions and this place seems more active.
serge2k is offline   Reply With Quote