NovaYoshi

nrom128.x

Sep 27th, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. MEMORY {
  2. ZP: start = $10, size = $f0, type = rw;
  3. # use first $10 zeropage locations as locals
  4. HEADER: start = $7f00, size = $0010, type = ro, file = %O, fill = yes, fillval = $00;
  5. RAM: start = $0300, size = $0500, type = rw;
  6. PRG0: start = $C000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
  7. CHR0: start = $0000, size = $2000;
  8. }
  9.  
  10. SEGMENTS {
  11. INESHDR: load = HEADER, type = ro, align = $10;
  12. ZEROPAGE: load = ZP, type = zp;
  13. BSS: load = RAM, type = bss, define = yes, align = $100;
  14. CODE: load = PRG0, type = ro, align = $100;
  15. RODATA: load = PRG0, type = ro, align = $100;
  16. DMC: load = PRG0, type = ro, align = $40, optional = yes;
  17. VECTORS: load = PRG0, type = ro, start = $FFFA;
  18. CHR: load = CHR0, type = ro;
  19. }
  20.  
  21. FILES {
  22. %O: format = bin;
  23. }
Add Comment
Please, Sign In to add comment