<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools.nes/lib/header, 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-07-13T15:37:43Z</updated>
<entry>
<title>readrom: print the usual PRG-RAM size if available</title>
<updated>2026-07-13T15:37:43Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-07-13T15:37:43Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=ef226a7e10fe665f025a0c4eed6e7dc0c613da4e'/>
<id>urn:sha1:ef226a7e10fe665f025a0c4eed6e7dc0c613da4e</id>
<content type='text'>
If 'has_persistent_memory' has been set on the ROM header, then we must
print it even if bytes 8/10 was never set by the header. In fact, the
vast majority of ROM files don't have these bytes set but they report a
true value for 'has_persistent_memory'. Hence, assume the usual PRG-RAM
size in these cases, which is (I hope) the correct one in all cases.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>lib: add descriptions in Cargo.toml files</title>
<updated>2026-07-08T19:10:03Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-07-08T19:10:03Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=dcc6264d71e9a1ce58e56eebe5489e1ba16e2d4a'/>
<id>urn:sha1:dcc6264d71e9a1ce58e56eebe5489e1ba16e2d4a</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>Upgrade to the 2024 edition of Rust</title>
<updated>2026-07-08T19:09:42Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-07-08T18:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=6333dc7ee02332cd06e20b56cefd3210368e54f8'/>
<id>urn:sha1:6333dc7ee02332cd06e20b56cefd3210368e54f8</id>
<content type='text'>
And also adjust the code so the clippy from the 2024 edition is fine
with it.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>Update the code style to the latest stable Rust</title>
<updated>2026-04-24T13:04:10Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-04-24T13:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=11790d769b9dc651f3218bdfe40da59c7c9d400e'/>
<id>urn:sha1:11790d769b9dc651f3218bdfe40da59c7c9d400e</id>
<content type='text'>
This mostly involves applying the collapsible_match rule[1] where
appropiate, and using sort_by_key() as pointed out by the latest stable
version of clippy.

[1] https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>header: Add RAM and CPU/PPU Timing detection</title>
<updated>2025-09-12T19:55:16Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-09-12T19:17:39Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=85f8afab8c6e6bd26509c54c765c542279e26675'/>
<id>urn:sha1:85f8afab8c6e6bd26509c54c765c542279e26675</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>header: Add one/four screen nametable support</title>
<updated>2025-09-12T19:03:54Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-09-12T19:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=c479fee73b691032e0e08097f9af354ececa68db'/>
<id>urn:sha1:c479fee73b691032e0e08097f9af354ececa68db</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>header: Add fuzzy testing</title>
<updated>2024-12-18T08:19:16Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2024-12-18T08:19:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=6af3219daee1457c3b9fb03fe73d2b0019d70408'/>
<id>urn:sha1:6af3219daee1457c3b9fb03fe73d2b0019d70408</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add the readrom binary</title>
<updated>2024-12-18T06:46:26Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2024-12-18T06:46:26Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=407048d0037c8d6d26c7e3fe2384e974212f124e'/>
<id>urn:sha1:407048d0037c8d6d26c7e3fe2384e974212f124e</id>
<content type='text'>
The readrom binary is similar to `readelf` from Linux and it will allow
to display information from an NES/Famicom ROM file. For now the
information being shown is just the header, but in the future we might
also include disassembling parts of the code, or retrieving the "CHARS"
section for a given ROM file, and similar.

In order to implement the header parsing part a new library has been
introduced, simply named "header" which abstracts everything away so you
just need to call `Header::try_from("my bytes")` to fetch the actual
information.

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