Building a simple Amiga network client...in assembler?!?
Topaz walks through what it takes to write a network client in M68K assembler on the Commodore Amiga, using development tools that run right on the Amiga itself!
Thanks to Tyrel (@tyrel@social.tyrel.dev), Colin!
References
Code
- Code on Hackerbun Gitea (https://code.hackerbun.dev/TheIndustriousRabbit/amiga-bsdsocket-coding/src/branch/main/client_in_asm)
- Includes the code in both assembler and C
Tools
- AsmPro 1.18 (http://aminet.net/package/dev/asm/AsmPro1.18src)
- Install this first
- AsmPro 1.19 Update (http://aminet.net/package/dev/asm/ASMPro1.19)
- Then install this update
- fd2pragma (http://aminet.net/package/dev/misc/fd2pragma)
- You might get fd2pragma from other developer tools. This one is likely better than those other ones.
68000 Assembler
- Asm-Editor (https://asm-editor.specy.app/)
- Web-based 68000 assembler
- 68k.hax.com (http://68k.hax.com/)
- A non-https site with 68k instruction information, so you can browse it on your Amiga
- m68k-instructions-documentation (https://github.com/prb28/m68k-instructions-documentation)
- All 68000 instructions as well as info on Amiga custom chip registers
BSD Socket Library
- FD file for bsdsocket.library (https://github.com/cnvogelg/amitools/blob/master/amitools/data/fd/bsdsocket_lib.fd)
- You can also find this in the AmiTCP SDK
Credits
Music
- “Industrious Ferret”, “Pop Goes the Weasel”, “Itty Bitty 8-Bit” by Kevin MacLeod
- “Last Chance” by Nihilore