A simple computer simulator that you can program THE VERSION 2! You can save stuff to ram, add and subtract things, turn on turn off LEDs read switches play with logic gates and more. TURBO MODE RECOMENDED / TURBOWARP (Preprogramed with a 8 bit random num generator in bin) To see how to program look into credits When running turbo mode change unlimited speed to false and change the speed by changing the cpu speed in hz (938 blocks and still indev) Specs: 16 bytes of ram, 48 bytes of storage 60hz cpu (full 60hz only at turbo mode, more hz max using turbowarp). 18 buttons total, 12x5 display
Thanks to @Simonko912 for the original central processing unit emulation project. I have added 32392 bits of RAM total or 4049 bytes (4K). The first 8 bits of RAM (first byte) is the keyboard buffer. Any key being pressed from the keyboard gets stored there. The key pressed being stored is stored using the standard ASCII code. I have also added an entire virtual graphics card that works in standard VGA compatible 80 by 25 text mode. The font is the standard IBM VGA text mode font at a graphical resolution of 16 by 9 otherwise 720 by 400 for the entire display. The graphics display is located from address 9 to address 16008, any data stored in that range gets displayed automatically in the display console. You can toggle the console open and off with the 'DISPLAY' button. Finally, it also has 2048 bytes of extra RAM that is completely free and unused and can be used for programming. This extra 2048 bytes of free memory starts at address 16009 (right after the last byte of the memory display area). The included 114 line long example program starts by displaying the message "Hello world" on the display console then checks for any keys being pressed. It copies the keyboard buffer data to a byte in the display memory area in RAM resulting in any key being pressed to get displayed on the display console right after the last letter of the hello world message. It also sets the first 8 LED's to display the key being pressed from the keyboard. For it to work well, it is highly recommended to use Turbowarp as or else, it is simply too slow and you will have to wait one or two minutes just to wait for it to display the hello world message. Thanks to @LeggoMyEggos123 for the standard IBM VGA text mode font. Problems I need to fix/debug as of now : 1 - Upper-case letters don't work on the ASCII letter to byte converter code. 2 - I need to add extended ASCII characters to both ASCII conversion blocks : , ; : . ? ! ) ( $ * & @ # / and other "semi-graphic" characters. 3 - Fix lack of spaces and certain ASCII characters when using the text-string program writer code.