Skip to content

MCMulator PC v7 is an execution enviroment for IGB Binary

License

Notifications You must be signed in to change notification settings

krypciak/MCMPCv7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCMulator PC v7 is an execution enviroment for IGB Binary.

For architecture explanations, see IGB VM.

You can write programs for it using the IGB L2 programming language.

DISCLAMER: Doesn't work from 1.18 to 1.20.2 (See [MC-255244])
The bug above was fixed in 1.20.3, but this project was not tested on this version, so it may or may not work.

Example programs:

Tetris

Screen

  • RGB
    • Max size: 240x240 (block entity render distance limit)
    • Colors: RGB, ~16 million colors
  • 16 color palette
    • Max size: ????
    • Colors:  white, yellow, orange, red, magenta, purple, blue, light blue, lime, green, brown,
    • cyan, light gray, pink, gray, black (Minecraft concrete colors)

Storage

In MCMPCv7, storage is based on NBT. There are no bits or bytes, only integers. Integers are stored in jukeboxes.
Data is accessed by an NBT path: RecordItem.tag.a
The position of the armor stand reading data is calculated with this equation:
x = cell % storageWidth,  z = cell / storageWidth

PES (Program Execution Space) (you may call it ROM)

PES is where instructions are stored.
It has a fixed size of 251x251 (63001)

RAM

It has a fixed size of 251x251 (63001)


Screenshots

Overview

License

Licensed under GNU GPLv3 or later