nesdev.com
http://forums.nesdev.com/

Parsing NesCartDB XML file: Where's battery-backed VRAM?
http://forums.nesdev.com/viewtopic.php?f=3&t=16460
Page 1 of 1

Author:  tepples [ Thu Sep 07, 2017 12:16 pm ]
Post subject:  Parsing NesCartDB XML file: Where's battery-backed VRAM?

I'm trying to develop a program that translates each cartridge in the XML export from BootGod's NesCartDB (mirrored here) into the correct 16-byte NES 2.0 header for this cartridge. I've hit my first snag.

The NesCartDB entry for RacerMate Challenge II shows that both VRAMs are battery-backed. Normally a battery-backed memory will have battery="1". But in this XML document, the battery= attribute appears only in <wram> elements, not <vram> elements. Here's the <cartridge> element in question:
Code:
<cartridge system="NES-NTSC" revision="3.11.088" crc="74920C13"
 sha1="7BFC9DDE8E97F171263EB0C9C84C83705459432C"
 dump="ok" dumper="Skrybe" datedumped="2012-08-30">
  <board type="UNL-RACERMATE" pcb="R981-112-00" mapper="168">
    <prg name="N311088 05/15/91" size="64k" crc="74920C13"
     sha1="7BFC9DDE8E97F171263EB0C9C84C83705459432C"/>
    <vram id="0" size="32k"/>
    <vram id="1" size="32k"/>
    <chip type="74xx00"/>
    <chip type="74xx00"/>
    <chip type="74xx174"/>
    <chip type="74xx174"/>
    <chip type="74xx32"/>
    <chip type="74xx32"/>
    <chip type="74xx4040"/>
    <cic type="337002"/>
    <pad h="0" v="1"/>
  </board>
</cartridge>

Author:  Myask [ Thu Sep 07, 2017 2:32 pm ]
Post subject:  Re: Parsing NesCartDB XML file: Where's battery-backed VRAM?

Well, for one, that it's showing both as backed conflicts with the bit calling for [ed: forgot words: the CHR-RAM field to be split backed/unbacked] I read in the NES 2.0 spec about Kevtris "tracing out the circuit himself" and "couldn't believe it"… (from when you originally imported his spec to the wiki, for the sake of thoroughness)

ed2: a four-years-older post by kev on same

Author:  lidnariq [ Thu Sep 07, 2017 2:39 pm ]
Post subject:  Re: Parsing NesCartDB XML file: Where's battery-backed VRAM?

I've filed an issue against the cart profile.

J1-J4 affect whether both SRAMs, or just U2, are battery backed.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/