On 8/3/06, Brendan Moran wrote: > Matthew Miller wrote: > > >On Wed, Aug 02, 2006 at 02:37:39PM -0700, Brendan Moran wrote: > > > > > >>Hi, > >>I'm looking for a low-level x86 emulator or translator for either MIPS > >>or ARM. > >>The idea is to write the emulator into flash, and use redboot or uboot > >>or something similar to boot into the emulated environment. When the > >>boot-load is complete, whatever OS will come up seeing an x86 CPU. This > >>is functionally similar to the Transmetta Code Morphing, but rather than > >>their proprietary 256-bit RISC processor, I want to use either an ARM or > >>a MIPS. > >> > >>I know this is possible, but is it available? Does anyone know where > >>this kind of low-level software can be obtained? > >> > >> > > > >You might find the Bochs x86 emulator useful: http://bochs.sourceforge.net/ > >The projects README file gives an overview of what it does: > >http://bochs.sourceforge.net/cgi-bin/lxr/source/README > > > >Matthew > > > > > The problem I find with Bochs is that it seems to require an underlying > OS. Ideally, I would like to avoid that part, though I may not have > much choice considering that memory management is an issue. Do you know > if bochs can be invoked without an X server? I need it to be able to > run without much. A long time ago (back when I wasn't as good a programmer as I am now), I wrote an x86 interpreter, in C (mostly), that ran on an x86 running DOS. Why? An interpreter is the best debugger. The source is available at: http://www.datapackrat.com/source/vim.html I'm sure it could be made "better" (smaller/faster) as a strict interpreter instead of being a debugger. If you have any questions, please feel free to ask me. Bill -- Psst... Hey, you... Buddy... Want a kitten? straycatblues.petfinder.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist