Skip to main content

Timeline for Emulate an Intel 8086 CPU

Current License: CC BY-SA 3.0

14 events
when toggle format what by license comment
Mar 23, 2013 at 18:11 comment added Darius Goad Yeah, I didn't set flags in a LOT of places, because I mainly wanted to get it mostly working, so that I could iron out the details later.
Mar 22, 2013 at 17:39 comment added luser droog Hmm. Maybe that was a little unreasonable of me. Looking at it again, the only thing that really bugs me is the magic numbers everywhere you set flags (and I don't see flags set in some of the ADC ops). ... But on the other front, it is generally agreed that explaining how your code works can help others to decide to upvote you even if they don't know the language (or don't want to read the code).
Mar 22, 2013 at 16:48 comment added Darius Goad What exactly should I factor out? I've already factored out the Mod R/M byte decoding and the opcode prefixes.
Mar 21, 2013 at 2:18 comment added luser droog I've got some nits to pick, but understand that it's only because I care. Your code is, if you'll pardon the expression, kind of a rambling mess. Any chance you could factor-out some of the functions and, you know, make it DRY-er? And some kind of write-up about how it all works, what decisions you made in the construction, etc. would encourage more votes! If you could provide details (maybe an excerpt, too) of these "extra opcodes", that would attract some positive attention your way. Hope this helps. (Pretty screenshots attract votes, too, btw.)
Jan 24, 2013 at 0:43 comment added Darius Goad He hasn't updated his blog in a while. He's on #ibm5150 on EFNET, though, so you could ask him there.
Jan 22, 2013 at 19:26 comment added luser droog I've looked through reenigne's blog. Can't find anything about these extra opcodes. Is it online somewhere?
S Jan 21, 2013 at 15:11 history suggested codeporn CC BY-SA 3.0
Headline formatting
Jan 21, 2013 at 15:06 comment added Darius Goad Yeah, it's about to get worse, too, since I'm about to include NEC V20 support as well.
Jan 21, 2013 at 10:55 review Suggested edits
S Jan 21, 2013 at 15:11
Jan 21, 2013 at 9:00 comment added luser droog (w)holy switch statement!
Jan 21, 2013 at 8:59 comment added luser droog where is the 4455-line file? oh, I found it. the #include "cpu.h" is hard to see.
S Jan 21, 2013 at 2:45 review Late answers
Jan 21, 2013 at 10:56
S Jan 21, 2013 at 2:45 review First posts
Jan 21, 2013 at 8:12
Jan 21, 2013 at 2:30 history answered Darius Goad CC BY-SA 3.0