Advertisement
LuigiBlood

Same Game Koma Editor (with comments)

Jul 26th, 2013
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. LDA #$80
  2. STA $025000 //HiROM Map
  3. LDA #$80
  4. STA $0C5000 //Enable Write on Memory Pack
  5. LDA #$80
  6. STA $0D5000 //Enable Write on Memory Pack (More space?)
  7. LDA #$FF
  8. STA $035000 //Enable PSRAM in low (00-7F) Memory banks (why 0xFF?)
  9. LDA #$00
  10. STA $045000 //Disable PSRAM in high (80-FF) memory banks
  11. LDA #$00
  12. STA $075000 //Don't map BIOS to low banks
  13. LDA #$00
  14. STA $085000 //Don't map BIOS to high banks
  15. LDA #$00
  16. STA $055000
  17. LDA #$00
  18. STA $065000 //Map PSRAM to 00-0F banks
  19. LDA #$00
  20. STA $005000 //???
  21. LDA #$00
  22. STA $015000 //???
  23. LDA #$FF
  24. STA $0E5000 //Commit the changes (why 0xFF?)
  25. JSL $7E6000 //Run Write Code from RAM
  26. LDA #$01
  27. STA $0C58
  28. RTL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement