Re: [cc65] NES Tutorial

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-05-09 15:31:20


Hi!

On Thu, May 09, 2002 at 08:40:18AM -0400, Keates, Mark wrote:
> Whilst its quiet... I guess we're all busy ;-)

At least for me, this is true:-)

> Would someone like to have a go at tidying
> the source code up a little bit for me before I
> commit it back to Michael Martin, the original author?

I don't know the NES, so I'm probably of not much help. Can you repost the URL
of the NES tutorial? 

BTW: What do the references to P65 mean in tutorprg.s? Is this another
assembler?

> I think there's some redundancy (STACK?) in the
> config file, along with indecision over whether to
> use BSS or DATA for the sprite ram. I assumed
> data as there's no BSS init code (only indirectly).

Since the program is an assembler program anyway, there is no real difference
between BSS and DATA, so you may also remove BSS completely and place any data
into DATA. You may also remove the STACK segment, since it is not used.
Additionally, some segments and memory areas use the "define = yes" statement,
which means that the linker defines symbols for start, end and size. As far as
I can tell, none of these symbols are actually used, so the "define = yes"
statements can be removed.

> Things maybe done better in the makefile too.

IMHO the makefile looks good, maybe with the exception of the hardcoded paths
to the executables.

Regards


        Uz


--
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-05-09 15:31:22 CEST