Development of a QBasic ZZT clone
Moderator: Terryn
- superbowl shuffle
- Official Clamp School Defender
- Posts: 418
- Joined: Mon Apr 07, 2003 4:52 am
- Location: CAsE SenSiTiVe
Sorry for the belated response.
A Virtual Machine is basically a layer of abstraction over your operating system. Instead of letting your operating system run the executable directly (as compiled C/C++ code, or FreeBASIC for that matter), you write a program that emulates an abstract computer running bytecode. The idea is that, so long as you have a virtual machine for a particular platform, you can run any of that language's bytecode on it. This is what Java does. You can run the same compiled Java bytecode on a bunch of different platforms (Windows, *nix, MacOS, even embedded hardware "Java chips") without recompiling. That Java Runtime Environment (JRE) that you have to install before you can run any Java applets is the Java Virtual Machine. ZZT does not compile ZZT-OOP into bytecode, it just interprets it directly, but it does create an abstract environment in which to execute the code - a crude Virtual Machine.
A Virtual Machine is basically a layer of abstraction over your operating system. Instead of letting your operating system run the executable directly (as compiled C/C++ code, or FreeBASIC for that matter), you write a program that emulates an abstract computer running bytecode. The idea is that, so long as you have a virtual machine for a particular platform, you can run any of that language's bytecode on it. This is what Java does. You can run the same compiled Java bytecode on a bunch of different platforms (Windows, *nix, MacOS, even embedded hardware "Java chips") without recompiling. That Java Runtime Environment (JRE) that you have to install before you can run any Java applets is the Java Virtual Machine. ZZT does not compile ZZT-OOP into bytecode, it just interprets it directly, but it does create an abstract environment in which to execute the code - a crude Virtual Machine.
Did someone say ZZ3 Source Code?
*cough* I have it somewhere... On a floppy I think... I seriously haven't looked at it in forever... Needs the BWSB (Bells and Whistles Sound Board) Library to compile as well... Hmm... Have that somewhere too...
If you need any help, email me.
And no folks, this does not mean I'm back from the dead... College still ownz me.
If you need any help, email me.
And no folks, this does not mean I'm back from the dead... College still ownz me.
Are you referring to the dog or Jesus
[img:1yn06nag]http://img294.imageshack.us/img294/9531 ... sigdo8.jpg[/img:1yn06nag]