So... You made a mod for Minecraft JAVA, That uses C++ code IN the mod, AND uses C++ code on an emulated processor, While the emulated processor was originally an ASSEMBLY-BASIC only type deal... what
@autistadolinux533612 күн бұрын
You missed the opportunity to make a DCPU-16 emulator instead of a 6502. DCPU-16 is the Notch's "CPU" for 0x10c.
@mrmegusta565214 күн бұрын
very cool project my friend, thx for the video
@redcrafterlppa30315 күн бұрын
Nice Projekt and congratulations that it works so well. I have 2 questions for you: 1. Did you know about the new java ffm/ffi that allows easier access to native functions? If so, why did you decide to use the "old" jni approach? 2. Why did you decide to use imgui instead of a minecraft native gui library?
@elmfer15 күн бұрын
Thanks! I didn't know about about java's ffm 🤔, and JNI is something I am familiar with for the longest time. And I used ImGui because its design allows me to add UI elements without much effort, so this makes it easier to create intricate IDE for the mod.
@TOZA18 күн бұрын
Who needs that?
@elmfer18 күн бұрын
me
@delxmos19 күн бұрын
I say it, this is the next gen mod for Minecraft
@noobnuby19 күн бұрын
2:46 what is the background img?
@elmfer19 күн бұрын
From ths video: kzbin.info/www/bejne/lWbNdn-iqcucb7c
@noobnuby18 күн бұрын
@elmfer thank you! Have a nice day 😊
@AugustoCabrera19 күн бұрын
I've no words, this looks amazing to start learning assembly
@Log4Jake20 күн бұрын
ImGUI is actually in the Bedrock Developer versions by default.
@no-ld3hz20 күн бұрын
I wonder if it would he possible to use cc95 to write c code and either transpile it to vasm or just load the bytes in directly. On another note, getting super mario bros sounds like something fun. Just ideas flowing from this mod!
@elmfer19 күн бұрын
Members in our Discord are actually working on that! I believe there are already a few working examples on programming this MCU with C that you could try
@no-ld3hz19 күн бұрын
@@elmfer ooh i might join soon™
@allene5021 күн бұрын
why not use the more modern 65c02? they support not only the legacy mos6502 instruction set but can use newer instructions such as: "stz" (stores $00 at an address) or "bra" (similar to "jmp" but uses 1 less byte, also faster)
@elmfer19 күн бұрын
Those are valid points! From the start of the project, I had an outlook for the microcontrollers to use the original 6502 because of its cool history with 80s computers. Nevertheless, this could be an idea for creating a new MCU variant
@redcubedev22 күн бұрын
My guy using a 6502 as an OR gate, thats absolutely hilarious Incredible work! although i wonder if it would be worth it to port the emulator over to java lol
@TM2N22 күн бұрын
yo what linux do you use?
@elmfer21 күн бұрын
Linux mint
@TM2N21 күн бұрын
and what about the thing you program in visual studio or what
@TM2N21 күн бұрын
@@elmfer because I wanna start programming in mc
@TM2N21 күн бұрын
and also how to test it
@elmfer21 күн бұрын
@@TM2N I used eclipse for programming in java (and run MC in mod development environment) and I use vscode to program in C++
@ColombianBirder9722 күн бұрын
Next video: I programmed Rollercoaster Tycoon in Minecraft 😂
@jamesknight000122 күн бұрын
support python for funzies
@JamesFelisilda22 күн бұрын
you read GUI wrong
@elmfer22 күн бұрын
I'm "gooey"
@HiImKyle22 күн бұрын
Can't wait for the CVE to release for this mod 😅 (I'm joking..)
@8h24a10s23 күн бұрын
Are u gonna port it to Bedrock/pe?
@elmfer22 күн бұрын
Not anytime soon I'm afraid 😬
@hiabst23 күн бұрын
Next step is making a mod for making your own silicon wafers using photolitography for making asics
@elmfer22 күн бұрын
Yeah that would be cool because the mod should be usable in survival mode aswell
@gasparRaduB23 күн бұрын
Amazing work! Compressing complex redstone logic to a single block is quite something. I imagine people will be sharing code snippets to add to the controller and make all sorts of cool stuff. Subscribed!
@stankenootgaming23 күн бұрын
ASM means C C means stupid other stuff that means Python, that means easy programming that means idk but probaply Python on minecraft
@benrex777523 күн бұрын
Thanks to the serial communication you can use 4 microcontrollers as three inputs each and use serial communication to talk to a 5th microcontroller. That way you have 12 GPIO instead of 4.
@omaewamoushindeiru201423 күн бұрын
wait... how to use it ?
@elmfer23 күн бұрын
Once you have installed the mod, the docs has a Getting Started page that will help you out: elmfrain.github.io/code-node-docs/getting-started
@abdullahajeebi23 күн бұрын
To the Famicom/NES!
@Maxjoker9823 күн бұрын
Delphi sounds like a cool programming language, but I don't think I will ever learn a programming language where the developer tools are not *at least* available for free, if not open-source.
@Maxjoker9823 күн бұрын
Interesting, I have long planned to create a Minecraft mod for something similar. However I want to run way more CPUs with high-bandwidth peripherals, and so I want to implement a network protocol to access such an emulator, and just implement a "client mod" for minecraft(-servers). You can distribute screen images etc. via a side-channel(not necessarily via the Minecraft protocol). This also would make it easy to change the emulated CPU architecture, and implement the client mod in a cross-platform way.
@noamrtdthesorcerer73323 күн бұрын
Went down 3 times to like the video forgetting I already did, Man you're crazy
@indiascamcenter23 күн бұрын
1171
@elmfer23 күн бұрын
1171?
@pem12O23 күн бұрын
you could use an installer
@hariranormal558423 күн бұрын
Not trying to be rude, it's cool actually but many here don't seem to be aware that something like this, with even FORTH as the language has been made ALL the way back as to 2012, 1.2.5. The mod Redpower 2 actually brought that in place, it was a miracle it ran so good and because the code was Closed nobody knew how it ran that good either.
@elmfer23 күн бұрын
Gotcha, there is also a mod called Microprocessors that does this as well (with a custom 8-bit processor), but I still made this project because it's fun to make and wanted to apply what I learned from the 6502
@hariranormal558423 күн бұрын
@@elmfer That's still pretty cool. Nice to always implement your own ways and you anyways learn and get experience. I didn't mean to sound of as rude even though I re read and it sounds like it..I'm a IT like guy who absolutely is very poor at coding. I just can't and absolutely suck at it. So good job regardless :)
@starnumber_alt23 күн бұрын
Can it run doom?
@Testbot37924 күн бұрын
Isn't that just Pascal?
@elmfer24 күн бұрын
Honestly this video is flawed because I thought that Delphi is a separate language, but it is more of a development environment like Android Studio
@Harsooo24 күн бұрын
Amazing amount of work; keep up the good videos!
@elmfer24 күн бұрын
Thanks, will do!
@leosh902624 күн бұрын
huh.
@villagerzock546824 күн бұрын
i know that that computer i think so is not compatible but pls make wireless connection between them
@slawnyfivemowiec24 күн бұрын
"AimGooey" Ah yes, i love AimGooey... my favorite GUI
@elmfer24 күн бұрын
🤣🤣🤣
@arandomperson249524 күн бұрын
8:08 Ah yes, the classic "It works on my machine" moment 😂
@isaacr743924 күн бұрын
Can already tell your gonna become famous bro keep going!
@elmfer24 күн бұрын
I appreciate that!
@dmitry_mandi24 күн бұрын
You r a fucking genius By the way, can u write in the description links, which you read, to work in C++? ( I'm good in C, but not in Java, so) ) Ty in advance
@elmfer24 күн бұрын
For sure, are you referring to the resources I used for JNI or for using C++?
@dmitry_mandi24 күн бұрын
@@elmfer Umm, maybe both?😅 Just, u know Im unsucc mod developer in java. U know I love to learn programm languages, but java is my weak point. You showed that is possible to normally write mods in C++, so I interested in
@CocoMark24 күн бұрын
ok commodore 64 emulator for minecraft
@bluetintedchromee388124 күн бұрын
???? Having two mods that have the same library in them does nothing, fabric just loads the first one that was loaded and ignores the other one. Please do research before claiming things like this.
@elmfer24 күн бұрын
Might of been my mistake, are there any sources that cites this?
@bluetintedchromee388124 күн бұрын
@@elmfer 1. Erm actually it's "might have" 🤓☝️ 2. I have tested this myself, you can test it yourself to confirm it's true
@yagobueno278524 күн бұрын
Nice, we can create an Addressble led rgb (aka Neopixel) on Minecraft!