INLretro Dumper-Programmer scripts

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderators: B00daW, Moderators

Post Reply
Indcsion
Posts: 7
Joined: Wed Feb 13, 2019 5:35 am

INLretro Dumper-Programmer scripts

Post by Indcsion » Wed Feb 13, 2019 5:41 am

    Can anyone make a script to dump mapper 18? I got this rom hack of ths game I want to play on fpga hardware.


    Jajamaru no Ginga Daisakusen 128k PRG / 128k CHR H SS8806 (18)

    http://www.infiniteneslives.com/inlretro.php
    Last edited by Indcsion on Thu Feb 14, 2019 10:59 am, edited 1 time in total.

    lidnariq
    Posts: 9014
    Joined: Sun Apr 13, 2008 11:12 am
    Location: Seattle

    Re: INLretro Dumper-Programmer (formerly kazzo) scripts

    Post by lidnariq » Wed Feb 13, 2019 11:05 am

    Quickly banging something together:

    Code: Select all

    board <- {
      mappernum = 18,
      cpu_rom = { size_base = 131072, size_max = 524288, banksize = 0x2000 },
      ppu_rom = { size_base = 131072, size_max = 262144, banksize = 0x400 },
      ppu_ramfind = false, vram_mirrorfind = false
    };
    
    function cpu_dump(d, pagesize, banksize) {
      for (local i = 0; i < pagesize - 1; i += 1) {
        cpu_write(d, 0x8000, i);
        cpu_write(d, 0x8001, i>>4);
        cpu_read(d, 0x8000, banksize);
      }
      cpu_read(d, 0xe000, banksize);
    }
    
    function ppu_dump(d, pagesize, banksize) {
      for (local i = 0; i < pagesize; i += 1) {
        cpu_write(d, 0xA000, i);
        cpu_write(d, 0xA001, i>>4);
        ppu_read(d, 0, banksize);
      }
    }
    Can't test, may or may not work.

    Indcsion
    Posts: 7
    Joined: Wed Feb 13, 2019 5:35 am

    Re: INLretro Dumper-Programmer (formerly kazzo) scripts

    Post by Indcsion » Wed Feb 13, 2019 12:23 pm

    Thanks. Im not really sure how to turn that into a script INL will use.

    lidnariq
    Posts: 9014
    Joined: Sun Apr 13, 2008 11:12 am
    Location: Seattle

    Re: INLretro Dumper-Programmer (formerly kazzo) scripts

    Post by lidnariq » Wed Feb 13, 2019 12:24 pm

    ... might be best if you hadn't used the word "kazzo" when you mean "the thing that isn't kazzo"

    Indcsion
    Posts: 7
    Joined: Wed Feb 13, 2019 5:35 am

    Re: INLretro Dumper-Programmer (formerly kazzo) scripts

    Post by Indcsion » Wed Feb 13, 2019 12:25 pm

    Sorry I just copied the title wasnt trying to confuse you.

    Indcsion
    Posts: 7
    Joined: Wed Feb 13, 2019 5:35 am

    Re: INLretro Dumper-Programmer (formerly kazzo) scripts

    Post by Indcsion » Wed Feb 13, 2019 12:32 pm

    Attachments
    inlretro.zip
    (2.89 KiB) Downloaded 133 times

    Post Reply