<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cisc-0.2/programs, branch new-instruction-handler</title>
<subtitle>An emulator for the Sux instruction set.</subtitle>
<id>https://git.b0nk.xyz/cisc-0.2.git/atom?h=new-instruction-handler</id>
<link rel='self' href='https://git.b0nk.xyz/cisc-0.2.git/atom?h=new-instruction-handler'/>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/'/>
<updated>2021-05-09T16:32:11Z</updated>
<entry>
<title>Subtract another 16 from the size in clr_arr.</title>
<updated>2021-05-09T16:32:11Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-09T16:32:11Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=640037b972d022fc6877b4d2e1f51f329cbec9ea'/>
<id>urn:sha1:640037b972d022fc6877b4d2e1f51f329cbec9ea</id>
<content type='text'>
This fixes a bug where it would zero out the info of
the next malloc'd block.
</content>
</entry>
<entry>
<title>Replace call to memcpy, with call to memcpy_dir.</title>
<updated>2021-05-09T16:23:39Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-09T16:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=f8c2e25b4ab337789a2e468a8f0aadb0c7fda42f'/>
<id>urn:sha1:f8c2e25b4ab337789a2e468a8f0aadb0c7fda42f</id>
<content type='text'>
This fixes a bug where when shifting the line left, it
would overwrite everything after the cursor with the
character at the cursor's position.

The reason this was happening is because memcpy copies
from start to end, and because the destination is more
than one byte ahead of the source, it overwrites the
next length source bytes, which will repeat until it's
copied n bytes.
</content>
</entry>
<entry>
<title>Add a end to start version of memcpy, and a selectable</title>
<updated>2021-05-09T16:19:34Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-09T16:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=98886be8aa8508feabbcd8f232ba85ef46a7a139'/>
<id>urn:sha1:98886be8aa8508feabbcd8f232ba85ef46a7a139</id>
<content type='text'>
direction version of memcpy.

This can help with some subroutines/functions like
shftln, which need to copy data in a certain direction
depending on the condition.
</content>
</entry>
<entry>
<title>Fixed a bug in print_char caused by not zero extending</title>
<updated>2021-05-08T19:04:31Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-08T19:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=eb679e0750798c0fcba06d10d8b003532d931644'/>
<id>urn:sha1:eb679e0750798c0fcba06d10d8b003532d931644</id>
<content type='text'>
`b`.
</content>
</entry>
<entry>
<title>Fixed a bug in print_str to do with clobbered</title>
<updated>2021-05-08T19:01:36Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-08T19:01:36Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=607ca37ab87095ac5d79f9a1646a253df633c2e3'/>
<id>urn:sha1:607ca37ab87095ac5d79f9a1646a253df633c2e3</id>
<content type='text'>
registers.

This was due to print_char clobbering `d` when calling
get_index.
</content>
</entry>
<entry>
<title>Replace get_ctrlidx with get_index in print_char.</title>
<updated>2021-05-08T18:58:44Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-08T18:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=01c8e7399cc940d2d5d0540593e16724948bd6e3'/>
<id>urn:sha1:01c8e7399cc940d2d5d0540593e16724948bd6e3</id>
<content type='text'>
This helps reduce code duplication, and makes it
easier to both read, and add new handlers.
</content>
</entry>
<entry>
<title>Add a new subroutine called get_index.</title>
<updated>2021-05-08T18:53:21Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-08T18:53:21Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=d284bfb53d27831c1bfa1b39a265eab748217cea'/>
<id>urn:sha1:d284bfb53d27831c1bfa1b39a265eab748217cea</id>
<content type='text'>
This subroutine gets the index of a given character
from a string.

This will help in replacing some routines like
get_ctrlidx, isdelm, and isdelm2.
</content>
</entry>
<entry>
<title>Get the pointer from the control code handler table</title>
<updated>2021-05-08T17:16:32Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-08T17:16:32Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=875dff40ad71847d59c272491e516e4b1f01058c'/>
<id>urn:sha1:875dff40ad71847d59c272491e516e4b1f01058c</id>
<content type='text'>
using SIB, rather than with lsl.

This doesn't increase, or decrease the code size, but
does make it both more compact, and easier to read.
</content>
</entry>
<entry>
<title>Rewrite `clr_arr` to use the ortho extension.</title>
<updated>2021-05-08T16:48:50Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-08T16:48:50Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=5db9af7b0d1d027b9325b45917ab46beaa52d5a0'/>
<id>urn:sha1:5db9af7b0d1d027b9325b45917ab46beaa52d5a0</id>
<content type='text'>
This makes the code much smaller than the previous
version.
</content>
</entry>
<entry>
<title>Replace all instances of $/0x1B with the escape</title>
<updated>2021-05-08T16:46:39Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2021-05-08T16:46:39Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=6cb51003b5afeb061955925e4d704743925893da'/>
<id>urn:sha1:6cb51003b5afeb061955925e4d704743925893da</id>
<content type='text'>
sequence for the escape character.
</content>
</entry>
</feed>
