Optimized the PMIO Read/Write function by using the function <<NOT<(Port) < (0xc0)>> And <((Port) Mod (2)) = 0> Old Desc: Note: The ScratchX86 Project (formerly known as the Scratch386 Project) is currently undergoing a complete rewrite and is NOT stable. Many x86 instruction opcodes are missing and/or still being implemented. The ScratchX86 Project: What is it? The ScratchX86 Project is an attempt to emulate an x86 system on Scratch, with the goal to run Operating Systems such as Windows NT, MS-DOS, Linux, UNIX, and any other x86 Operating System you can think of. What can it do as of now? Right now, the only thing that ScratchX86 can do is load a Bochs BIOS ROM into memory. How do I run programs? As of now, the only programs you can run are BIOS ROMs. Support for other types of programs (such as bootsector programs, kernels, etc) are not possible (as of now). It's running so slow, and how can I fix it? Running the project directly from Scratch puts many limitations on ScratchX86. For example, running the project from Scratch would limit the emulator to only 195 KiB of RAM instead of the more massive 16 MiB of RAM. It is best to run the project through TurboWarp to gain more performance, and to remove any limitations. WARNING: Please do not remove any text below this warning. Any act of defiance upon this request will result in a takedown of your project. sleepy_jai (2025)