├── README.md └── rv32ima.sb3 /README.md: -------------------------------------------------------------------------------- 1 | # Linux-On-Scratch 2 | Linux for the blocky code language Scratch! 3 | 4 | ## About The Emulator 5 | 6 | This is a 32-bit RISC-5 processor emulator, the emulator runs the linux 6.0 kernel 7 | 8 | #### Extensions 9 | 10 | The emulated processor has 3 extensions: 11 | 12 | 1. Base Integer Instruction Set (RV32I) 13 | 2. Standard Extension for Integer Multiplication and Division 14 | 3. Standard Extension for Atomic Instructions 15 | 16 | #### IO 17 | 18 | The emulator has 1 MMIO device located at 0x10000000, this device is a UART and is what handles the input and output. 19 | 20 | #### RAM 21 | 22 | The emulator has 64 megabytes of RAM 23 | 24 | 25 | ## Interacting With The Emulator 26 | 27 | #### Sending Input 28 | 29 | To send input to the emulator (like at the login screen) press the space key once and wait for the text input to appear, type in what you want to type and hit the enter key. 30 | To enter the enter/newline key press the "left arrow" key. 31 | 32 | #### Modifiying the code 33 | 34 | Feel free to modify the code however you like and try out different programs and add new MMIO, but please do not call my project your own. 35 | 36 | 37 | 38 | I also created a Discord to discuss LOS (Linux On Scratch) and other programming related stuff, feel free to ask any questions you might have there! https://discord.gg/hhewPEawA6 39 | -------------------------------------------------------------------------------- /rv32ima.sb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Its-Jakey/Linux-On-Scratch/f85e2a16482cc3182016210a191f8e7bc09a1819/rv32ima.sb3 --------------------------------------------------------------------------------