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. PS:

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

    #psion3 #sibo #epoc16 #smallc

  3. PS:

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

    #psion3 #sibo #epoc16 #smallc

  4. PS:

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

    #psion3 #sibo #epoc16 #smallc

  5. PS:

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

    #psion3 #sibo #epoc16 #smallc

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. is a for .

    smallmake is a simple, small Make tool written in for use in DOS. smallmake has several limitations for size reduction and speed improvements, lacking variables, and having a limit of 1024 targets and 16 kB files. smallmake uses inline assembly for certain system functions, and thus requires a 8086/88 CPU.

    Website 🔗️: github.com/DosWorld/smallmake

  17. #smallmake is a #publicdomain #Make for #DOS.

    smallmake is a simple, small Make tool written in #SmallC for use in DOS. smallmake has several limitations for size reduction and speed improvements, lacking variables, and having a limit of 1024 targets and 16 kB files. smallmake uses inline assembly for certain system functions, and thus requires a 8086/88 CPU.

    Website 🔗️: github.com/DosWorld/smallmake

    #free #opensource #foss #fossmendations #programming