[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Steal RAM -- Question
mmphosis wrote:
> The STA instruction on a 6502 will access the memory location twice.
Sorry, but that's wrong. STA ABS performs _one_ write. The common
misapprehension comes from the 6502 instruction used by the Applesoft
or Integer Basic POKE commands: STA (ZP),Y which does strobe twice.
> Or, using a single store instruction, should accomplish the same thing:
> STA $C081 ; LC Card RAM bank2, Read ROM instead of RAM, WR-enable
Nope. Check out Understanding The Apple II, page 5-28.
You'll be surprised how tricky this area really is. ;-)
Cheers,
Nick.