cscg22-gearboy

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

emu_debug.s (445B)


      1        .include "global.s"
      2
      3        .title  "EMU_debug"
      4        .module EMU_debug
      5        
      6        .area   _EMU_HEADER (ABS)
      7
      8        .org    0x08
      9        JP      _EMU_profiler_message
     10
     11        .area   _HOME
     12    
     13        ;; EMU profiler message
     14_EMU_profiler_message::
     15        LD      D, D
     16        JR      1$
     17        .dw     0x6464
     18        .dw     0
     19        .ascii "PROFILE,%(SP+$0)%,%(SP+$1)%,%A%,%TOTALCLKS%,%ROMBANK%,%WRAMBANK%"
     201$:     RET