Re: [ntdev] Virtual Dos Machine

For completeness, only .NET programs that are compiled to MSIL are JIT compiled. Many programs are compiled for a specific CPU and contain native machine code for that architecture.

This happens a lot when p/invoke is used to call unmanaged APIs

Sent from Surface Pro

From: Tim Roberts
Sent: ‎Thursday‎, ‎August‎ ‎06‎, ‎2015 ‎12‎:‎56‎ ‎PM
To: Windows System Software Devs Interest List

xxxxx@gmail.com wrote:

i am trying to write a byte-code virtual machine for my game, which can have access to os api at run-time.
i read through common emulator docs/source - codes but they are designed to run an operating system on them.
its a new interest that i have developed to create game.

None of that requires any special operating system support of any kind.
It’s just a plain, ordinary application. The Java Virtual Machine, the
Python Interpreter, and the .NET runtime used by C#, F# and VB are all
exactly like this.

In fact, you might consider using one of the existing byte-code VMs
instead of creating a new one. There are now many languages that
compile to JVM byte code. Or, you could write in Node.js and have
something that will run anywhere that the Chrome Javascript interpreter
works.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer