OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Mar 30, 2024 12:04 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Hmm, it escapes me
PostPosted: Thu Sep 25, 2008 1:40 am 
Offline
Member
Member

Joined: Sat Sep 08, 2007 11:26 pm
Posts: 143
Location: Canada
I remember reading about a user on here was working on his own emulator for x86. Does anyone remember who this was?


Top
 Profile  
 
 Post subject: Re: Hmm, it escapes me
PostPosted: Thu Sep 25, 2008 2:07 am 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2426
Location: Canada
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? :lol:

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.


Top
 Profile  
 
 Post subject: Re: Hmm, it escapes me
PostPosted: Thu Sep 25, 2008 12:07 pm 
Offline
Member
Member

Joined: Sat Sep 08, 2007 11:26 pm
Posts: 143
Location: Canada
I <3 you


Top
 Profile  
 
 Post subject: Re: Hmm, it escapes me
PostPosted: Thu Sep 25, 2008 1:51 pm 
Offline
Member
Member

Joined: Thu Jul 07, 2005 11:00 pm
Posts: 1546
Yes, what of it? lol

_________________
My new NEW blag


Top
 Profile  
 
 Post subject: Re: Hmm, it escapes me
PostPosted: Thu Sep 25, 2008 1:55 pm 
Offline
Member
Member
User avatar

Joined: Thu Jan 04, 2007 3:29 pm
Posts: 1466
Location: Noricum and Pannonia
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...

_________________
C8H10N4O2 | #446691 | Trust the nodes.


Top
 Profile  
 
 Post subject: Re: Hmm, it escapes me
PostPosted: Thu Sep 25, 2008 8:17 pm 
Offline
Member
Member

Joined: Sat Sep 08, 2007 11:26 pm
Posts: 143
Location: Canada
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.


Top
 Profile  
 
 Post subject: Re: Hmm, it escapes me
PostPosted: Fri Sep 26, 2008 9:45 am 
Offline
Member
Member

Joined: Thu Jul 07, 2005 11:00 pm
Posts: 1546
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)

_________________
My new NEW blag


Top
 Profile  
 
 Post subject: Re: Hmm, it escapes me
PostPosted: Sat Sep 27, 2008 1:23 am 
Offline
Member
Member

Joined: Sat Sep 08, 2007 11:26 pm
Posts: 143
Location: Canada
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:
#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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group