<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cisc-0.2/programs/sub-suite, branch new-assembler</title>
<subtitle>An emulator for the Sux instruction set.</subtitle>
<id>https://git.b0nk.xyz/cisc-0.2.git/atom?h=new-assembler</id>
<link rel='self' href='https://git.b0nk.xyz/cisc-0.2.git/atom?h=new-assembler'/>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/'/>
<updated>2020-12-08T16:16:13Z</updated>
<entry>
<title>- Implemented support for the Orthogonal extension into</title>
<updated>2020-12-08T16:16:13Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-12-08T15:42:10Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=673efacc37efa90e61eba224efadbb4be863c77b'/>
<id>urn:sha1:673efacc37efa90e61eba224efadbb4be863c77b</id>
<content type='text'>
  both the assembler, and the emulator.

  I finally figured out how I could get support for the
  Ortho extension implemented into the old assembler.

  The only reason for doing this, is to buy me some
  while I start work on the new assembler, and to help
  me get an idea for how to do the same in the new
  assembler.
</content>
</entry>
<entry>
<title>- Started work on writing the new version of the</title>
<updated>2020-12-04T20:20:28Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-12-04T20:20:28Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=96393257a43ac52f2b911594d106741245dec5f0'/>
<id>urn:sha1:96393257a43ac52f2b911594d106741245dec5f0</id>
<content type='text'>
  assembler.
- Did alot of stuff in the emulator.
- Did alot of stuff in the SuB Suite.
</content>
</entry>
<entry>
<title>- Implemented support for Sux's base extension.</title>
<updated>2020-11-20T20:10:24Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-11-20T20:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=83ce1151ee1f06ae6b1c5c1018cc2489494e5ea4'/>
<id>urn:sha1:83ce1151ee1f06ae6b1c5c1018cc2489494e5ea4</id>
<content type='text'>
  This is the biggest milestone I've reached for this
  project, since the base extension changes alot about
  what Sux can do by default, and now makes it a viable
  instruction set for modern day use, when compared
  with other instruction sets.
</content>
</entry>
<entry>
<title>- Cleaned up a bit of the code.</title>
<updated>2020-11-20T16:50:47Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-11-20T16:50:47Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=dc7ebb9d424bb39d59f09b8498746beb871c46f4'/>
<id>urn:sha1:dc7ebb9d424bb39d59f09b8498746beb871c46f4</id>
<content type='text'>
- Made the debug print for the CPU flags more
  readable.
- Started work on implementing line number support
  into SuBAsm.
</content>
</entry>
<entry>
<title>- Removed some debugging stuff from the SuB Suite.</title>
<updated>2020-10-06T12:12:03Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-10-06T12:12:03Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=6a88d1af2ee5894365a56af89a6e97140f3e804d'/>
<id>urn:sha1:6a88d1af2ee5894365a56af89a6e97140f3e804d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Made the stack pointer 64 bit, rather than 16 bit.</title>
<updated>2020-10-06T12:02:23Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-10-06T12:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=8aa8586b03568d3a3d6eba39269a1b79510bc835'/>
<id>urn:sha1:8aa8586b03568d3a3d6eba39269a1b79510bc835</id>
<content type='text'>
  This is to allow for making the stack bigger for
  anything that needs to change the size of it.

- Made the SuB Suite set the stack pointer to the end
  of the usable RAM, and allow for changing the stack
  size.

  In this case, the size of the stack is currently set
  to 192K, with the end of the heap being just below
  the stack.
</content>
</entry>
<entry>
<title>- Added a routine for testing the SuB Suite's</title>
<updated>2020-10-05T12:47:08Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-10-05T12:47:08Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=96ae48f8a79f33cff0a89fac211b6862866e1a44'/>
<id>urn:sha1:96ae48f8a79f33cff0a89fac211b6862866e1a44</id>
<content type='text'>
  implementation of free(), although it's commented
  out.

- Removed the sbc() function from the emulator, since
  sbc can be done by just inverting the second operand
  of adc.
</content>
</entry>
<entry>
<title>- Added support for reading, and writing outside the</title>
<updated>2020-10-04T22:22:00Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-10-04T22:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=ca8e2f93acc794b00464c5513956bd84de258913'/>
<id>urn:sha1:ca8e2f93acc794b00464c5513956bd84de258913</id>
<content type='text'>
  emulator's memory.

  All reads outside of the emulator's memory give back
  $/0xFF bytes, while all writes outside of the
  emulator's memory are ignored.

- Implemented malloc(), and free() in the SuB Suite.

  In order to do this, I had to add support for a heap,
  which I did by reserving the first 3 banks of the
  address space (the first 192K), and by adding a
  routine that finds the end of the RAM.

  In this case, I set the starting address for the
  routine at bank 3 (bank 4 with one indexing), but,
  the routine's starting address isn't hardcoded, and
  thus, any starting address can be passed as an
  argument.

  The routine uses the fact that we can now read/write
  outside the emulator's memory, and also uses the
  fact that writing outside the emulator's memory will
  be ignored, and that reading outside the emulator's
  memory will always read $/0xFF bytes, and uses that
  to signal that it's reached the end of the RAM.

- Added a test program for getting the size of RAM
  starting at address $/0x20000.
</content>
</entry>
<entry>
<title>- Fixed some more bugs with struct, and union handling.</title>
<updated>2020-09-24T12:21:08Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-09-24T12:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=784ff59108b887e246b0f33ff696dfd981659ab2'/>
<id>urn:sha1:784ff59108b887e246b0f33ff696dfd981659ab2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Fixed some issues with how structs, and unions were</title>
<updated>2020-09-21T17:31:39Z</updated>
<author>
<name>mrb0nk500</name>
<email>b0nk@b0nk.xyz</email>
</author>
<published>2020-09-21T17:31:39Z</published>
<link rel='alternate' type='text/html' href='https://git.b0nk.xyz/cisc-0.2.git/commit/?id=9932fac52c0cac2e9e0e11c84dfdf99e0a87ebfb'/>
<id>urn:sha1:9932fac52c0cac2e9e0e11c84dfdf99e0a87ebfb</id>
<content type='text'>
  handled.

- Added a function called fix_symtree(), which when
  called. will rearrange the symbol tree based on the
  order they're declared in by the token stream.

  The reason I wrote this, was to make sure the symbol
  tree could be printed correctly.

- Optimized print_symtree() to now use tail recursion.

- Started adding all of the SuB Suite's structs.
</content>
</entry>
</feed>
