<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools.nes/crates/readrom/src, 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-10-06T19:48:13Z</updated>
<entry>
<title>readrom: accept ranges for the --disassemble flag</title>
<updated>2026-10-06T19:48:13Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-06T19:47:52Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=9570d3b4a0b5e8d01a218743973feebd21115661'/>
<id>urn:sha1:9570d3b4a0b5e8d01a218743973feebd21115661</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>readrom: add support for default expansion device</title>
<updated>2026-10-06T15:27:50Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-06T15:15:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=4bf12db91feb5db98d65b518dbad0c1a8c6748df'/>
<id>urn:sha1:4bf12db91feb5db98d65b518dbad0c1a8c6748df</id>
<content type='text'>
The 15th byte from the NES 2.0 header was wilfully ignored, but it can
be relevant to the end user. Hence, add support for it in the 'header'
library, and add the frontend code into 'readrom'.

The point is not to support every single thing out there, but I have
added the stuff that I thought was most relevant, and we can add more
items to it whenever the need appears.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>readrom: also print the raw bytes from the header</title>
<updated>2026-10-06T15:07:57Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-06T15:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=ffd5f8684cf3871250ab2f0007b0324d74c134bb'/>
<id>urn:sha1:ffd5f8684cf3871250ab2f0007b0324d74c134bb</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>readrom: add support for MMC3</title>
<updated>2026-10-06T15:06:39Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-06T15:06:39Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=b2ec385bf83ad895208e7eb481f704cf8a12a6c6'/>
<id>urn:sha1:b2ec385bf83ad895208e7eb481f704cf8a12a6c6</id>
<content type='text'>
In theory it's support for any kind of memory mapper, but in practice
only MMC3 has been added.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>readrom: don't panic on badly formatted ROMs</title>
<updated>2026-10-04T04:19:37Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-10-04T04:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=994cd8561e2e08432fa5dcb4a86ad52b206fe360'/>
<id>urn:sha1:994cd8561e2e08432fa5dcb4a86ad52b206fe360</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>{read,run}rom: fix format of help message</title>
<updated>2026-08-26T06:21:53Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-08-26T06:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=2df68007e5e3640c02ada107851c7b5bb96072da'/>
<id>urn:sha1:2df68007e5e3640c02ada107851c7b5bb96072da</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>readrom: fix help message on --nasm</title>
<updated>2026-08-26T06:20:08Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-08-26T06:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=68b38094cc8a42e31b5635b3a0e1f20c82acd0c2'/>
<id>urn:sha1:68b38094cc8a42e31b5635b3a0e1f20c82acd0c2</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>{run,read}rom: validate the path from --nasm</title>
<updated>2026-08-26T06:19:04Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-08-26T06:19:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=eba477358f272e99caf6d3cf99ca345f38eab037'/>
<id>urn:sha1:eba477358f272e99caf6d3cf99ca345f38eab037</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>Annotate the no-return from die()</title>
<updated>2026-08-24T12:16:42Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-08-24T12:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=ef5cacef65bed736ee0bdff7426684b3c1b5e35f'/>
<id>urn:sha1:ef5cacef65bed736ee0bdff7426684b3c1b5e35f</id>
<content type='text'>
In all crates we are using a die() function to print to stderr and quit
with a exit status &gt; 0. Apparently in Rust you can annotate the return
type with a bang just like the noreturn from the C family.

The added bonus is that some useless statements to make the compiler
happy without it can be removed altogether as now the compiler is able
to understand that it won't return so the returned type is not needed.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>readrom: read the ROM file right on start</title>
<updated>2026-07-23T10:45:59Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-07-19T20:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=f367d25f0d9d7f0e7580a47294f792143fbb6784'/>
<id>urn:sha1:f367d25f0d9d7f0e7580a47294f792143fbb6784</id>
<content type='text'>
This avoids exhausting the input in other scenarios (thus fixing commit
f5549b97bf85 ("readrom: only read the ROM file once")), and it makes
everything more cohesive.

Fixes: f5549b97bf85 ("readrom: only read the ROM file once")

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