Emulate a computer in Unity3D?

Hey all! I have been asked my a game designer to emulate a 16-bit computer’s full functionality in our game. I am aiming for a DOS-like OS but I have some questions on how you guys would implement certain functionality.
-File System A FS seems like the most demanding thing in the whole computer. How would you go about storing all the folders and files? I thought of having actual folders on the users computer, but that would cause security issues.
-(More on the way. I’ll fill this up as problems arise…)

Thanks in advance,
Nick

if you want a fully functional PC ingame you might want to try the same thing as Notch did

http://dcpu.com/dcpu-16/

heres the specs
it’s from this game : http://0x10c.com/
beware though… It’s REALLY hard to program and if you don’t have exceptional skills this might be wayy out of your reach

http://diycomputerscience.com/courses/course/the-elements-of-computing-systems

A course in creating a computer from the ground up.

Have fun!

@Themp I have programmed a compiler for a custom language before and I have even worked on a tiny operating system for the COSMOS kernel. So I hopefully will manage this :slight_smile: Notch is the programmer of Minecraft, right? Didn’t know he was creating another game. Cool! That’s exactly what I want to do but I can’t find any useful information on this subject…

@wccrawford It looks really amazing but that does not seem to involve programming… (Or I didn’t manage to find the correct section?)

I also found this: http://cplus.about.com/od/howtodothingsinc/a/The-0x10c-Assembler-Empulator.htm which seems to be a tutorial on creating a DCPU (Notch’s computer) and an assembler for it but I don’t seem to be able to find the actual tutorial. I think I am going to give this a try myself, but if you manage to find any resources, I’ll be glad to take a look at them. Plus, if I even manage to complete it, i’ll make it open source for people to be able to use in their games.

The first part deals with the necessary hardware theory, including programming to make each of the chips work. The second part deals with writing software (VM, OS, etc) for that hardware.