[Info-vax] Android development Was Re: OT: Larry Ellison takes retirement as CEO of Oracle
Johnny Billquist
bqt at softjar.se
Sun Sep 21 11:03:19 EDT 2014
On 2014-09-21 08:37, JF Mezei wrote:
> On 14-09-21 01:41, David Froble wrote:
>
>> x86 has an instruction set.
>>
>> If you can get some x86 instructions into memory, and get them to start
>> executing, that would be an issue.
>
> The VMS image activator would need to be modified to detect a Linux
> image, and likely invoke some Unix emulator that would provide the
> dynamic linking to Unix-like libraries built on VMS, and more
> importantly, capture any internal unix calls and emulate Linux' expected
> behaviour.
>
> Consider code that has all the opcodes to setup a Unix IO call to output
> "Hello World" to stdout. The emulator would have to trap the IO
> instruction, interpret the environment and then issue the equivalent
> $QIO to send "Hello World" to "stdout" (assumed to be a logical poiting
> to SYS$OUTPUT).
Essentially correct, although there are no IO instructions per se, but
various system calls, both for loading in dynamic libraries, grabbing
memory, and doing I/O.
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
More information about the Info-vax
mailing list