<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools.nes/lib, branch main</title>
<subtitle>Tools for NES/Famicom development.
</subtitle>
<id>https://git.mssola.com/nes/tools.nes/atom?h=main</id>
<link rel='self' href='https://git.mssola.com/nes/tools.nes/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/'/>
<updated>2026-11-12T21:01:00Z</updated>
<entry>
<title>vnf: simplify loop on mmc3 write-allowed register</title>
<updated>2026-11-12T21:01:00Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-11-12T21:01:00Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=504bc5d9db3e767aab3e6f340e17047a29c00cc0'/>
<id>urn:sha1:504bc5d9db3e767aab3e6f340e17047a29c00cc0</id>
<content type='text'>
After upgrading to Rust 1.100, clippy suddenly complained about a loop
where the index was not being used, and a simpler way to write it could
have been used. This is just using the recommended path for it.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>vnf: add fuzzy testing</title>
<updated>2026-10-19T19:35:22Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-19T19:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=51f8583447a97fbd913ef961bf85a22a925395cc'/>
<id>urn:sha1:51f8583447a97fbd913ef961bf85a22a925395cc</id>
<content type='text'>
This takes advantage of the fact that fuzzy testing happens after
building all the ROM files. With that, we can use these files so
libfuzzer can take them as the corpus.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>Use translate_rom_address() for the break mark</title>
<updated>2026-10-19T19:30:43Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-19T19:30:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=f64b7672745778a5cf99405707a0649e66d889b4'/>
<id>urn:sha1:f64b7672745778a5cf99405707a0649e66d889b4</id>
<content type='text'>
This was a leftover from commit 57a15f938556 ("runrom: add support for
the MMC3 chip"). As a cherry on top, let's use .get() instead of
directly accessing the PRG ROM slice.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>vnf: mask out bits for bank data on mmc3</title>
<updated>2026-10-19T05:14:57Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-19T05:14:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=821e371683886173a546533f00f8aef1c4e464bf'/>
<id>urn:sha1:821e371683886173a546533f00f8aef1c4e464bf</id>
<content type='text'>
The two most significant bits for the bank data are to be ignored if we
want to honor MMC3's maximum capacity for ROM space.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>runrom: add support for the MMC3 chip</title>
<updated>2026-10-16T21:32:36Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-16T21:32:36Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=57a15f9385560308e5ac05aa057f3bcb1df22824'/>
<id>urn:sha1:57a15f9385560308e5ac05aa057f3bcb1df22824</id>
<content type='text'>
This adds support from the runrom frontend, but more importantly it
provides to vnf all the infrastructure to implement memory mapping, and
at least the MMC3 chip.

The vnf crate now translates addresses as a MMC would do, and it
implements all the relevant interfaces for the MMC3. Support for the
'brk' instruction on this chip has been left out on purpose, and it will
be covered on subsequent commits.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>Move fetch_nasm_addresses() to vnf</title>
<updated>2026-10-16T21:31:53Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-16T21:31:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=4fc97089734c713725295b76b23510a7b13f3c3d'/>
<id>urn:sha1:4fc97089734c713725295b76b23510a7b13f3c3d</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>xixanta: add Context.full_name()</title>
<updated>2026-10-13T19:33:50Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-13T19:33:50Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=2bec57991f7c7d6acf1ae5cb92e751b9ff08cc91'/>
<id>urn:sha1:2bec57991f7c7d6acf1ae5cb92e751b9ff08cc91</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>vnf,runrom: detect bad data access</title>
<updated>2026-10-09T19:45:05Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-09T19:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=f6df4314945c1d37d314a7c88553b97b23c748e9'/>
<id>urn:sha1:f6df4314945c1d37d314a7c88553b97b23c748e9</id>
<content type='text'>
This includes detection for:

- Stack underflows (it was theoretically already there but it had never
  been properly tested).
- Load/store out of bounds for a given variable known via the .nasm/
  directory.
- Load out of bounds on a set of data referenced via a raw label (see
  commit aa5174fc055d ("xixanta: Add an hint for the ending of data
  labels")).

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>xixanta: Add an hint for the ending of data labels</title>
<updated>2026-10-09T19:31:33Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-09T19:31:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=aa5174fc055dc66e78a8aa7030c018e43cf588a1'/>
<id>urn:sha1:aa5174fc055dc66e78a8aa7030c018e43cf588a1</id>
<content type='text'>
Some raw labels may point at a bunch of data laid out with the .byte
family of statements. Add hints for each of these labels so we also have
a range for them. This way, tools like 'vnf' might be able to detect bad
accesses and these sets of data.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>header: add GTROM support</title>
<updated>2026-10-08T19:57:47Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-08T19:57:47Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=dbd5a40d7db5f9dac1131928aff284cec04b61b1'/>
<id>urn:sha1:dbd5a40d7db5f9dac1131928aff284cec04b61b1</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
</feed>
