cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

color.s (305B)


      1        .include        "global.s"
      2
      3        .title  "Colors"
      4        .module colors
      5
      6        .area   _INITIALIZED
      7
      8__current_1bpp_colors::
      9.fg_colour::
     10        .ds     1
     11.bg_colour::
     12        .ds     1
     13
     14        .area   _INITIALIZER
     15
     16        .db     0x03    ; .fg_colour
     17        .db     0x00    ; .bg_color