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

Re: Emulator Project Question



In article <3C114DDF.289EC520@mail630.gsfc.nasa.gov>,
Colin Klipsch  <klipsch@mail630.gsfc.nasa.gov> wrote:
 
> Mind you, on today's processors, which are so much faster than the
> 1-MHz 6502 inside the Apple II, you can get away with a lot of casual
> attitude.  For that very reason however, I wouldn't bother with (A)
> writing any part of the emulator in host-native machine language, if
> your host is any computer made since 1995, or (B) writing a JIT
> compiler for 6502-to-native machine code.
> 
> The gains are little; the headaches, enormous.
 
You're probably right.  Some emulators even introduce delay loops to
slow down the emulated Apple II which otherwise woiuld run too fast
for e.g. some Apple II games.  And it makes little sense to work hard
to make your emulator as fast as possible, only to later find out that
it runs _too_ fast and needs to be slowed down....
 
-- 
----------------------------------------------------------------
Paul Schlyter,  Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40,  S-114 38 Stockholm,  SWEDEN
e-mail:  pausch at saaf dot se
WWW:     http://home.tiscali.se/~pausch/