DCPU-16: Bootable Emulator
Sign in to YouTube
Sign in to YouTube
Sign in to YouTube
Published on Jul 8, 2012
A few weeks ago I was playing around with the idea of a DCPU-16 emulator which would run without an OS, instead relying only on BIOS calls and direct hardware communication.
I did a couple of tests to find out whether it would be possible, especially to see if all of the monitor's advanced features (font and color mapping) would work in the VGA text mode.
Seeing that it would be feasible, I started working on it.
So now, after weeks of frustration, complications and over 1800 lines of hand-written x86 assembly code, I'm able to present to you a 1.7-spec-compliant, low-level bootable DCPU-16 emulator.
I haven't tested this on too many platforms, and even if it works for you, I don't guarantee it's bug-free (it's written in assembler, after all :]). Also, an important
WARNING: Don't boot this program on a real computer if you
* would be sad about your hardware exploding,
* want to avoid data loss,
* don't know what you're doing.
Have fun!
Download:
https://bitbucket.org/benedek/x86-dcpu/
Reddit [/r/0x10c]:
http://www.reddit.com/r/0x10c/comment...
Reddit [/r/dcpu16]: http://www.reddit.com/r/dcpu16/commen...
0x10c Forum:
http://0x10cforum.com/forum/m/4932880...
EDIT: Woo! Hack a Day has Made my Day:
http://hackaday.com/2012/07/09/bootab...
EDIT 2: Wohoo! Notch has made my day even more:
https://twitter.com/notch/status/2223...
-
Category
-
License
Standard YouTube License
Loading...
Loading...
Loading...
Loading...
Loading...
-
5:22
Minecraft Science: Wheat Farm Efficiencyby sethblingFeatured
302,215
-
1:35:40
Horizon: Richard Feynman - No Ordinary Genius (full version)by SevenSevenSevenaka
417,367 views
-
6:33
DCPU-16 Piano and Rocket Launcherby Benedek Vartok
7,107 views
-
9:24
DCPU-16 Robotby Benedek Vartok
3,544 views
-
7:31
DCPU-16 Update: Radiation Effectsby Benedek Vartok
5,203 views
-
32:16
"KEY LIME" "Minecraft Oasis Ep 43by iHasCupquake
108,737 views
-
28:40
The Minecraft Big Bang ! #137by TheSyndicateProject
523,308 views
-
4:20
Notch Plays Minecraft (ItsJerryAndHarry)by ItsJerryAndHarry
1,652,522 views
-
30:40
0x10c Multiplayer First Look: Pre-Alpha By Mojang (720p HD)by BebopVox
102,258 views
-
16:51
Mod Spotlight - Forestry Part 1by direwolf20
201,808 views
-
8:10
DCPU-16 Pixel Graphicsby Benedek Vartok
3,607 views
-
1:33:10
design3 - Interview With Derek Yu of Mossmouthby design3channel
7,083 views
-
14:51
Minecraft Mini-Game : HALO!by SkyDoesMinecraft
1,940,314 views
-
19:42
Amnesia: Dark Room - PEDOBEAR APPROVESby PewDiePie
3,598,006 views
-
3:04
The Higgs Boson, Part Iby minutephysics
1,394,987 views
-
50:42
[GTA: Vice City] Flash FM [HD]by Cr0n1xx
29,096 views
-
2:13
"Minecraft" in DCPU-16 (0x10c)by DiNo2909
51,254 views
-
9:47
'Earth to Mars HD' (Part I) - An Orbiter Filmby TexFilms
26,042 views
-
7:28
DCPU-16 Emulator and Assemblerby Benedek Vartok
2,557 views
-
1:02:17
Notch Livestream - Developing 0x10c!by Robotnik35
27,622 views
- Loading more suggestions...
Uploader Comments (Benedek Vartok)
Callum Steve 1 week ago
Excellent work bro!
Sign in to YouTube
Sign in to YouTube
Benedek Vartok 1 week ago
Thanks!
Sign in to YouTube
Sign in to YouTube
Top Comments
Benedek Vartok 10 months ago
It is still an emulator.  Windows is an operating system, the DCPU-16 is not. It's another kind of computer. Compare it to a SNES if you will. If there was a bootable program that let you play SNES games, it'd still be a SNES emulator. The underlying computer (a x86) still gets x86 instructions, while a few levels above there's an abstraction of a SNES with entirely different instructions. An OS is something entirely different: It lets you run other x86-written programs on an x86 directly.
Sign in to YouTube
Sign in to YouTube
Benedek Vartok 10 months ago
It's the 1980's style computer Notch has designed for his upcoming space-game 0x10c. It will be used to control your space-ship in the game, and he already released the spec for it so people have been playing around with it a lot.
Sign in to YouTube
Sign in to YouTube
All Comments (157)
Benedek Vartok 2 months ago
No.
Sign in to YouTube
Sign in to YouTube
theshyguykingdom 2 months ago
Do you think you would be able to run TES: Arena ?
Sign in to YouTube
Sign in to YouTube
TheMoisex01 2 months ago
After a quick search the are already distros for these purposes. Which make it easear.
Sign in to YouTube
Sign in to YouTube
Benedek Vartok 2 months ago
Yeah. Still, coding a graphics driver is a huge project, and as far as I know, even though some manufacturers have released their specifications, the open source community still didn't make very good drivers for it. I'm not saying people are lazy or aren't trying, it's just very hard as far as I know :D
The good thing with Linux is that since it's so common, there exist relatively good proprietary drivers for it (I had good experiences with nVidia).
Sign in to YouTube
Sign in to YouTube
TheMoisex01 2 months ago
Ummm.. the most likely posible way would be to use a linux base distibution. Or use an opensource graphics card?
Sign in to YouTube
Sign in to YouTube
Benedek Vartok 2 months ago
To my knowledge that's pretty much impossible on PC hardware :)
Unless you're basing your "operating system" on Linux or something, you would have to code the OpenGL driver for the graphics card yourself, which is not really possible (some graphics cards and their drivers are just black-boxes that only its company knows how to control exactly).
Although, OpenGL is only a specification, so you could make a software-implementation using VGA graphics, for example (no acceleration at all then).
Sign in to YouTube
Sign in to YouTube
TheMoisex01 2 months ago
How would you run native opengl programs natively on boot up?
Sign in to YouTube
Sign in to YouTube
Benedek Vartok 2 months ago
Search my channel for "Portal End Credits", you'll find the whole video there :D
Sign in to YouTube
Sign in to YouTube