<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools.nes, 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>readrom: assume a default value for --mmc on MMC3</title>
<updated>2026-10-21T15:08:06Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-21T15:08:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=3cfacacf75ba79037a1e86310cf4df7a2b0d5347'/>
<id>urn:sha1:3cfacacf75ba79037a1e86310cf4df7a2b0d5347</id>
<content type='text'>
If we detect the MMC3 chip and no --mmc flag was provided, pull default
values for it, as this guess is often better than no guess at all. In
the future we might consider throwing a warning to the user, but for now
the noise is not worth the effort.

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>runrom: add documentation for the --mmc option</title>
<updated>2026-10-19T19:34:54Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-19T19:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=84be0dea9d3e32785f786fe40af1adbad24ce9e0'/>
<id>urn:sha1:84be0dea9d3e32785f786fe40af1adbad24ce9e0</id>
<content type='text'>
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>runrom: simply pass 'args' into run()</title>
<updated>2026-10-09T19:50:13Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-09T19:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=91fd8313ef36e9b909a5409466f7ed06b40f1579'/>
<id>urn:sha1:91fd8313ef36e9b909a5409466f7ed06b40f1579</id>
<content type='text'>
This function already took most of the arguments from the user anyways,
and the list of separate arguments was getting crazier to a point that
even clippy started to freak out.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
</feed>
