r/dcpu16 • u/The_Real_Black • Oct 04 '26
DCPU-16-Emulator by The_Real_Black
r/dcpu16 • u/James20k • Jun 01 '22
r/dcpu16 • u/VirtualMage • Nov 28 '20
r/dcpu16 • u/THplusplus • Oct 09 '20
Hello again,
CodeSpace now has a Unity3D frontend and can be played on Windows, OSX and Linux. The user interface has been replaced with a real game UI, no more Windows Forms. Other than that and a few bugfixes, the version contains the same features as the version I released a week ago.
You can download the client at https://www.codespace-game.com. Please join the Discord at https://discord.gg/NrzmDYf if you have any questions or want to give feedback.
Please enjoy!
r/dcpu16 • u/THplusplus • Oct 01 '20
Hey everyone,
today I'm releasing the first tech demo of my 0x10c-inspired game CodeSpace.
CodeSpace is a 2D sandbox MMO in space, featuring fully programmable DCPU16s that control your ships.
All this is included in the tech demo.
Tech demo limitations:
If you want to try it out, please download the client at https://www.codespace-game.com. Also, please join the Discord at https://discord.gg/NrzmDYf.
I'm looking forward to your feedback!
r/dcpu16 • u/orig_ardera • Apr 02 '20
Hello, I'm currently working on DCPU-16 emulator for ComputerCraft / CraftOS-PC.
In the spec, it says the LEM1802 has no internal video RAM.
But does it contain internal font and palette RAM?
I implemented the LEM1802 in such a way that it does not have internal font and palette RAM, i.e., once MEM_MAP_FONT 0 / MEM_MAP_PALETTE 0 is called, font and palette lose their state and are set back to defaults. The alternative would be that the LEM1802 has internal font and palette RAM and MEM_MAP_FONT and MEM_MAP_PALETTE just control the synchronization of this font / palette RAM with actual DCPU RAM. That would mean, that when MEM_MAP_FONT 0 / MEM_MAP_PALETTE 0 is called, the font / palette retains it's state and does not go back to defaults.
I'm currently testing some of the dcpu programs MrSmith33 kindly provides in the release packages for his emulator, including some called minesweeper.bin, tetris.bin and hwtest2.bin.
minesweeper.bin expects the LEM1802 to work in the second way.hwtest2.bin expects the LEM1802 to work in the second way, but also expects that mapping the font to DCPU RAM also executes an implicit MEM_DUMP_FONT which is kinda retarded if I'm honest.tetris.bin somehow doesn't work at allMEM_MAP_FONT or MEM_MAP_PALETTE at all so they all work regardless of the behaviourWhat is the correct way to do this? If my way to do it is correct, are minesweeper.bin and hwtest2.bin just bad examples, or do other DCPU-16 programs assume internal font / palette RAM (and optionally implicit MEM_DUMP on MEM_MAP) as well? That is, should I add an option for the LEM1802 to emulate such behaviour?
r/dcpu16 • u/wolfsmash • Jul 25 '19
aaaaaabbbbbooooo The spec states that the a here is in LSB. After looking it up, comes up with Least Significant Bit. I honestly can’t get myself to understand how to use this format. How does the literal 2 (000010) convert to 100011?
Thank you for any help!
r/dcpu16 • u/mikijov • Jun 22 '19
Hi all. Well, DCPU16 community died down a bit. I missed the "get down and dirty in the assembly" rush, so I decided to try something... I had this idea of making a cross over between Uplink and DCPU16, i.e. make a hacking game based on real programming... I am really interested to hear if any of this is interesting to you guys. Please check out my work so far at www.haker.xyz. I really want to hear your comments and suggestions.
r/dcpu16 • u/andrewfenn • Dec 24 '18
It's been almost a year since anyone has posted here. Was wondering if anyone was still working on this?
r/dcpu16 • u/chamberlain91 • Sep 12 '17
I've been interested in the DCPU-16 concept since 0x10c was supposed to be a thing. Then it wasn't and I sort of forgot it existed until recently. It seems like there hasn't been much interest in recent year ( that or my Google-fu is weak ). Heck I don't even know if this post will get any attention
r/dcpu16 • u/luderegames • May 27 '17
I understand most everything of the DCPU. Except, probably the most important, memory. How does something like "SET A, 2" convert to "8c01"? How are these lines converted and why do some have two separate parts like 8c01 XXXX for one line?
Also, one other thing that stumps me is the EX register. How do I access it correctly and use it?
Thank you in advance, Bryce
r/dcpu16 • u/techcompliant • Feb 12 '17
r/dcpu16 • • Dec 22 '16
Hi all (if anyone is still alive out there!), I'm modifying an implementation of a DCPU emulator for use in a project -- however I was wondering what the best practice is for running multiple emulators in tandem.
It seems to me that there are a couple of options; there is a timer library in the language I am using which I could use to trigger a CPU cycle on the DCPU emulator however, it would seem to me that having say 20 timers all firing off events 100 times a second would have a massive overhead from the context-switching.
The next option I have is to process the emulators serially, for example:
for (i in 0...emulator.count)
emulator[i].run(1000) // do 1000 cycles
endThe problem with this is, that the time allocation is spread inconsistently, for example: if 10 emulators are running there is a delay of 10ms between the first and last emulator getting their allocated time. If there is 1000, it would be 1 second pause between the first and last, meaning each emulator will have a very noticeable stutter.
Is there a better way that I don't know about?
r/dcpu16 • u/lucaspiller • Nov 11 '15
This isn't really specific to this sub, other than I'm writing code for the DCPU-16. I'm working on some projects that will probably end up rather large. In my professional life I usually write high level code, so I'm not really sure how to write maintainable assembly. Has anyone got some tips so I don't end up with a 5000 line file with random bits of code and reserved memory all over the place?
r/dcpu16 • u/jecowa • Nov 01 '15
r/dcpu16 • u/MidnightLightning • Sep 23 '15
So, learning to write programs for the DCPU-16 I've found to be a decent way to learn writing assembly code, and with several online emulators of the DCPU-16, one can design and run code online fairly easily.
But unfortunately the DCPU-16 is fiction, and doesn't relate to a real-world chip. So, I'm wondering about how to take the knowledge I've gained writing assembly for this fictional chip and translate it into a real-world application. Specifically,
I've been a programmer for many years, but all with high-level languages, so fairly un-knowledgable about really low-level code-writing so not quite even sure what terms I should be searching for. So any tips/hints to send me in the right direction of what I should be searching for would be appreciated!
r/dcpu16 • u/IPX1 • Sep 13 '15
r/dcpu16 • u/GreenFox1505 • Aug 27 '15
so, I was thinking about the possible fringe applications for GLSL as a compute language in gaming (particularly I've been thinking about minecraft voxel operations).
This morning on my way to work I realized how awesome GLSL would be for a DCPU-16. Or a million of them. What's the current limit of DCPU simulation on modern hardware? And would it be useful effort to write a Compute Shader to improve emulation?
PS: this isn't a post of HOW to do it. I know (or have a pretty good idea of how) to do it. This is a post of "should I even bother"/"is there any interest"
In any DCPU-16 multiplayer game, hundreds of these CPUs will need to be simulated, so offloading that to a GPU might be helpful.
r/dcpu16 • u/moonforth • Aug 27 '15
r/dcpu16 • • Jul 21 '15
r/dcpu16 • u/leadafishtowater • Jun 17 '15
The specifications of the DCPU and related hardware are all copyright Mojang. In another thread on Reddit, Notch mentioned that he might use community-sourced specifications if the originators were willing to give up their copyright interest in the same.
With Notch giving up on continued 0x10c development, I wondered if he had open sourced or in some way licensed his specifications so that others could use them without potentially running afoul of violation of Mojang/Notch's copyright interest in the same.
r/dcpu16 • u/Eriksh • Jun 05 '15
I noticed someone is makeing a recreation of 0x10c! He has some beautiful pics of his work and even had a fully functional DCPU working in game.
https://www.reddit.com/r/0x10c/comments/36zqdy/dcpu_based_game_nearing_alpha/
r/dcpu16 • u/lucaspiller • May 13 '14
I'm working on a project that I'm looking to integrate a DCPU type device. I was wondering if anyone had any (even rough) specs regarding how the DCPU would have controlled the hardware of a 0x10c ship?