
void main()
main: scope:[main]  from
  [0] phi()
  [1] call memoryRemap
  to:main::@1
main::@1: scope:[main]  from main
  [2] *((char *)DMA+OFFSET_STRUCT_F018_DMAGIC_EN018B) = 1
  [3] *((char *)DMA+OFFSET_STRUCT_F018_DMAGIC_ADDRMB) = 0
  [4] *((char *)DMA+OFFSET_STRUCT_F018_DMAGIC_ADDRBANK) = 0
  [5] *((char *)DMA+OFFSET_STRUCT_F018_DMAGIC_ADDRMSB) = byte1 &DMA_SCREEN_UP
  [6] *((char *)DMA) = byte0 &DMA_SCREEN_UP
  [7] *((char *)DMA+OFFSET_STRUCT_F018_DMAGIC_EN018B) = 0
  to:main::@return
main::@return: scope:[main]  from main::@1
  [8] return 
  to:@return

void memoryRemap(char remapBlocks , unsigned int lowerPageOffset , unsigned int upperPageOffset)
memoryRemap: scope:[memoryRemap]  from main
  [9] memoryRemap::aVal = 0
  [10] memoryRemap::xVal = 0
  [11] memoryRemap::yVal = 0
  [12] memoryRemap::zVal = 0
  asm { ldaaVal ldxxVal ldyyVal ldzzVal map eom  }
  to:memoryRemap::@return
memoryRemap::@return: scope:[memoryRemap]  from memoryRemap
  [14] return 
  to:@return
