*BSD News Article 82653


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!news.uoregon.edu!vixen.cso.uiuc.edu!howland.erols.net!news.mathworks.com!fu-berlin.de!news.nacamar.de!uni-erlangen.de!rznews.rrze.uni-erlangen.de!cip.informatik.uni-erlangen.de!rdzidlic
From: rdzidlic@cip.informatik.uni-erlangen.de (Richard Zidlicky)
Newsgroups: comp.os.linux.m68k,comp.unix.bsd.freebsd.misc
Subject: OS emulation under Linux or BSD 68K
Date: 11 Nov 1996 12:11:08 GMT
Organization: Student Pool, CSD., University of Erlangen
Lines: 24
Message-ID: <56754s$hj4@rznews.rrze.uni-erlangen.de>
NNTP-Posting-Host: rdzidlic@faui00c.informatik.uni-erlangen.de
Xref: euryale.cc.adfa.oz.au comp.os.linux.m68k:1898 comp.unix.bsd.freebsd.misc:30886


Hello,

I am writing a Sinclair QL emulator for Unix/X11,
currently it works by fully emulating the 68000
CPU on all systems. 

I would now be interested to see whether it is possible 
to use  the host 68K CPU to do the job instead,
just like dosemu does with 8086 emulation on Intel
based Unixes. That would require the ability to catch
all 68k traps, privilege violations etc and map the (virtual)
address space 0-4M for use by emulated software, 
disallowing other memory access for the emulated software. 

Is there some mechanism like Machs trampoline-ing already 
implemented for Linux or BSD?  

Please email me any pointers.


Thanks
Richard