Skip to content

Instantly share code, notes, and snippets.

View katejenkins's full-sized avatar

Matth Jenks katejenkins

View GitHub Profile
@katejenkins
katejenkins / Notes
Created November 23, 2013 04:16
"Start putting program code in memory location $0000"
Hmm, last section of notes didn't save?
loop_variable EQU $C880 ;Create a variable for looping
These two goto types are unconditional
JMP = jump (>127b away)
BRA = branch (within 127b)
(LBRA = long branch) (but relative)
while JMP is absolute
@katejenkins
katejenkins / Magic Init
Created November 30, 2013 01:21
Magic Init Routine
ORG $0000 ;begin assembly at memory block $0000 <-- always this block on Vectrex
; Magic Init Block
FCB $67,$20
FCC "GCE XXXX" ; copyright info
FCB $80
FDB music ; starting addres for music
FDB $f850
FDB $30b8