http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: :) thanks. I've question about emulator...



well basically what you do is emulate all hardware original machine has. so
if machine has one meg ram you have to have also 1 meg of space where to
store this stuff. and you have to also store the registers of cpu somewhere
since they are different from PC's regs. and then you just operate every
opcode for  the processors of your target hardware. and reflect all the
changes in memory and ports of the target hardware in real pc, for example
when PC writes to address A000:0000... or something a pixel appears on the
monitor, so you have to know where the hardware you emulate writes when it
draws a pixel and then everytime the program for emulator (i.e. a rom)
changes contents of that memory area you reflect that change in computer's
memory area (i.e. in this case the graphics area A000:0000). of course in
win32 where you now longer have direct access to hardware you have to do
that via some kind of layer like DirectX.

well there's much simplified version of how emulator works but better
explanation would take a lot more time and there are many of better
explanations on the internet. and sourcecodes of emulators too. zophar's
domain www.zophar.net is good place to start serching for emulator related
material.

sorry for bad english and typos
--Tommi Pirinen
----- Original Message -----
From: "Chendra Hadi S." <chendra@inf.its-sby.edu>
To: <gameprogrammer@gameprogrammer.com>
Sent: Tuesday, January 09, 2001 9:06 AM
Subject: :) thanks. I've question about emulator...


>
> hello...
> thank you then.. for your understanding :)
> I'll keep on the list since I think this is quite a valueable mailing list
> for me.. :)
>
> I think the virus was w95mtx? I've just visited this website containing
> information how to remove the virus from the PC but perhaps some data can
be
> lost.
> http://www.symantec.com/avcenter/venc/data/w95.mtx.html
> http://www.symantec.com/avcenter/venc/data/w95.mtx.fix.html
>
> by the way, I have a question right now. Anyone have any idea how to
create
> an emulator such as epsxe or bleem or neogeo or zsnes or....other
emulators?
>
> best regards,
>
> Chendra
> =================================================================
> The GameProgrammer.Com mailing list is for the open discussion
> of any topic related to the art, science, and business of
> programming games. This list is especially tolerant of beginners.
> We were all beginners once
>
> To SUBSCRIBE or UNSUBSCRIBE please visit:
> http://gameprogrammer.com/mailinglist.html
>

=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html