
void main()
main: scope:[main]  from
  [0] phi()
  to:main::@1
main::@1: scope:[main]  from main main::@5
  [1] main::vaddr#3 = phi( main/DEFAULT_SCREEN, main::@5/main::vaddr#2 )
  [1] main::i#2 = phi( main/0, main::@5/main::i#1 )
  [2] if(0!=main::MSG[main::i#2]) goto main::@2
  to:main::@3
main::@3: scope:[main]  from main::@1
  [3] phi()
  [4] call memcpy_to_vram
  to:main::@return
main::@return: scope:[main]  from main::@3
  [5] return 
  to:@return
main::@2: scope:[main]  from main::@1
  [6] vpoke::vaddr#0 = main::vaddr#3
  [7] vpoke::data#0 = main::MSG[main::i#2]
  [8] call vpoke
  to:main::@4
main::@4: scope:[main]  from main::@2
  [9] main::vaddr#1 = ++ main::vaddr#3
  [10] vpoke::vaddr#1 = main::vaddr#1
  [11] call vpoke
  to:main::@5
main::@5: scope:[main]  from main::@4
  [12] main::vaddr#2 = ++ main::vaddr#1
  [13] main::i#1 = ++ main::i#2
  to:main::@1

void memcpy_to_vram(char vbank , void *vdest , void *src , unsigned int num)
memcpy_to_vram: scope:[memcpy_to_vram]  from main::@3
  [14] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL
  [15] *VERA_ADDRX_L = 0
  [16] *VERA_ADDRX_M = byte1 memcpy_to_vram::vdest#0
  [17] *VERA_ADDRX_H = VERA_INC_1
  to:memcpy_to_vram::@1
memcpy_to_vram::@1: scope:[memcpy_to_vram]  from memcpy_to_vram memcpy_to_vram::@2
  [18] memcpy_to_vram::s#2 = phi( memcpy_to_vram/(char *)memcpy_to_vram::src#0, memcpy_to_vram::@2/memcpy_to_vram::s#1 )
  [19] if(memcpy_to_vram::s#2!=memcpy_to_vram::end#0) goto memcpy_to_vram::@2
  to:memcpy_to_vram::@return
memcpy_to_vram::@return: scope:[memcpy_to_vram]  from memcpy_to_vram::@1
  [20] return 
  to:@return
memcpy_to_vram::@2: scope:[memcpy_to_vram]  from memcpy_to_vram::@1
  [21] *VERA_DATA0 = *memcpy_to_vram::s#2
  [22] memcpy_to_vram::s#1 = ++ memcpy_to_vram::s#2
  to:memcpy_to_vram::@1

void vpoke(char vbank , char *vaddr , char data)
vpoke: scope:[vpoke]  from main::@2 main::@4
  [23] vpoke::data#2 = phi( main::@2/vpoke::data#0, main::@4/$21 )
  [23] vpoke::vaddr#2 = phi( main::@2/vpoke::vaddr#0, main::@4/vpoke::vaddr#1 )
  [24] *VERA_CTRL = *VERA_CTRL & ~VERA_ADDRSEL
  [25] vpoke::$0 = byte0  vpoke::vaddr#2
  [26] *VERA_ADDRX_L = vpoke::$0
  [27] vpoke::$1 = byte1  vpoke::vaddr#2
  [28] *VERA_ADDRX_M = vpoke::$1
  [29] *VERA_ADDRX_H = 0
  [30] *VERA_DATA0 = vpoke::data#2
  to:vpoke::@return
vpoke::@return: scope:[vpoke]  from vpoke
  [31] return 
  to:@return
