Sub-Etha Software
Blogs

C: (too) many happy returns…

July 21, 2021 Sub-Etha Software

Here’s another quick C thing… One of the jobs I had used a pretty complete coding style guide for C. One of the things they insisted on was only one “return” in any function that returns values. For example: int function(int x) { if (x == 1) { return 100; …

No Picture
Blogs

Joust on the CoCo 3 update – Now plays demo screen

July 18, 2021 Glen's Weblog

I’ve been working on a couple projects. The first is a new loader program for the CoCo 3 that uses the excellent ZX0 compression by Einar Saukas and the efficient and fast 6809 decompression routine written by Doug Masten. The … Continue reading → …

Sub-Etha Software
Blogs

char versus C versus C#

July 15, 2021 Sub-Etha Software

I am mostly a simple C programmer, but I do touch a bit of C# at my day job. If you don’t think about what is going on behind the scenes, languages like Java and C# are quite fun to work with. For instance, if I was pulling bytes out …

No Picture
Blogs

Oh yeah, Scramble…

July 8, 2021 Retro Ports

Well, once you lose momentum on a project when Real Life intervenes, you can very quickly forget about it completely, which is pretty much what happened on Scramble. I must admit, I haven’t even thought about it for several weeks now, only reminded about it now by a 68K post …

Sub-Etha Software
Blogs

Researching 8-bit floating point.

July 1, 2021 Sub-Etha Software

Recently, I ran in to a situation where a floating point value (represent current) was being converted to a byte value before being sent off in a status message. Thus, any calculations on the other side were being done with whole values (1, 2, 42, etc.). I was asked if …