/zx-spectrum-next-assembly-examples

Contains simple examples of assembly code for ZX spectrum

Primary LanguageAssemblyApache License 2.0Apache-2.0

Simple Assembly Code examples for ZX Spectrum Next

  • change_border_color.asm - Set border to green.
  • blinking_character.asm - Dispalys a blinking character.
  • print_text_loop.asm - Print text message by looping over each character.
  • print_text_rom.asm - Print text message by calling a ROM routine.
  • print_text_compact.asm - The same as "print_text_rom.asm", but now the text contains all control characters.
  • print_text_at.asm - Print text message at given position by calling a ROM routine.
  • convert_16bit_to_string.asm - Converts gien 16-bit number to string.
  • joystick_input.asm - Handle Joystick input.
  • sprite_show.asm - Load sprites from file using DMA and shows few.
  • sprite_move.asm - Move sprite on X axis with maximum speed.
  • sprite_sync.asm - Move sprite on X axis at 60PFS.
  • sprite_animate.asm - Move and animate sprite at 60PFS.

Resources: