<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bedrock-pc/src/bin, branch v1.0.0-alpha2</title>
<subtitle>Bedrock emulator and assembler for Windows and Linux
</subtitle>
<id>https://code.benbridle.com/bedrock-pc/atom?h=v1.0.0-alpha2</id>
<link rel='self' href='https://code.benbridle.com/bedrock-pc/atom?h=v1.0.0-alpha2'/>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/'/>
<updated>2024-10-30T22:10:05Z</updated>
<entry>
<title>Canonicalize program paths before loading a program</title>
<updated>2024-10-30T22:10:05Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2024-10-30T22:10:05Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=0bf83f08a4099d90ac18f921b45f74124bcb4c62'/>
<id>urn:sha1:0bf83f08a4099d90ac18f921b45f74124bcb4c62</id>
<content type='text'>
In the case that a program with an adjacent symbols file is added to a
system-wide programs folder by symbolically linking to the bytecode
file of the program, and the program is run via the symbolic link, the
symbols file in the original directory will not be found or loaded.

To fix this, the path to the symbolic link will now be resolved to the
path of the bytecode file in the original directory, where the symbols
file can be found.
</content>
</entry>
<entry>
<title>Remove bolding from info messages</title>
<updated>2024-10-30T20:48:05Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-30T20:44:45Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=4155047b3d6f7a1c5993ef8a8ed2244213a1c8d3'/>
<id>urn:sha1:4155047b3d6f7a1c5993ef8a8ed2244213a1c8d3</id>
<content type='text'>
Bold should only be used for important messages, such as error and
warning messages.

This commit also moves the white colour change to before the colon, to
match the style used in the bedrock-asm library.
</content>
</entry>
<entry>
<title>Change error message format</title>
<updated>2024-10-30T03:29:36Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-30T03:29:36Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=02deef3511e8613a5d737d5586f1efd9fd01637c'/>
<id>urn:sha1:02deef3511e8613a5d737d5586f1efd9fd01637c</id>
<content type='text'>
Removed trailing periods, removed "exiting" from error messages, and
made error details print not in bold.
</content>
</entry>
<entry>
<title>Update source merging strategy</title>
<updated>2024-10-30T03:16:05Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-30T02:49:15Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=ec8ed73838d6850c98722bc68b484174b735abfd'/>
<id>urn:sha1:ec8ed73838d6850c98722bc68b484174b735abfd</id>
<content type='text'>
This updates the bedrock-asm dependency so that we can use the new
source merging strategy added in version 4.0.2.
</content>
</entry>
<entry>
<title>Add colours to info and error messages</title>
<updated>2024-10-30T03:16:05Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-30T03:12:51Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=7c98a00cab282a58e9f2adde65bebe431def8481'/>
<id>urn:sha1:7c98a00cab282a58e9f2adde65bebe431def8481</id>
<content type='text'>
This is to match the message format printed by the bedrock-asm crate.

fix
</content>
</entry>
<entry>
<title>Load and display symbols in debug information</title>
<updated>2024-10-30T02:42:10Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-29T01:03:04Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=748974ef2c0e969e95cccc9cb061436d5a1d1b35'/>
<id>urn:sha1:748974ef2c0e969e95cccc9cb061436d5a1d1b35</id>
<content type='text'>
The assembler saves out symbols files, which are loaded automatically
by the emulator when present. The name and location of the most recent
label is displayed with the debug information when symbols are loaded.
</content>
</entry>
<entry>
<title>Add option to show mouse cursor</title>
<updated>2024-10-29T00:59:44Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-29T00:58:19Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=c42e2154d88c23a28f83fe96f4153e821ef00c0e'/>
<id>urn:sha1:c42e2154d88c23a28f83fe96f4153e821ef00c0e</id>
<content type='text'>
This is to assist with debugging, when a program hasn't yet implemented
its own mouse cursor. Phosphor had to be updated to properly support
this.
</content>
</entry>
<entry>
<title>Divide the default screen dimensions by the zoom factor</title>
<updated>2024-10-28T20:24:53Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-28T20:24:06Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=41366dea0ee6702f4cb5f9bc12d62530c46c8c12'/>
<id>urn:sha1:41366dea0ee6702f4cb5f9bc12d62530c46c8c12</id>
<content type='text'>
Without this, the otherwise normal default screen dimensions of 800x600
would be scaled to a physical size of 2400x1800 at a zoom factor of 3.
</content>
</entry>
<entry>
<title>Canonicalize the source path for the assembler</title>
<updated>2024-10-28T20:14:54Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-28T20:14:54Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=a2d9aadf03f59378db08c0af82449c23ebf38643'/>
<id>urn:sha1:a2d9aadf03f59378db08c0af82449c23ebf38643</id>
<content type='text'>
When a relative path with only one path component is passed to the
assembler, the parent of that path cannot be determined and so the
project libraries descending from that parent cannot be included in
the program. To fix this, we canonicalize the path before it is used.

This also makes the path comments generated for the project source
files more stable and readable.
</content>
</entry>
<entry>
<title>Make configuration code less confusing</title>
<updated>2024-10-28T20:10:07Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2024-10-28T20:10:07Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=ffb979f9cd7d8029251e5bb244428ddaa6724d04'/>
<id>urn:sha1:ffb979f9cd7d8029251e5bb244428ddaa6724d04</id>
<content type='text'>
The unwrap_or for the the dimensions value was to get around the fact
that we don't have guaranteed dimensions at this point. It makes it
look like something more important is happening though, so instead we
just make the config struct mutable and overwrite the dimensions field
with the real value when we get access to it.
</content>
</entry>
</feed>
