Forums - Open Redstone Engineers
AVR in Minecraft! - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html)
+---- Forum: In Progress (https://forum.openredstone.org/forum-20.html)
+---- Thread: AVR in Minecraft! (/thread-12231.html)



AVR in Minecraft! - tokumei - 05-10-2017

This post is partly to gauge interest, but also an announcement.

As my Nublet CPU project comes to a close, I've decided that I want to work on implementing a real architecture in Minecraft. I've narrowed it down to two choices: PIC and AVR. As of now I am leaning toward AVR because there are some really cool tools available like avr-gcc that PIC doesn't readily have, and it sounds like PIC assembly is hell.

idontknowwho Wrote:Overall, I've written some asm for both processors and I hate to break it to PIC users but writing assembly for PIC is akin to stabbing myself in the face. (Except its not even that efficient, cause you have to more the knife into the working register first (movlw KNIFE), and then you can stab yourself (movwf FACE).)

EDIT: I now prefer AVR.

Reference Links:
AVR Instruction Set
PIC Instruction Set


RE: AVR in Minecraft! - Chibill - 05-11-2017

Yes!


RE: AVR in Minecraft! - optimo - 05-11-2017

AVR that sounds really interesting. please let me know where I can follow your progress Smile


RE: AVR in Minecraft! - tokumei - 05-11-2017

this thread. might also make a series of posts on my blog ( https://nonemu.ninja ) since that is almost dead


RE: AVR in Minecraft! - embizone - 05-12-2017

I prefer PIC for MC.


RE: AVR in Minecraft! - GISED_Link - 05-12-2017

Arm Cortex M0 ?


RE: AVR in Minecraft! - tokumei - 05-14-2017

Any reason, embi?


RE: AVR in Minecraft! - LambdaPI - 05-15-2017

My god that is a long instruction set.


RE: AVR in Minecraft! - LambdaPI - 05-15-2017

Do you know of the specs you are going for?


RE: AVR in Minecraft! - tokumei - 05-16-2017

I am looking at the smallest line of AVR processors out there, something along the lines of an ATtiny. No more than 2KB program memory (ISP flash) and 512B of RAM. So some caching is definitely going to be involved in this project.


RE: AVR in Minecraft! - LambdaPI - 05-17-2017

ATtiny has serial inputs and outputs iirc. Are you going to keep those?


RE: AVR in Minecraft! - Chibill - 05-17-2017

May I suggest http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8127-AVR-8-bit-Microcontroller-ATtiny4-ATtiny5-ATtiny9-ATtiny10_Datasheet.pdf


RE: AVR in Minecraft! - LambdaPI - 05-17-2017

So analog not serial


RE: AVR in Minecraft! - optimo - 05-18-2017

(05-17-2017, 05:58 PM)Chibill Wrote: May I suggest http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8127-AVR-8-bit-Microcontroller-ATtiny4-ATtiny5-ATtiny9-ATtiny10_Datasheet.pdf

Yes that's the line I was hoping to see done too. I think there might've been some projects posted to the web that got similar specs, or is that unlikely?


RE: AVR in Minecraft! - greatgamer34 - 05-24-2017

Thanks for the AVR resources!


RE: AVR in Minecraft! - tokumei - 05-30-2017

(05-18-2017, 06:21 AM)optimo Wrote:
(05-17-2017, 05:58 PM)Chibill Wrote: May I suggest http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8127-AVR-8-bit-Microcontroller-ATtiny4-ATtiny5-ATtiny9-ATtiny10_Datasheet.pdf

Yes that's the line I was hoping to see done too. I think there might've been some projects posted to the web that got similar specs, or is that unlikely?

Yes, I am looking at something at about the same scale as an ATtiny. No more than 1-2KB of ROM and RAM.;



(05-17-2017, 06:32 AM)LambdaPI Wrote: ATtiny has serial inputs and outputs iirc. Are you going to keep those?

Yep!


RE: AVR in Minecraft! - LambdaPI - 05-30-2017

Noice
I've never actually built anything serial, so if you make this, i would love to see