NoSolution Virtual Machine

new topic     » topic index » view thread      » older message » newer message

As the subject suggests.. i'm currently in development of a "virtual
machine".

Not like the JVM at all however, you write assembly code for the virtual
machine and then assemble it and run it thru the virtual machine.

The assemble code that can be assembled is pretty much like the Intel
implementation of the language.

Ie:
  ; print 'Hello World' to the screen
  msgstr db 'Hello World!',13,10,0

  mov ah, 0             ; File and Device I/O function 0h
  mov al, 1             ; print to standard output
  mov eax, 0            ; print a null-terminated string instead of a
                        ; fixed amount of bytes.
  mov ebx, near msgstr  ; memory address of data to write
  int 1                 ; call the interuppt

prints 'Hello World' to the console on standard output.

Knowing how difficult assembly is to grasp i will try my best to provide a
documentation or at least a tutorial.

My goals in completing the Virtual machine are as follows:
  1) to finally complete one of the many failed applications i've tried
     to develop (gameboy emulator, interpretor, etc)

  2) to see where i stand as far as skill goes
  3) to provide a freeware developement enviroment, provided if i write
     a high level language compiler for the virtual machine.

The first binary distribution will definitely be a DOS32 program, however
i'm split between writing it in C++,Euphoria or Pascal.

Any input would be greatly appriciated!

Ian.

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu