<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools.nes/crates/nasm/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-08-24T12:16:42Z</updated>
<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>Save known addresses into .nasm/addresses.txt</title>
<updated>2026-07-15T06:10:45Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-07-15T05:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=61b9ce33d54bc643b0ece227101d8bf571fd86e5'/>
<id>urn:sha1:61b9ce33d54bc643b0ece227101d8bf571fd86e5</id>
<content type='text'>
This new file contains all the addresses that are known to the
assembler, belonging to either proc's or plain labels. For the former we
will further be able to tell the "end" of the proc. With that, the file
follows a simple CSV format, with the name, start and end.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>nasm: code style cleanup</title>
<updated>2026-07-14T05:37:38Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-07-14T05:37:38Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=10b2276829b31c117eb3276dca11503248801cdd'/>
<id>urn:sha1:10b2276829b31c117eb3276dca11503248801cdd</id>
<content type='text'>
In the same spirit as commit a012d260db4a ("Minor style fixes from an
upgraded clippy"), an update on the toolchain has raised some concerns
style-wise.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>Generalize MemoryRange into Range</title>
<updated>2026-07-14T05:36:14Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-07-14T05:36:14Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=1fcfa6b2bdafb797175d0c3a1be2bca700d4c260'/>
<id>urn:sha1:1fcfa6b2bdafb797175d0c3a1be2bca700d4c260</id>
<content type='text'>
Leading up to also having address ranges exported to callers, which
should be using the same infrastructure.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>Minor style fixes from an upgraded clippy</title>
<updated>2026-07-09T20:14:40Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-07-09T20:14:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=a012d260db4ad9a234a2ef29e8c0f7f6ef5f6a4e'/>
<id>urn:sha1:a012d260db4ad9a234a2ef29e8c0f7f6ef5f6a4e</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>Fix tabulation on --allow-unused help's message</title>
<updated>2026-04-30T20:40:08Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-04-30T20:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=dd7c8cba5aae6b62a5f4adde165d81dfa630c635'/>
<id>urn:sha1:dd7c8cba5aae6b62a5f4adde165d81dfa630c635</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>nasm/xa65: add the --allow-unused option</title>
<updated>2026-04-30T10:42:55Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-04-30T10:21:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=a7bf22ce402256c3a056ac278629552ef4978da2'/>
<id>urn:sha1:a7bf22ce402256c3a056ac278629552ef4978da2</id>
<content type='text'>
Since the addition of the check() function in commit 6a9dea943c07 ("Add
a new 'check' stage in assemble()"), it can be annoying to some users
that the check for unused/unreferenced object applies by default. Hence,
add a flag so this can be disabled.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>nasm: call exit() right after error detection</title>
<updated>2026-04-28T11:43:58Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-04-28T11:43:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=9485c4088e50cd9db9c9d595ca58a489f3c38254'/>
<id>urn:sha1:9485c4088e50cd9db9c9d595ca58a489f3c38254</id>
<content type='text'>
The 'if error_count == 0' branch came from old code that accumulated
over and over. Since this was the only branch taken before exit, let's
prefer the other way around so we can remove one indentation level.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>nasm: use buffered writing for full ROMs as well</title>
<updated>2026-04-28T11:41:11Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-04-28T11:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/nes/tools.nes/commit/?id=b6393783d07405d0a13e03f6e752428974703754'/>
<id>urn:sha1:b6393783d07405d0a13e03f6e752428974703754</id>
<content type='text'>
This was already implemented for the --split-segments option. Not let's
bring this when building full ROM files, as writing things byte by byte
is slow.

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