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

Re: any emulation docs ?



In article <1187887854.475779.187080@m37g2000prh.googlegroups.com>,
 <zwsdotcom@gmail.com> wrote:

> On Aug 23, 6:08 am, kestas.rutkaus...@gmail.com wrote:
> 
>> I want to write emulator(any system), but i can't find *full*
>> documentation ... ANY suggestions which system emulator to write ?
> 
> No system ever built, past, present or future, has *full*
> documentation.
> 
> Most of the challenge in writing an emulator is finding and emulating
> undocumented behaviors. The "easy" way is to examine real hardware and
> observe how it behaves under certain conditions. The hard way is to
> disassemble bits of software and try to guess what they were expecting
> the hardware to do.

What you say apply only to real systems, i.e. systems already
implemented in hardware.  But kestas wanted to write an emulator of
"any system", i.e. not necessarily any existing system.  That makes him
free to invent any system he wants, produce documentation as complete
as he wants for his imaginary system, and then implement an emulator
for it.  When he's implemented an emulkator for it, his system isn't
quite as imaginary anymore since it has an implementation.

"But who in their right mind would want to emulate some non-existing
system!?!?!?!" I hear you complain.  Well, e.g. Sun did just that
when they first implemented their JVM (Java Virtual Machine)....

-- 
----------------------------------------------------------------
Paul Schlyter,  Grev Turegatan 40,  SE-114 38 Stockholm,  SWEDEN
e-mail:  pausch at stockholm dot bostream dot se
WWW:     http://stjarnhimlen.se/