5150/README.md
2025-09-14 16:13:47 +02:00

938 B

5150 stuff

The binary programs here use multiple conventions (more Fun!):

  • .asm files use NASM syntax and are built with nasm xx.asm
  • .s files use GAS syntax, they are built with ia14-elf-gcc

The reason is uh, because you see, I did things.

The .asm came first and was copy pasta from the internet. The .s files came from the output of ia16-elf-gcc -S when I couldn't be bothered to write programs in assembly but still needed to make them compatible with BASIC's CALL instruction.

Also the wozmon binary contains special care to make it into a boot sector (0xaa55 magic).

Anyway, just type

make binaries

and stop whining.

Useful stuff

Colab: [https://colab.research.google.com/drive/1xGKYQJLKyabcSNYOiPumf9_-bbCbXke1?usp=sharing] Arduino pinout: [https://www.google.com/url?q=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1jgKhr-0MFtY_bFZL9xYwVsxFPt4u_5ItV8Rj7FQ7Kj4%2Fedit%3Fusp%3Dsharing]