Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Dave Gilbert <gilbertd@treblig.org>
To: Street Dreams <strdream@iserv.net>
Cc: axp-list@redhat.com
Subject: Re: Fishing for emulator / translator ideas...
Date: Sat, 22 Aug 1998 14:47:57 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.3.96.980822144206.499C-100000@tardis.home.dave> (raw)
In-Reply-To: <199808212215.SAA10355@mail.iserv.net>

On Thu, 20 Aug 1998, Street Dreams wrote:

> I realize that this is a daunting task, but I think the challenge is worth
> the task.  Ideally, this type of program wouldn't be needed, but I'm seeing
> more and more binaries without available source.  I probably couln't work
> extensively on this program.  I don't know enough about Linux internals,
> and I'd need to have tall stacks of data sheets.  Both concievably require
> money for books too.  I've done some assembly - less than 8k size in 8086
> code, so I may not know the depth of the pile of do-do that this project
> may involve.

Writing emulators is a challenging and fun task; and since your talking
about emulators which only have to emulate user programs (rather than
emulate the kernel) it shouldn't actually be that hard.

Translators are more tricky - especially if you want to make them
portable; although I'm not aware of the name or where to find it, I
believe there is a portable backend for translators.

I know of research projects writing full anything-anything translators -
but I doubt they'd let their code out since their trying to patent it.

I think its more than possible for you to write an emulator for
anyone of x86/SPARC/Alpha or PPC.  You'll need to understand the processor
COMPLETELY for it to work; so get the datasheets, get the smallest binary
you can find to start with, get the pieces of released source for em86
(that should give you some pointers on how to set up the emulation
to allow it to call Linux system calls).

I've written emulators for a 6502 machine and an ARM based machine (both
of which I understood before writing the emulators) and I found them great
fun.

When I've cleared all the other things out to do (like bug fix the ARM
based one etc.) I wouldn't mind having a go at another emulator or two.

Dave

 --------------------------------------------------------------------
/ Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
\   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
 \____________________________|___ http://www.treblig.demon.co.uk __/


      parent reply	other threads:[~1998-08-22 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-20 10:08 Fishing for emulator / translator ideas Street Dreams
1998-08-21 22:47 ` mgraffam
1998-08-22  0:14   ` Thorsten Koch
1998-08-22 13:47 ` Dave Gilbert [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox