jakubpas / atari_6502_test

Atari 6502 cross compiller assembler test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atari 6502 Mads Assembler Test

The game is using Player/Missile graphics. Sprites movement / joystick control / collision detection and so on is done in main program loop not IRQ is used so far. The delays are simply generated by additional loops. ANTIC DLI program is used to display scores in first lines of graphics memory. The scores are kept binary but displayed by using 6502 decimal mode. No nested subroutines to avoid stack overflow. Whole code can fit in just two memory pages. Page 0 is used for storing some values to speed up transfer to registers and accumulator.

Requirements:

(I'm aware of WUDSN IDE which is great, but I still like Idea better)

Idea External tools configuration:

  • Set working dir to $FileDir$

  • Compile:

./local/bin/mads $FilePath$ -o:$FileNameWithoutExtension$.xex -p -t:$FileNameWithoutExtension$.lab -l:$FileNameWithoutExtension$.lst
  • Run:
/usr/bin/xterm -iconic -e atari800 -run $FileNameWithoutExtension$.xex

Demo

https://www.youtube.com/watch?v=x5f42tWAR2A

TODO

  • Sounds
  • Scrolled background
  • Enemy player horizontal movement
  • Multiple enemy players
  • Collision animations
  • Music

About

Atari 6502 cross compiller assembler test


Languages

Language:Assembly 100.0%