ÎÌÌÌ̈ˆˆ¬ªªª¬ˆˆˆ¬ÌÌ̬ÌÀ̬ÌÀ̬ÌÀÌÌÌìÌÀÀî̬ÀÌÀ¬ÀÀÀ¬ÀÀÀ¬ÀÀÎÌÌÌ̈ˆˆ¬ªªª¬ˆˆˆ¬ÌÌ̬ÌÌ̬ÌÀ̬ÌÀÌÌÌìÌÀÀî̬ÀÌ̬ÀÀÀ¬ÀÀÀ¬ÀÀ¬ÌÌ̬ªªª¬ª¬ª¬ªÊ̬ªªªŒˆˆˆÌÀÌÎÌÌÎ̬̪ªÀ쬪ÀÀÀÌîÀìîÌÌîî¬ÌÌ̬ªªª¬ª¬ª¬ªÊ̬ªªªŒˆˆˆÌÀÌÎÌÌÎ̬̪ªÀ쬪ÀÀÀÌîÀìîÌÌîî H2ÀÌÀÌÌÌ À À Ì ÀÌÀ ÌÀ À ÀÀÀ À À ÌÀ À À À À ÌÌ Ì ÀÀ ÀÌÀ ÀÀÀÌÌÀÀÀ ÀÀÀÀÀ ÀÀÀÀÀÀÀÀÌÀÀÌ À ÀÀ ÀÀÀÀÀÀÀÌ ÌÀ ÌÌÀ Ì À À ÀÀÀÀÀÌÀÀÀÀ ÀÀÀ À À ÀÀ ÀÌ ÀÀ ÀÀÀÀÀ À ÀÀÀÀÀ ÀÀ ÀÌÀ ÀÀ ÀÀÌÀ ÀÀÀ ÀÀ Ì Ì À ÀÀÀÀÀÀÀÀÀÀ À ÀÀ ÀÀÀÀ ÀÀÀÀÀÀÀÀÀ ÀÀÀÀÀÀÀÀ ÀÀÀÀÀÀÀ À ÀÀÀÀ À À ÀÌÌÌ ÀÀÀ ÌÀÌÀ À ÀÌÀ ÀÌÀÀÌÀ ÀÌÀÌ ÌÀÀ À ÀÀÀÌÀÀ ÀÌÀÀ ÀÌÀÌÀÌÌÀÌÀ Ì ÌÌÌÌ Ì Ì À À@@D@@@DDD@@@@@DDD@@@@@D@@@@@@D@D@D@DD@@@@@@@D@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@D@@@D@@@@@@@@D@@D@@@@@@@À ÀÀÀÀÀÌÀÀÀÀÀÌÀÌÌÌÀÌÀ ÌÀÀÀ ÀÀÌÀÀÀ ÀÀÌ ÀÀÀÀ ÌÌÀÀÀ ÌÀÀÀÀ ÀÀÀ ÀÀÀÀÀÀÌÌÀ ÀÀÀÀÌÀ ÀÀÀÌÀÀÀ ÀÀÀÀÀÀÀ ÀÀÀÀÀÀÀÀ À À ÀÀÀÀÌÀÀÀÀÀÀÀÀÌÀÀÀÀ ÀÀÀÀÀÀÀ ÀÀ ÀÀÀÀÌÀ ÌÀÌÌÀÀÀÀÀÀÀÀÌÀÌÀÌÀÌÀÌ ÀÌÀÀÌÌÀÀÀÀÀÀÀÀÀ `ff`````f``````````````f`````f`f```f`f```f`````````````````````f```````````f```````f```````````````f`````f`````f`f```f`````````````````````f`f```````````À ÀÀÀÀ À À ÀÀÀ ÀÌÀ ÌÀÀÀ ÀÀ ÌÀ ÌÌÀÀÀ ÀÌÀÀ ÀÀÀÀ ÀÀÀÀÀÀÀÀÀÀ ÀÀÌÀ ÀÀÀÀÌÀ ÀÀÀÀÀÀÀ ÀÀÀÀÌÀÀÀÀÀ À ÀÀÀÀ ÀÌÀÀÀ À ÀÀÀÀÀÌÀ ÀÀÀÀÀÌÌÀÌÀ ÌÀÌÀÌÀÀÀ À–-- title: TIC BIOS Startup -- author: MegaBits21 -- desc: like a modern boot. -- script: lua bios_settings={ clock_speed=0, bios_clksped_num=1, bios_clock_speed2=0, bios_clock_speed3=0, bios_ver="1.32.02-release (0002a89c)", bios_name="TIC Computer", bios_year="2017-2022", bios_state=0, bios_settings_state=0, bios_beepnote_sound="C#7", } function bios() -- Boot up if bios_settings.bios_state==0 then if bios_settings.clock_speed>0 then cls() end if bios_settings.clock_speed==0 then sfx(0,bios_settings.bios_beepnote_sound) end if bios_settings.clock_speed==2 then sfx(1) end -- BIOS Animating if bios_settings.clock_speed>100 then print(bios_settings.bios_name.." (C) "..bios_settings.bios_year.." Version: "..bios_settings.bios_ver,3,3,12,false,1,1) print("Press TAB to BIOS Settings",3,10,4,false,1,1) -- TAB if keyp(49) then bios_settings.bios_state=2 bios_settings.bios_clock_speed2=0 end end if bios_settings.clock_speed>300 then print("Detecting Hardware for Checking...",3,20,12,false,1,1) end if bios_settings.clock_speed>350 then print("96KB RAM - OK",3,35,6,false,1,1) end if bios_settings.clock_speed>360 then print("16KB VRAM - OK",3,41,6,false,1,1) end if bios_settings.clock_speed>440 then print("Booting Up... Please wait!",3,55,12,false,1,1) end if bios_settings.clock_speed>520 then print("ERROR: No bootable Device!",3,63,2,false,1,1) end if bios_settings.clock_speed==520 then sfx(2,bios_settings.bios_beepnote_sound) end end -- BIOS Settings Menu if bios_settings.bios_state==2 then --bios_settings.bios_clock_speed2=0 -- Animating if bios_settings.bios_clock_speed2>0 then print("Entering BIOS Settings... Please wait!",3,120,3,false,1,1) end -- BIOS Settings UI if bios_settings.bios_clock_speed2>30 then cls(10) rect(0,0,240,7,12) print("::: BIOS SETTINGS :::",68,1,15) rect(0,129,240,7,12) -- Select States if bios_settings.bios_settings_state==0 then -- HARDWARE INFO: -- Select States on Texts print("> Hardware Info",3,130,9) print("Settings",100,130,14) print("Menu",160,130,14) print("HARDWARE INFO:",3,10,12,false,1,1) print("MAIN RAM SIZE: 96KB (OK)\nVIDEO RAM SIZE: 16KB (OK)\nSOUND RAM AMOUNT BITS: 12-bit (OK)\nIS CONNECTED CARTRIDGE INPUT: Yes\nIS CONNECTED KEYBOARD INPUT: Yes\nIS CONNECTED GAMEPAD INPUT: Yes\nIS CONNECTED MOUSE INPUT: Yes\n\n\nTOTAL CONNECTED INPUT PASSED: 4\nTOTAL CONNECTED INPUT FAILED: 0\nTOTAL RAM PASSED: 3\nTOTAL RAM FAILED: 0\n\nRATING: Best!",3,20,12,false,1,1) -- UNUSED: Right (Next Page) --if btnp(3) then bios_settings.bios_settings_state=1 sfx(0)end end if bios_settings.bios_settings_state==1 then -- SETTINGS: -- Select States on Texts print("Hardware Info",3,130,14) print("> Settings",100,130,9) print("Menu",160,130,14) print("Cartridge Settings: Auto",3,10,12,false,1,1)--[[\nCPU Clock Speed: "..bios_settings.bios_clksped_num.." ".."(Press AB to Change)",3,10,12,false,1,1)]] print("CPU Clock Speed: "..bios_settings.bios_clksped_num.." ".."(Press AB to Change)",3,16,14,false,1,1) -- UNUSED: Left (Previous Page) --if btnp(2) then bios_settings.bios_settings_state=0 sfx(0) end -- UNUSED: Right (Next Page) --if btnp(2) then bios_settings.bios_settings_state=2 sfx(0)end end if bios_settings.bios_settings_state==2 then -- MENU: -- Select States on Texts print("Hardware Info",3,130,14) print("Settings",100,130,14) print("> Menu",160,130,9) print("Press A to Save Settings\nPress B to Exit BIOS Settings",3,10,12,false,1,1) -- A: Save Changes if btnp(4) then bios_settings.bios_settings_state=6 sfx(0,bios_settings.bios_beepnote_sound)end -- B: Exit Settings if btnp(5) then bios_settings.bios_settings_state=4 sfx(0,bios_settings.bios_beepnote_sound)end end -- Next Page to Right if btnp(3) then bios_settings.bios_settings_state=bios_settings.bios_settings_state+1 sfx(0,bios_settings.bios_beepnote_sound)end -- Previous Page to Left if btnp(2) then bios_settings.bios_settings_state=bios_settings.bios_settings_state-1 sfx(0,bios_settings.bios_beepnote_sound)end end --end end -- When you pressed button on menu screen -- Save Changes State if bios_settings.bios_settings_state==6 then print("SAVE CHANGES",46,20,12,false,3,1) print("Are you Sure?",70,46,12,false,2,1) print("X: Yes\nY: No",106,60,12,false,1,1) -- X: Yes if btnp(6) then bios_settings.bios_settings_state=2 bios_settings.bios_clock_speed3=0 sfx(4,bios_settings.bios_beepnote_sound)end -- S: No if btnp(7) then bios_settings.bios_settings_state=2 sfx(0,bios_settings.bios_beepnote_sound)end end -- Exit Mode State if bios_settings.bios_settings_state==4 then print("EXIT SETTINGS",46,20,12,false,3,1) print("Are you Sure?",70,46,12,false,2,1) print("X: Yes\nY: No",106,60,12,false,1,1) -- X: Yes if btnp(6) then bios_settings.bios_settings_state=5 bios_settings.bios_clock_speed3=0 sfx(3,bios_settings.bios_beepnote_sound)end -- S: No if btnp(7) then bios_settings.bios_settings_state=2 sfx(0,bios_settings.bios_beepnote_sound)end end -- Detecting for fix States if bios_settings.bios_settings_state==-1 then bios_settings.bios_settings_state=0 end if bios_settings.bios_settings_state==3 then bios_settings.bios_settings_state=2 end -- Reset BIOS State if bios_settings.bios_settings_state==5 then if bios_settings.bios_clock_speed3>0 then cls(0) end if bios_settings.bios_clock_speed3>100 then reset() end end end function TIC() bios() bios_settings.clock_speed=bios_settings.clock_speed+1 bios_settings.bios_clock_speed2=bios_settings.bios_clock_speed2+1 bios_settings.bios_clock_speed3=bios_settings.bios_clock_speed3+1 --print("Time: "..bios_settings.clock_speed,10,100,12) end