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

Memory filling puzzle (was Re: JPEG viewer?)



In article <CwrMBs.CvL@IRO.UMontreal.CA>,
Paul Guertin <guertinp@IRO.UMontreal.CA> wrote:
> 
> ObAppleII: OK, here's a puzzle for you die-hard 6502 fans. You have
> a 48k Apple ][ Plus with a 6502 processor and all slots empty. Your 
> goal is to write a program that will fill the whole RAM space ($0000
> through $BFFF) with the same value (of your choice). You must not call
> any routine in ROM. Your program must use only documented opcodes.
> Good luck.

Only one question: does it matter if the program hits the I/O space
and then starts behaving unpredictably?  If not, then it is easy.  If
it does matter, then I have some more thinking to do.

:-)
-- 
David Empson
dempson@actrix.gen.nz
Snail mail: P.O. Box 27-103, Wellington, New Zealand