A mountain of code, a sprawling beast, Functions tangled, logic ceased. They try to parse, but soon confess— It’s just my glorious, giant mess... Screen is 32x32 *CHARACTERS* in size, each character is somethingXsomething in size (give some ideas for the size). easy enough to control, I hope someone will figure this thing out and make a cool game for it... I hope... Some limitations... 32x32 character sprite sheet 32x32 character display 256 addresses in ram your computer scratch you idk Todo (In order): - Document the ISA better (currently in Notes) - Make ram usable (you can only write to it lol) - Finish ISA - Make a Github to store compiler and programs - Generate sprite list program - Make GPU - Make a website for this thing so you can compile stuff there - Profit (optional) Controls: "," and "." - debug menus space - pauses the CPU (default on) "-" - enables stepping (to step press space) For better debugging I recommend you to get "Scratch Addons" and get the extension "Debugger", then press See Inside (or Remix it) and press the console button above the stage, there are debug calls in there. Current Demo program: Go to the first debug screen, un-pause or step and see the ACC register go up! Demonstrates functions and forever loops.
SET from to Sets a register to another registers value STI to value Sets a register to a certain value ADD Adds ACC and B together GOTO PC Goto line number CAL PC Call a Line number RET Return From the Function WTR ADDR Reg Wrtie To Ram WRI ADDR Value Wrtie to Ram Immideate UPC Update Screen from buffer. (INOP) … EOF EOF, stops the program RAM 1-256 RAM 257-1024 Video Buffer Write to this with data from the char set. 001-001-001 Instruction - Arg 1 - Arg2 Full instruction 001-001-001 any filler character can be in-between parts All parts must be 3 characters long for parsing to work