cscg22-gearboy

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

outi.s (661B)


      1        .include        "global.s"
      2
      3        .title  "VRAM utilities"
      4        .module VRAMUtils
      5        .area   _HOME
      6
      7.OUTI128::                              ; _OUTI128 label points to a block of 128 OUTI and a RET
      8        .rept 64
      9                outi
     10        .endm
     11.OUTI64::                               ; _OUTI64 label points to a block of 64 OUTI and a RET
     12        .rept 32
     13                outi
     14        .endm
     15.OUTI32::                               ; _OUTI32 label points to a block of 32 OUTI and a RET
     16        .rept 32
     17                outi
     18        .endm
     19.OUTI_END::                             ; _outi_block label points to END of OUTI block
     20        ret