Tag: general

  • Project Update November 2026

    Project Update November 2026

    There have been two main points of focus for the project over the last month.

    People’s Permacomputer Text Editor

    You may have seen previously that a brief proof-of-concept BASIC text editor was published by the project.

    Work continues on the text editor.

    It is intended to suit the permacomputer hardware that the project has been developing.

    People’s Permacomputer Model 1

    There has been a continuing evolution of the design of the first computer model that the project has been trying to plan out and construct.

    The project figures that supplying a cheap computer to purchase would facilitate further interest in the project’s mission to promote digital literacy.

    The design requirements of this computer are:

    • Must be ‘instant-on’–i.e. the computer boots to its environment instantaneously.
    • Must be some kind of an all-in-one unit.

    The hope is that people interested in this project will not have to struggle with setting up their own BASIC environment if one is supplied to them.

    To this end, the project proposes two models, one the bigger sibling of the other.

    Model 1 will comprise of a refinement of the following project:

    https://www.hackster.io/sl001/arduino-rp2040-standalone-iot-computer-running-basic-433144

    From the above project link.

    This design makes good on the project’s issues with video display. The RP2040 microcontroller board at the heart of this project is able to run both Stefan’s BASIC and drive a reasonably affordable LCD screen.

    For more information about how to get one of these screens, please see:

    https://www.aliexpress.com/item/33015586094.html

    Permacomputer Model 2

    Model 2 is not necessarily more powerful than Model 1, but it will have a bigger screen, and support USB keyboard more easily.

    https://www.hackster.io/sl001/homecomputer-from-scratch-a04fb9

    From the above project link.

    Both models will support idiomatic BASIC graphics commands, such as LINE, CIRCLE, PLOT, etc.

    Caveats

    The project has decided to ship an all-in-one unit, with one exception. To keep the unit inexpensive, we will be requiring the user to supply their own keyboard.

    Model 1 appears only to support PS/2 keyboards. This is an issue. In order to make it easier to plug in a (more common) USB keyboard, it may become necessary to include another RP2040 to convert USB signals to the PS/2 ones that Model 1 will accept:

    https://github.com/No0ne/ps2pico

    There is no such limitation on Model 2. It is based on the Arduino Due 32-bit board, which includes, rather luckily, 2 USB sockets.

  • A Simple Guide to Porting Your BASIC

    A Simple Guide to Porting Your BASIC

    You may have considered porting some BASIC code from one dialect to another.

    Do not be dissuaded, the process can sometimes be rewarding.

    When porting on BASIC to another, I have found the following guides to be useful:

    Strip out all lines with references to POKE and PEEK.

    This is my preferred strategy. Almost every system addresses memory differently, and has a different memory map.

    Check the way arrays work on your target machine. Especially string arrays.

    Many systems will allow simple string arrays, such as: S$(100)

    But how long are these strings? How does the machine assign and evaluate each index? Some machines may even accept two-dimensional string arrays.

    Every application will make use of some subset, and not every single feature of it’s machine’s arrays, so don’t be daunted. Sometimes the job can be done with very little modification.

    INPUT statements may be an issue. Some parse input differently.

    Does you machine have LINE INPUT, or just INPUT?

    INPUT splits the input into multiple variables on commas in the input, whereas LINE INPUT puts the entire line into one variable.

    File operations like OPEN and CLOSE will accept different arguments.

    This can be quite tricky.

    Since you have made it this far into the blog post, please consider the following table of conversions between my most used BASICS:

    DartmouthAPPLESOFTATARI 8-BITBBC BASICCOMMODORE BASIC V2
    OPENFILE #file, “filename“OPEN filenameOPEN #fileno,mode control code,filenamevar = OPENIN, var = OPENOUTOPEN #exp, fileno, mode, “filename”
    CLOSECLOSE “filename“CLOSE #fileno, #filenoCLOSE #fileno; CLOSE #0 (all files)CLOSE #fileno
    LOADLOAD filenameLOAD “disk:filename“LOAD “filename“LOAD “filename“,8,[disk]
    PRINTPRINT #file, record, …PRINT exp, exp, …PRINT #fileno, record, record, …PRINT #filename, record, record, …PRINT #fileno, record, record, …
    INPUTINPUT #file, record, …INPUT [string,] var, var, …INPUT #[file,disk] varINPUT #filename, record, record, …INPUT “string” var, var, …

    Is your BASIC indexed from one (1) or zero (0)?

    Because this is an easy one. Convert every index accordingly:

    (e.g.) DIM A(255) -> DIM A(256)
    
    (e.g.) FOR I=0 TO 255 -> FOR I=1 TO 256
  • Introduction

    Introduction

    The original purpose of this project was to design and then construct computers that would be able to survive a societal collapse.

    After working on the project, it became apparent that the point of the project should not be to imagine a hypothetical future, but to engage practically with the problems of the present.

    The entire computing stack of the modern era is large, confusing, and unsafe. People would rather excuse themselves from having to learn about it. Who can blame them?

    The first aim of the project is to be exceedingly cost effective: “if the oppressed cannot access some technology, then it is not revolutionary”.

    The second aim of the project is the promotion of digital literacy. Digital literacy should promote a joyful user experience that is non-exploitative. It should also foster a sense of community–“no-one is an island”.

    To this end, the scope of the people’s permacomputer project was deliberately limited to programs around or just over 100 lines. Definitely not more than 200.

    The project therefore decided to investigate BASIC as the paradigmatic human-computer interface for the permacomputer.

    For the application towards which it was targeted, the investigation the project has done so far into BASIC has been fruitful, and even quite surprising–the 70s/80s hobby computing scene was far richer and more creative than the project previously assumed: not less than five (5) different text editors in BASIC were unearthed!