Page 1 of 1
Hmm, it escapes me
Posted: Thu Sep 25, 2008 1:40 am
by OrOS
I remember reading about a user on here was working on his own emulator for x86. Does anyone remember who this was?
Re: Hmm, it escapes me
Posted: Thu Sep 25, 2008 2:07 am
by Brynet-Inc
OrOS wrote:I remember reading about a user on here was working on his own emulator for x86. Does anyone remember who this was?
There have been several such members, a few have abandoned their projects.. others have just downright disappeared.
Anyway, the 3 projects I know of are:
http://sourceforge.net/projects/x86lib/
(Currently maintained by..
hckr83, sorta..)
http://sourceforge.net/projects/open86
(Originally by
hckr83, now currently unmaintained by
Alboin.)
http://myemu.masen-inhabitants.com/inde ... anguage=EN
(Written by
bluecode, apparently unmaintained.)
Did any of these answer your question?
Re: Hmm, it escapes me
Posted: Thu Sep 25, 2008 12:07 pm
by OrOS
I <3 you
Re: Hmm, it escapes me
Posted: Thu Sep 25, 2008 1:51 pm
by earlz
Yes, what of it? lol
Re: Hmm, it escapes me
Posted: Thu Sep 25, 2008 1:55 pm
by Alboin
Brynet-Inc wrote:http://sourceforge.net/projects/open86
(Originally by
hckr83, now currently unmaintained by
Alboin.)
It's not that it's dead, it's just that I've seriously no time to work on it. It's going through an experimental rewrite, and I may have to rewrite it again with the knowledge I've gained from this rewrite. Quite frankly, I want to avoid having, for example, 'mov_ax_imm_8' and friends, being separate functions, abstract the arguments, and send it all to a single unified 'mov' callback.
I've slight success...
Re: Hmm, it escapes me
Posted: Thu Sep 25, 2008 8:17 pm
by OrOS
Ah, we will make it public soon (at the moment we work on a private CVS & Forum) but myself and 7 others have been working on a x86 and a 6502 Apple II | NES emulator. 6502 is progressing nicely, and we're looking for help with the x86 part from someone with experience.
libx86 is of particular interest.
Re: Hmm, it escapes me
Posted: Fri Sep 26, 2008 9:45 am
by earlz
what language is this being implemented in? And for the x86 emulation part, are you going to try to emulate all of the PC hardware or just some x86 device out there? (actually, I think the PC is the only x86 thing)
Re: Hmm, it escapes me
Posted: Sat Sep 27, 2008 1:23 am
by OrOS
Its written in C++, using SDL as its display library. The source is completely cross platform.
Its being written just for fun and to experiment. As such, we don't really care about overhead, unless it causes a dramatic slow down.
Everything is OO, even the opcodes:
Code: Select all
#include "stdafx.h"
#include "opcodes.h"
namespace COR
{
MOS_LDX::MOS_LDX(void)
{
this->opcode = 0xA2;
this->count = 2;
}
void MOS_LDX::execute(CPU *cpu)
{
cpu->regArray[MOS::reg_x] = cpu->memArray[cpu->regArray[MOS::reg_ip]+1];
cpu->regArray[MOS::reg_ip] += this->count;
return;
}
}
Would be the MOS 6502 opcode LDX.
The monitor is currently able to emulate anything from 80x26 text mode to 640x480 video mode.
x86 support is still far off, as we are all just learning
The 6502 is a fun starter, and having a working Apple II is a hoot.