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

Re: 6502 Assembler books



Alistair Ross wrote:

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).

A good source of technical information is the source code for an Apple Emulator. That should tell you all you'll ever need to know about the apple-specific memory locations for everything you need to do. I'd start with the most basic emu you can find (IIRC there's a text-mode one available) and work your way up to MESS.

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.

Say what? I think you have a bit more to learn if you don't understand what PEEK and POKE actually do. Those lists are a *very* relevant reference whether you're programming in basic or assembler. PEEK and POKE are simply BASIC commands that allow you to achieve what would normally be done with a memory read/store in assembler.

Regards,
Mark