Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Controller Example Programs

Assembling

I have tried to stick to a common subset of assembler features that will work with any of the following cross-assemblers:

  • Sjasm: Windows binaries available for download. Compiles on Linux using sources on Github.
  • SjasmPlus: Windows binaries available for download. Compiles on Linux using sources on Github.
  • z80asm: Binaries available in the Debian repository. Mac binaries on Homebrew. Compiles on Windows.
  • z88dk's z80asm (not to be confused with above). Windows and Mac binaries available for download. Compiles on Linux.
  • pasmo: Windows and Mac binaries available for download. Binaries available in the Debain repository.

My preferred assembler is sjasm. I try to maintain compatibility with all of the above, but may not always test every change against the others. If you have trouble assembling with any of the above, please try sjasm, and file a bug to let me know about the problem.

About the Programs

  • control.asm: Reusable assembly library for reading controller; used by example.asm.
  • example.asm: Example assembly program reads controller status and prints it on the serial port.
  • loader.asm: CP/M loader for ColecoVision games.