Discuss Scratch

quadruple_door
Scratcher
100+ posts

Making a computer on scratch!

And no, I don't mean those (imo) crappy projects that call themselves operating systems that have 3 applications that do nothing and half the time just use windows pngs for everything

I mean an actual (emulated) computer, with RAM, ROM, RWM (read write memory, more obscure then those 2), I've already got text rendering from a graphics ROM, temporary variables in RWMspace, and image rendering!




My rendering engine in turbowarp, only costumes for case recognition and SQUARE! (preview)

Last edited by quadruple_door (Sept. 23, 2024 15:22:29)

8to16
Scratcher
1000+ posts

Making a computer on scratch!

yes, you can make basically anything in scratch as long as it is possible under 10 mb project.json limit and 5 mb asset limits.
someone managed to emulate linux in scratch, but i won't say who they are or the link to the project as that would count as advertising.
quadruple_door
Scratcher
100+ posts

Making a computer on scratch!

yeah but is it feasible, not a barebones console, a user friendly computer, gui, applications, all that fun stuff
8to16
Scratcher
1000+ posts

Making a computer on scratch!

quadruple_door wrote:

yeah but is it feasible, not a barebones console, a user friendly computer, gui, applications, all that fun stuff
i guess so?
if you can emulate linux, you can emulate an X display
which means you can run linux gui apps, and a desktop environment such as xfce, in scratch

but if you mean from bare beginnings (no emulation) this is already possible and feasible considering the amount of OSes that have plagued scratch
heydude869
Scratcher
14 posts

Making a computer on scratch!

removed–please make your own advertising post on the proper forum

Last edited by spectre_specs (Sept. 22, 2024 16:30:00)

quadruple_door
Scratcher
100+ posts

Making a computer on scratch!

heydude869 wrote:

im actually making a phone https://scratch.mit.edu/projects/1067997148 do you think you can give me some tips to add some of this coding into my phone?
Not trying to be mean, but your prototypes seem like the same kinda fake “OS” I mentioned:

I wrote:

And no, I don't mean those (imo) crappy projects that call themselves operating systems that have 3 applications that do nothing and half the time just use windows pngs for everything
DifferentDance8
Scratcher
1000+ posts

Making a computer on scratch!

You need to implement more than ROM, RAM and RWM if you want to emulate every component of a computer. You completely forgot about RMM (read-mostly memory) and PROM.

quadruple_door wrote:

heydude869 wrote:

im actually making a phone https://scratch.mit.edu/projects/1067997148 do you think you can give me some tips to add some of this coding into my phone?
Not trying to be mean, but your prototypes seem like the same kinda fake “OS” I mentioned:

I wrote:

And no, I don't mean those (imo) crappy projects that call themselves operating systems that have 3 applications that do nothing and half the time just use windows pngs for everything
Except, gPhone wasn't really clear on that so there's always the minuscule possibility?
quadruple_door
Scratcher
100+ posts

Making a computer on scratch!

DifferentDance8 wrote:

-snip-
You don't need RMM and PROM for this, its not a physical chip remember, ROM is also PROM and RAM is RMM, because they are functionally the same, especially in a constant simulated (semi) instant environment. Also this is in turbowarp so infinite list space (yipee!)
quadruple_door
Scratcher
100+ posts

Making a computer on scratch!

Update!
Images now work (yipee!), only 512 colours though because scratch

Preview:
blubby4
Scratcher
100+ posts

Making a computer on scratch!

Please share this! I need to see it
SpyCoderX
Scratcher
1000+ posts

Making a computer on scratch!

BluePixelLOLLL wrote:

quadruple_door wrote:

Update!
Images now work (yipee!), only 512 colours though because scratch

Preview:
You call that a computer?
Well, a computer needs software to work. If the software is designed to only display an image, that’s what it will do.


Anyway, I think is both feasible and cool!

The one thing which might be problematic is audio, since scratch can’t generate tones or play audio based on actual audio data, only prerecorded sounds.

ajskateboarder
Scratcher
1000+ posts

Making a computer on scratch!

8to16 wrote:

someone managed to emulate linux in scratch, but i won't say who they are or the link to the project as that would count as advertising.
No? I think it's good to bring up Linux on Scratch since it's a pretty good reference for the OP. Here it is: https://scratch.mit.edu/projects/892602496 (and on TurboWarp) This uses RISC-V

Last edited by ajskateboarder (Sept. 23, 2024 02:13:57)

DifferentDance8
Scratcher
1000+ posts

Making a computer on scratch!

ajskateboarder wrote:

8to16 wrote:

someone managed to emulate linux in scratch, but i won't say who they are or the link to the project as that would count as advertising.
No? I think it's good to bring up Linux on Scratch since it's a pretty good reference for the OP. Here it is: no) This uses RISC-V
Although a limitation is that this really only supports a cli terminal out of the box, implementing X would take significantly longer. + a few posts ago was edited to remove an ad so
BluePixelLOLLL
Scratcher
1000+ posts

Making a computer on scratch!

I'll move this over to the Spanish forum for you, that's a better fit for this kind of topic.
DifferentDance8
Scratcher
1000+ posts

Making a computer on scratch!

BluePixelLOLLL wrote:

I'll move this over to the Spanish forum for you, that's a better fit for this kind of topic.
No it isn't? If anything this should be moved to the Advanced Topics.
BluePixelLOLLL
Scratcher
1000+ posts

Making a computer on scratch!

To make a computer you must make it compute
breakfast_for_dinner
Scratcher
1000+ posts

Making a computer on scratch!

removed - silly overload

Last edited by breakfast_for_dinner (Sept. 23, 2024 05:13:39)

colinmacc
Scratcher
1000+ posts

Making a computer on scratch!

quadruple_door wrote:

And no, I don't mean those (imo) crappy projects that call themselves operating systems that have 3 applications that do nothing and half the time just use windows pngs for everything

I mean an actual (emulated) computer, with RAM, ROM, RWM (read write memory, more obscure then those 2), I've already got text rendering from a graphics ROM, temporary variables in RWMspace, and workin' on 4096 colour image rendering!
(by the way not asking as a question, but if I should continue bothering with it)



My rendering engine in turbowarp, only costumes for case recognition and SQUARE! (preview)

Yes. @RokCoder made a full emulator of the BBC B microcomputer, which was an 8 bit home computer from the UK back in the 1980's, which can run disk images and ROMs made for that machine. Including BBC Basic (programming language)

https://scratch.mit.edu/projects/531881458/
DifferentDance8
Scratcher
1000+ posts

Making a computer on scratch!

BluePixelLOLLL wrote:

To make a computer you must make it compute
Oh, really? I didn't know that! I thought you must eat a giant potato /s
quadruple_door
Scratcher
100+ posts

Making a computer on scratch!

blubby4 wrote:

Please share this! I need to see it
Fine… https://scratch.mit.edu/projects/1071659045/ here you go, going to continue updating on turbowarp but anyways there's your cryptic 2fps thingymabob

Powered by DjangoBB