News for hackers. Stuff that matters.
Re:Minimal safe Bash script template by usr1106 on Tuesday December 15, 2020 @07:52AM (#25429803)
Have used it on 7KB RAM :) But to be fair the interpreter was in ROM, no idea how big that was.
Re:Minimal safe Bash script template by teddyh on Tuesday December 15, 2020 @11:31AM (#25431803)
ROM was usually very slow, so all ROM content was usually copied to RAM before execution. RAM size was therefore still an issue.
Re:Minimal safe Bash script template by usr1106 on Tuesday December 15, 2020 @07:42PM (#25437530)
I am pretty sure the PET-2001 didn't do that. 8 KB was all it had, about 1 KB was used by the operating system and 7 KB where available for programming. Actually something you would call byte code today, every basic command was 1 Byte. Just don't use labels with 4 or 5 characters, that wastes a lot of space!

The first models came even with 4 KB RAM / 3 KB usable. Have never seen one of those, though.