Results 1 to 6 of 6
- 06-01-2011, 05:41 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 12
- Rep Power
- 0
Writing a virtual machine in Java
Hey there,
I've just finished my second year in an EECS degree, done a few of my own projects, and want to try something a little more challenging -writing a virtual machine. I've never done this before, so tried to google for a while, but all I was getting was intros to THE java virtual machine and nothing about actually writing a VM in java. I know it won't be fast, but Java is the only language I know well enough to try this at the moment.
Anyone got any resources/help/links to set me up?
Cheers.
- 06-01-2011, 07:02 PM #2
Not sure what you mean by a virtual machine. Do you mean simulating a machine at the machine code level with opcodes, program counters, registers, interrupts, etc?
- 06-01-2011, 07:14 PM #3
Member
- Join Date
- Mar 2011
- Posts
- 12
- Rep Power
- 0
Yea :) like that.
- 06-01-2011, 07:20 PM #4
I saw a project like that posted on the net. It was done by a professor as a learning aid for his students.
Don't remember the name.
I've written some simple ones years ago and long ago in grad school.
- 06-02-2011, 12:49 AM #5
You could check out some of the free open-source emulators that are out there, like zsnes. I think most of them are written in C++, but even if you don't know it well, you should be able to get an idea of how they work.
Get in the habit of using standard Java naming conventions!
- 06-02-2011, 12:52 AM #6
...or better yet, start with something simpler. I know there are emulators out there for things like the Commodore 64 and the original GameBoy (based on the relatively simple Z80 processor). My kid brother had to write a 8088 emulator for a class he took... I'm sure there are some student projects out there you could find.
Get in the habit of using standard Java naming conventions!
Similar Threads
-
Difficulty with Java RE/Virtual Machine on Windows 7
By deejaycruiser in forum New To JavaReplies: 1Last Post: 03-08-2011, 07:45 AM -
Could not create Java Virtual Machine
By cr6 in forum New To JavaReplies: 0Last Post: 02-16-2011, 10:40 PM -
calling java virtual machine
By many in forum New To JavaReplies: 5Last Post: 12-01-2008, 10:06 PM -
Virtual machine of java.
By Albert in forum Advanced JavaReplies: 1Last Post: 07-05-2007, 08:48 PM -
C# Java Virtual Machine 1.0.1
By levent in forum Java SoftwareReplies: 0Last Post: 05-25-2007, 07:47 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks