font_color.s (229B)
1 .include "global.s" 2 3 .globl .fg_colour, .bg_colour 4 5 .area _HOME 6_font_color:: 7 LDA HL,2(SP) ; Skip return address and registers 8 LD A,(HL+) ; A = Foreground 9 LD (.fg_colour),a 10 LD A,(HL) 11 LD (.bg_colour),a 12 RET
cscg22-gearboyCSCG 2022 Challenge 'Gearboy' | |
git clone https://git.sinitax.com/sinitax/cscg22-gearboy | |
Log | Files | Refs | sfeed.txt |