logo

Building a simple Amiga network client...in assembler?!?

time2 yr agoview22 views

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!

  • Mastodon: https://oldbytes.space/@TopazRabbit
  • Website: https://theindustriousrabbit.com/
  • RSS: https://theindustriousrabbit.com/index.xml
  • Donate: https://ko-fi.com/topazrabbit

Chapters

00:00 - Introduction 01:02 - AsmPro Setup & Usage 02:11 - Web-based m68k Assembler 02:50 - Just enough assembler 05:58 - Amiga Library Vector Offsets (LVOs) 07:29 - Working with AsmPro 08:58 - Tour of the client code 16:18 - Conclusion


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 https://incompetech.com CC-BY 3.0 (http://creativecommons.org/licenses/by/3.0/)
  • "Last Chance" by Nihilore https://nihilore.com CC-BY-NC 4.0 (http://creativecommons.org/licenses/by-nc/4.0/)
Loading comments...