Skip to content

Various bugfixes

Latest
Compare
Choose a tag to compare
@PaperFanz PaperFanz released this 15 Oct 05:40
· 9 commits to master since this release

This minor revision fixes issue #3 and #5

To summarize:
Assembling a file without a containing directory i.e. laser -a file.asm vs. laser -a somedirectory/file.asm would result in a segfault because of some undefined behavior with strrchr. In Windows, no segfault would be reported but terminal output would stop and unwritten files would be left behind as build artifacts.

Under Windows, fwrite writes an extra 0x0D whenever a 0x0A is written, resulting in BRnp's turning into BRnz's and the rest of the file becoming garbled as well. This issue has been resolved.

As before, I currently do not have access to a Mac so I've only posted the Windows installer (recommended) and the Windows executable. If someone could generate a Mac binary (or better yet, package laser for Mac), that would be awesome.

Thanks to everyone who's giving Laser a try, and I hope it makes programming for the LC3 just a little less painful.