This video, titled ‘Redstone Computer in Minecraft (8-bit, 32 bytes RAM)’, was uploaded by Bob Wolfe on 2019-01-19 15:16:53. It has garnered 2309 views and 55 likes. The duration of the video is 00:06:44 or 404 seconds.
8-bit computer with 32 bytes RAM, designed as an image, then generated to Minecraft 1.12.2
The image could be run on bitmap logic simulator : https://realhet.wordpress.com/2015/09/02/bitmap-logic-simulator/
In the video, I just enter this program :
00: LDA #3 01: OUT A 02: DEC #1 03: JNC 1 04: HLT
It will show 03, 02, 01, 00, then halt the computer.
—— About the computer:
The clock freq is 0.3Hz (1 computer cycle = 66 minecraft game ticks = 3.3 seconds). There are 8 different instructions. Each instruction is 1 byte size, and cost 2~3 clock cycles to run.
000XXXXX : LDI (Load Immediate Value) A := XXXXX 001XXXXX : DEC(Decrease A by Value) A := A – XXXXX 010XXXXX : LDA(Load from RAM) A := [XXXXX] 011XXXXX : STA(Store to RAM) [XXXXX] := A 100XXXXX : ADC(Addition with Carry) A := A + [XXXXX] + C 101XXXXX : SBB(Subtraction with Borrow) A := A – [XXXXX] – C 110XXXXX : JNC(Jump to XXXXX if not carry, else clear carry) 111XXXXX : HLT(Halt the computer)