I’ve found an emulator for 80×86 created by using Java,
and I want know, how I can create an emulator 80×86 by Java?
where I can found tutorials and documentation?
etc …
Thanks very much!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The 8086 has a pretty complicated architecture. For your first forays into writing emulators, I’d suggest a much simpler 8-bit chip such as the 8090/8085 family. I once wrote an simulator for the 8080 in FORTRAN in about a week, complete with assembler, debugger etc.
The way an emulator works is pretty simple – you have an array representing memory, which you fill with the correct machine code or your program. You then walk through this memory interpreting the machine code at the simulated programming counter as you go, and adjusting the program counter according to the opcode being executed. To do this you will need the spec of the processor, and a reasonably good understanding of assembly/machine code, and the processor architecture.