home.social

#smallc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #smallc, aggregated by home.social.

  1. PS:

    Changing "main()" to "int main()" will already cause the compiler to barf.

    #psion3 #sibo #epoc16 #smallc

  2. Here is the code in the file "HELLO.C". I'm afraid it is rather non-standard.

    /* Take a look at win.c for full details about
    using #link and #run etc..
    */

    #link "-om:\img\hello.img hello.o stdio.o"
    #run "m:\img\hello.img"

    #include <stdio.h>

    main()
    {
    printf("Hello world\n\r");
    fgetc(stdin);
    exit(0);
    }

    #smallc #psion3 #sibo #epoc16

  3. Here are my efforts to document compiling C-Code with Small C to an IMG-File on the Psion 3c itself.
    Steps:
    1. Scrolling through the C-Code
    2. Compiling with <Psion>+T
    3. Switching to the IMG-Files launcher
    4. Running the IMG-File itself and terminating with <ESC>

    I apologise for the lousy quality of the the video.

    #retrocomputing #epoc16 #sibo #psion3 #smallc

    /cc @thelastpsion