Question about SWCHB

Subject: Question about SWCHB
From: debrodennis@xxxxxxxxxxx
Date: Thu, 08 Jul 2004 17:19:14 +0000

Hi there,

In the Stella Programming Guide it states that this register is hardwired to be input only. If that's so then why would they have the SWBCNT register?

I'm looking at Air-Sea Battle and after the game power up Larry sets (or tries to set) D4 of SWCHB as output.

Later in the code you'll see...

LF175: LDA    $97     ;3
       STA    SWCHB   ;4

Does this give him an extra bit for RAM or something?

Take care,


Current Thread