Re: WABI

Autor: Jarek Lis (lis_at_cyber.ict.pwr.wroc.pl)
Data: Wed 14 Sep 1994 - 19:56:25 MET DST


Dziekuje za podeslanie zrodlowych informacji, ale mowiac szczerze, to nadal
nie jestem pewny co na prawde sie dzieje.

Dorota Madajczyk - System Engineer (Dorota.Madajczyk_at_Poland.Sun.COM) wrote:
: Quote from WABI Technical Backgrounder:

: Wabi provides a unique approach to running PC applications on UNIX.
: Unlike PC emulation technology, Wabi does not require MS-DOS or Microsoft
: Windows to work. Nor does Wabi require Windows applications be recompiled
: for the UNIX environment. Wabi allows Windows applications to run of-the-shelf
: on UNIX by translating the application to the UNIX environment while
: the application is running.

Jak na razie strasza translacja.

: On the average, Windows applications written to the Win16 API spend most of
: their time making calls to the Windows kernel about 60% to 80% of all calls.
: Most of these API calls are associated with the User Interface aspects of the
: application, such as menus, displaying text, and scrolling.
:
: Wabi translates the Win16 API calls to Xlib calls,

   sam bym tak zrobil. Szumne slowo translacja oznacza ze jesli aplikacja
wola API windowsa, to zostaje uruchomiona procedura WABI, ktora wkrotce
wywola API X-win.

: the set of APIs for X Windows environments
: based on the X11 standard. Wabi allows Microsoft Windows applications to
: run on both RISC- and X86-based UNIX systems equally well. When running Wabi on an X86 version of UNIX, instructions that aren't handled by the Windows API are passed directly to the X86 processor, just as they would be in a native
: Microsoft Windows environment.

Ciagle zrozumiale.
: In RISC implementations of UNIX, Wabi uses a CPU simulator.

zdaje sie, ze mowia o o tym, co my zwyklismy nazywac emulatorem.

: The simulator translates X86 instructions to the associated RISC instructions,
: executes them and returns the appropriate value to the Windows application.

A tu zabili klina. Ale jesli uwzglednic ze 'translate'=tlumaczyc, to mam
wrazenie, ze ciagle opisuja emulator

Alternatywnie moze to oznaczac, ze wstawiaja rozkazy RISC w kod binarny
x86. W swiecie PC to nic nowego. Tak dzialal emulator koprocesora:

pomimo wyraznego rozkazu x87, assembler generowal w tym miejscu INT cos,
przy wykonaniu programu wywolywana byla procedura emulatora, ktora w
obecnosci x87 wstawiala poprawny kod operacji i wracala do programu.
Podobno cos analogicznego dziala teraz na Power PC w celu uruchamiania
aplikacji Windowsa, tylko ze rozkazy x86 sa podmieniane na PPC.

Tylko, ze nie bardzo chce mi sie w to wierzyc, bo potencjalnych problemow
(chocby rozna dlugosc rozkazow) jest cale mnostwo.

Jaroslaw Lis

+------------------------------------------------------------------------+
| E-mail (Internet): | Institute of Engineering Cybernetics |
| jjlis_at_ict.pwr.wroc.pl | Technical University of Wroclaw |
+---------------------------------+--------------------------------------+



To archiwum zostało wygenerowane przez hypermail 2.1.7 : Wed 19 May 2004 - 15:45:56 MET DST