A 16 bit cpu VM that was meant to be made in minecraft, but it was too tough so now im making it here lol
V2.2 is meant to fix things and have a clean start, NOT using a string of binary, but using the ACTUAL instruction sheet itself, should prevent a bunch of conversions and whatnot (thank you mr_nano on discord for pointing this out)
V2.3 is v2.2 but rewritten to run faster, focusing on speed before features, so at the start there wont be any ram or register .bin files, but instead arrays created by the code itself. BUT this will still use the same ISA as v2.2
- 8 bit registers
- 8 registers
- support for up to 256 bytes of ram
- built in vram for r, g, b, x, and y values in 8 bits
- stack starts at byte 248 and goes down the more that is pushed
- up to 256x256 pixels (or more with some engineering)
- support for full 8 bit rgb
- uses ports 1-6
- Read the right register/RAM that has the charecter
- go to that charecter id's slot in storage
- ???
- profit
- Display
- red color push
- green color push
- blue color push
- x coordinate push
- y coordinate push
- Write pixel data push (b0 - Plot pixel, b1 - Delete pixel, b2 - Fill screen, b3 - Clear screen)
- Storage
- data storage register location push (push data with port 8)
- data push (with port 7)
- data storage register location push (pull data with port 10)
- data pull (with port 9)
- mouse x coordinate push
- mouse y coordinate push