Subject: Re: [stella] EQU and DS From: Glenn Saunders <krishna@xxxxxxxxxxxx> Date: Thu, 17 Oct 1996 18:20:32 +0500 |
On 17-Oct-96, Rufbo@xxxxxxx wrote: >Can somebody tell me exactly what is going on in all the >VSync EQU $00 >VBlank EQU $01 >etc etc etc Equates are part of what makes assembler understandable (macros being the rest). Equates simply replace strings. Every occurance of VSync will be replaced with $00 at assembly time. That way you don't have to memorize special memory locations, you only need a standardized list of equate names for all those special registers, and refer to them. Every program for the VCS would have the same equates in the header, so you never have to actually KNOW that Vsync is at location $00. And when you read assembly source, you will better understand what is going on if you see the equate. >PS Anybody know what happen to COMPUTE! ? It went PC and dropped the type-in programs and since by then it was just an "also ran" in a glut of PC mags, it couldn't compete. -- Glenn Saunders - http://www.geocities.com/Hollywood/1698
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[stella] EQU and DS, Rufbo | Thread | [stella] EQU and DS, Jim Nitchals |
[stella] EQU and DS, Rufbo | Date | [stella] EQU and DS, Jim Nitchals |
Month |