Skip to content

Instantly share code, notes, and snippets.

@kennyheaton
Created August 21, 2016 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennyheaton/90bdd2ae6827a96743855035df4ef9eb to your computer and use it in GitHub Desktop.
Save kennyheaton/90bdd2ae6827a96743855035df4ef9eb to your computer and use it in GitHub Desktop.
Smiley face in 6502
; Smiley face in 6502
; run on JavaScript 6502 assembler and simulator
; https://github.com/skilldrick/6502js
; tutorial: https://skilldrick.github.io/easy6502/
; Set Color
LDA #$07
; Top Bar
STA $028b
STA $028c
STA $028d
STA $028e
STA $028a
; Top Angles
STA $02a9
STA $02af
STA $02c8
STA $02d0
; Left Side
STA $02f1
STA $0331
STA $0351
STA $0311
; Right Side
STA $02e7
STA $0307
STA $0327
STA $0347
; Bottom Angels
STA $0370
STA $038f
STA $0368
STA $0389
; Bottom Bar
STA $03ab
STA $03ac
STA $03ad
STA $03ae
STA $03aa
; Eyes
STA $02ea
STA $02ee
; Smile
STA $034a
STA $036b
STA $036c
STA $036d
STA $034e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment