Something went wrong. Try again.
This repo contains stub files for use in a talk on Atari 2600 development at the Buffalo Game Space.
Something went wrong. Try again.
1.4 kB · 51 lines
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Exercise 2; In this exercise you will cycle the background color per line; and learn about WSYNC;; Written for use with 8bitworkshop.com. ; Code included there and "Making Games For The Atari 2600"; by Steven Hugg;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; Header;;;; Needed at top of all your source files ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
processor 6502 include "vcs.h" org $f000
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; GENERAL INIT;;;; This code is necessary for initialization ;;;; but you can ignore it until you get curious;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Start sei cld ldx #$ff txs lda #0 ; ldx #$ffZeroZP sta $0,X dex bne ZeroZP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
NextFrame
;;; INSERT YOUR CODE BELOW THIS stx COLUBK dex ;;; AND ABOVE THIS
jmp NextFrame ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; Footer;;;; Needed at bottom of all your source files ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; org $fffc .word Start .word Start