Skip to content

Instantly share code, notes, and snippets.

View TheBunnyMan123's full-sized avatar
💭
Doing random projects...

TheKillerBunny TheBunnyMan123

💭
Doing random projects...
  • 04:27 (UTC -05:00)
View GitHub Profile
@MCJack123
MCJack123 / unbios.lua
Last active March 15, 2025 17:36
UnBIOS: Load custom BIOSes in ComputerCraft without modifying ROM
-- UnBIOS by JackMacWindows
-- This will undo most of the changes/additions made in the BIOS, but some things may remain wrapped if `debug` is unavailable
-- To use, just place a `bios.lua` in the root of the drive, and run this program
-- Here's a list of things that are irreversibly changed:
-- * both `bit` and `bit32` are kept for compatibility
-- * string metatable blocking (on old versions of CC)
-- In addition, if `debug` is not available these things are also irreversibly changed:
-- * old Lua 5.1 `load` function (for loading from a function)
-- * `loadstring` prefixing (before CC:T 1.96.0)
-- * `http.request`