[stella] About Stella's debugger asm
seagtgruff at aol.com
seagtgruff at aol.com
Mon May 5 20:09:20 CDT 2008
I was using $01 as a general?example, without regard to what that zero-page address might be used for on the Atari 2600 or any other console/computer. Also, the names I was using for the examples were (I hoped) clearly not meant to be taken?as literal examples of names that might be used in?actual Atari 2600 programs-- that's why I used silly, pointless names like "Read_Address_$01." ;)
Michael
-----Original Message-----
From: Manuel Rotschkar <cybergoth at arcor.de>
To: Atari 2600 programming list <stella at atari2600.org>
Sent: Mon, 5 May 2008 2:41 am
Subject: Re: [stella] About Stella's debugger asm
Hi there!
> Read_Address_$01 = $01
> Write_Address_$01 = $01
>
> So if you're disassembling some code that is writing to address $01, use
> Write_Address_$01. If the code is reading from address $01, use
> Read_Address_$01.
No. That should be writing to VBLANK and reading from CXM1P within Stella,
no matter what funny names the programmer might give them in his code.
Stella should always give the proper names, even if for no other reason
than to encourage programmers to not change those names and use vcs.h as
is. I would actually go so far and refuse to read a source code that is
purposely obfuscating register names.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://atari2600.org/pipermail/stella/attachments/20080505/5f97c6cb/attachment.html
More information about the Stella
mailing list