Sub-Etha Software
Blogs

C, printf, and pointers.

April 27, 2021 Sub-Etha Software

I learned a new C thing today. But first, an old C thing. When you write “standard C” and want to print a value using printf, you are at the mercy of standard C data types. For example, “%d” is a “Signed decimal integer” and “%u” is an “Unsigned decimal …

Sub-Etha Software
Blogs

Raspberry Pi Pico?

January 21, 2021 Sub-Etha Software

For those who find the unwieldy huge size of the Raspberry Pi Zero off-putting, the Raspberry Pi Foundation has now released a Raspberry Pi Pico. It uses a custom chip, the RP2040, and seems to be more of an Arduino than a Pi. It has 264KB of memory and can …

Sub-Etha Software
Blogs

Benchmarking the CoCo keyboard – part 7

January 18, 2021 Sub-Etha Software

See also: part 1, part 2, part 3, part 4, part 5, part 6, part 7 and more (coming “soon”). NOTE: This one is gonna jump around a bit, referring to examples in the previous installment, so hang tight… Some comments from the previous installment, where I shared some code …

Blogs

Exploring Atari VCS/2600 Adventure – part 4

January 13, 2021 Sub-Etha Software

See also: part 1, part 2, part 3, part 4 … and more to come… Objectively speaking Welcome back to the world of Atari Adventure! After spending some time figuring out how the rooms were drawn, it’s time to look at how the game objects are drawn. Adventure contains many …

Sub-Etha Software
Blogs

Benchmarking the CoCo keyboard – part 6

January 11, 2021 Sub-Etha Software

See also: part 1, part 2, part 3, part 4 and part 5 (coming “soon”). Let’s jump right in with a mystery… This code: 0 REM arrowbench.bas 10 TIMER=0:FOR A=1 TO 1000 20 POKE&H155,&HFF:POKE&H156,&HFF:POKE&H157,&HFF:POKE&H158,&HFF 30 IF PEEK(&H155)=&HF7 THEN IF Y >. THEN Y=Y-1 40 IF PEEK(&H156)=&HF7 THEN IF Y. THEN X=X-1 60 IF PEEK(&H158)=&HF7 THEN IF X.THEN Y=Y-1 40 IF PEEK(D)=V THEN IF Y.THEN X=X-1 60 IF PEEK(R)=V THEN IF X …

Blogs

Exploring Atari VCS/2600 Adventure – part 3

January 6, 2021 Sub-Etha Software

See also: part 1, part 2, part 3, part 4. and more to come… Defining the invisible When we last left off, I was trying to figure out what all the bits did in the room definition attribute byte: ;Offset 4 : Bits 5-0 : Playfield Control ; Bit 6 …

Sub-Etha Software
Blogs

Benchmarking the CoCo keyboard – part 5

January 4, 2021 Sub-Etha Software

See also: part 1, part 2, part 3, part 4 and part 5 (coming “soon”). By now, many of you have realized that I have no idea what I am doing. It’s through great comments that this series is evolving into something hopefully useful. For example, MC-10 programmer extraordinaire Jim …

Blogs

CoCo MC6847 VDG chip “draw black” challenge

December 31, 2020 Sub-Etha Software

The 1980 Radio Shack Color Computer (and the Color Computer 2 revisions) used a Motorola MC6847 Video Display Generator chip. This video chip was used in a variety of other systems, and one can easily recognize it by its 32×16 text mode characters with the square letter “O”. I recently …

Blogs

Exploring Atari VCS/2600 Adventure – part 2

December 30, 2020 Sub-Etha Software

See also: part 1, part 2, part 3, and more to come… How the rooms are defined In the previous installment, I introduced how the playfields were encoded in the Atari Adventure game. I had converted the assembly data into C code and made a command-line program that would print …