Emulation

I am a beginner with C++ and would like to explore writing emulation. I know at this point, it's pretty intense relative to where I'm at, so where should I start? What kind of projects should I work on to get me there?

Sorry for the vague question; I have googled this one like crazy and really haven't found any good answers.
Open source - wine
or commercial - vmware
@OP,
You could try creating a very simple virtual machine, design a simple instruction set, and

As a simple example:
1
2
3
4
5
6
7
8
9
10
11
12
13
for (;;) {
        char opcode = memory[ip++];

        switch (opcode) {
                case NOP:
                        /* Do nothing */
                        break;
                /* [...] */
                default:
                        std::cout << "Illegal instruction!";
                        exit(1);
        }
}


@Denis,
WINE Is Not an Emulator (couldn't resist).
Last edited on
Topic archived. No new replies allowed.