TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: lyricalnanoha
date: 2008-12-25 05:30:32
subject: Re: Coding for IIgs 2 - working on screen memory

On Thu, 25 Dec 2008, Charlie wrote:

> I've never done it that way but it looks like it should work.  Since it
> doesn't I would have to look at the bit opcode.  Somewhere in the back of my
> mind I think $C005 requires a write (someone else jump in if I'm wrong).
>
> Another remote possibility:  Are you in emulation mode (65816 emulation bit
> set)?  If not and the data bank register is set to $00 maybe that over-rides
> the $C005 softswitch.  Again my memory cells aren't what they used to be and
> I might be way off base.

I never exit 65C02 mode.  I entered the code with a CALL from BASIC and 
that's all pure 6502 (not even 'C02).

BIT does a read access, but nothing goes into any of the registers, I've 
seen BIT $C010 used a lot.

-uso.
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.