Code experiments for the Sanco 800x reverse engineering project.
Go to file
giomba 1d057626e4 Add instructions to compile C programs. 2023-10-08 20:50:13 +02:00
.gitignore First commit. 2023-03-04 23:09:40 +01:00
Makefile Add target for prg files to Makefile. 2023-06-02 23:38:04 +02:00
README.md Add instructions to compile C programs. 2023-10-08 20:50:13 +02:00
main.asm Effetti speciali tramite la glue ROM. 2023-09-28 20:23:47 +02:00
main.c Add instructions to compile C programs. 2023-10-08 20:50:13 +02:00
makepacket.py First commit. 2023-03-04 23:09:40 +01:00

README.md

CEDA Utils

You've your Sanco retrocomputer, but you have no peripherals and no disks, so you have no idea how to interact with it. Here you can find some utilities to jump start your computer from scratch!

⚠️ This is not a true repository, it's just a random stuff container that we needed to experiment.

Bill of materials

  • RS232 DB-25 cable
    • depending on your supplies, if you are working in the 3rd millenium, maybe you also need some adapters (eg. USB/RS-232), "ancient" cables (eg. old fashioned DB-9/DB-25 serial cable), and maybe a DB gender changer (no pun intended)
  • EEPROM programmer for 28C32 (or larger)
    • you can even build one with an Arduino
  • 28C32 blank EEPROM
  • common hardware tools (eg. screwdrivers)

⚠️ Mess with electronics only if you know what you are doing. Beware: you may harm your computer, or even yourself! Everything you do is at your own risk.

How to

Just some random notes.

Compile a C program:

zcc +z80 -create-app --no-crt -pragma-define:REGISTER_SP=0xC000 -m -o build/main main.c

Important: this is a linker-less and C-runtime-less compilation, so be very very careful what you do. Example minimal starter:

int entrypoint(void) {
    __asm
    ld sp,0xc000
    __endasm;

    main();
    for (;;)
      ;
}