Discuss Scratch

Mole_Gaming
Scratcher
100+ posts

Making an OS Simulator in Scratch.

Another quick tip.

I assume your first reaction will be to put forever loops under the “application” broadcast for each application.

I am here to tell you to not do that


What I personally do is have a “tick” broadcast. Inside the “main” sprite, there is a forever loop that constantly broadcasts “tick” and waits. Then, in each sprite, it runs the program that would usually be run inside a forever loop.


This, in my experience, greatly reduces lag since you don't have multiple forever loops trying to run simultaneously.

am can program above good
AiyanMind
Scratcher
100+ posts

Making an OS Simulator in Scratch.

Pokey17 wrote:

bobbybee wrote:

Pokey17 wrote:

Chibi-Matoran wrote:

Many of the “operating system” projects on Scratch are not really operating systems, but really fancy GUIs. An operating system consists of many low-level pieces, such as the kernel and bootloader. Scratch doesn't have such low-level capabilities, so you would have to write a virtual machine or emulator in Scratch that provides things like RAM, then write the operating system in the instruction set of the emulator. The whole idea is pretty ambitious - be careful not to choke on your aspirations.

Thank you for the answer, I won't make a real OS though. (As it seems it would be too complicated.) It will be more of a simulator that has an OS feel.
What, um, does an OS “feel” like?

I might of worded it incorrectly, I meant more like to give the player a feeling that it's an OS. Which will be hard to achieve.
Making it look like it's booting up, loading, etc isn't hard because it doesn't have to mean it is actually doing that.

MACERENA
Scratcher
9 posts

Making an OS Simulator in Scratch.

Here's The Desktop :

when I receive [desktop v]
broadcast [Appearing Apps v]

Now, Let's Do Apps Like, “Ping pong”, “Youtube”, And Cookie Clicker.

when I receive [Appearing Apps v]
show

Do That For ALL Of The Apps You Made.
First, We'll Do Youtube.

Upload An Image Like THIS :


For Cookie Clicker.


AND Ping Pong…


The Apps Scripts Will Be Added Later. You're Welcome.
Wettining
Scratcher
500+ posts

Making an OS Simulator in Scratch.

A simulator would be possible and very easy to make in Scratch but it wouldn't be a true operating system with executable binaries and stuff
what everyone else is saying that would be very hard is a OS emulator. If you were to make an emulator it would simulate a CPU and RAM then run the OS on top of that
IronHead43
Scratcher
42 posts

Making an OS Simulator in Scratch.

i deleted this it was not needed for the discussion

Last edited by IronHead43 (Nov. 28, 2017 18:29:14)


hello so i am a guy with an iron head and i just made scratch on scratch but online so what you are on now check it out My best thing ever
:)
IronHead43
Scratcher
42 posts

Making an OS Simulator in Scratch.

Wettining wrote:

A simulator would be possible and very easy to make in Scratch but it wouldn't be a true operating system with executable binaries and stuff
what everyone else is saying that would be very hard is a OS emulator. If you were to make an emulator it would simulate a CPU and RAM then run the OS on top of that
i am making OS like that with a simple CPU beginning of a hard drive with saving data and RAM i have am much better one i am working on but here is two attempts https://scratch.mit.edu/projects/188765033/ https://scratch.mit.edu/projects/188680124/

hello so i am a guy with an iron head and i just made scratch on scratch but online so what you are on now check it out My best thing ever
:)

Powered by DjangoBB

Standard | Mobile