[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 6502 Assembler books



Michael J. Mahon wrote:
Charles Richmond wrote:


I have _ 6502 Assembly Language Subroutines_ and I think it sucks...


I agree.

Many "library"-type books for specific processors seem to be
hack translations of libraries originally written for another
processor.

Generic libraries must assume some canonical method of
passing parameters, which generally is a crock.

Further, the specific programming tricks for a certain machine
are often completely neglected--exactly the kinds of things that
any budding assembly language programmer needs to become
familiar with.

As soon as you have your "sea legs" with a particular processor,
you should try to find some well-written code for it that will teach
you some ways to organize data and write good code.

For the 6502, the Apple II monitor is quite instructive to read.

The Applesoft interpreter is very uneven, with some clever code but lots of silly code. It has the look of something done
by a committee.  ;-(  But even in that case, the _bugs_ are
interesting!  ;-)

-michael

Thanks for all your help on this one guys,

I downloaded the S-C Macro Assembler and I'm having good success so far, after reading through most of the manual.

I've downloaded various other assembly tutorials and skimmed over them, but what I appear to be lacking is the actual Apple hooks - the locations in memory that I should be using to get the speaker to operate, or text to appear on the screen, for graphics to be used etc. I can't seem to find anything that says - these are the addresses of the hooks (and even better, this is how you would use them).

Anybody know where Apple II hooks are listed? I've found a few lists of what look like hooks but they are all for PEEK and POKE, so not much use to me in an assembler.

In the meantime, if I don't hear from any of you before the time, have a great holiday season whatever your culture/religious stance is.

Thanks in advance,


Alistair Ross
20-NOV-2004