From: Jakob E. <ja...@vm...> - 2004-04-07 14:39:48
|
Jakob Eriksson wrote: > > davesharp wrote: > >> Hi All, >> >> Great work on LINE, and I am very interested in porting the >> application to the BeOS platform. BeOS is already POSIX complient so >> I am hoping very few system calls will actually need to be translated. >> >> I am worried about the int80.sys driver though and how that would >> effect the project. Would I have to port that as well? >> > > Yes, and this is where the magic is. Translating int80 Linux syscalls > to host target syscalls is done via > a version of the cygwin dll. (AFAIK.) > > Porting to another OS altogether is possible. You can either use > something else > than the cygwin code for your int80 translator, or you could port over > the cygwin dll to BeOS. > > >> Plus, can the same technique be used to intercept calls to X11 to >> translate them into local API calls? >> >> > > No, that's on another level. Sure, it could probably be done on some > level, but translating X11 to whatever > is a project on its own, much more complex than LINE itself. > > If you want to run X11 programs, it's easiest to just run an X server > on your host platform. (BeOS.) > > (If I had a wishlist, I'd like to se LINE running on MacOS X. Then you > could run Windows programs on MacOS... that would > be awesome. But I guess you think the same of running Windows programs > on BeOS. :-) > By the way, I am totally misguided. I was mixing up LINE with qemu http://fabrice.bellard.free.fr/qemu/ ... :-) Both projects are cool. And I also deduce you use BeOS on i386, not PPC. ;-) Jakob |