Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple Subject: Re: Really small question Message-ID: <37063@apple.Apple.COM> Date: 7 Dec 89 01:20:12 GMT References: Organization: Apple Computer Inc, Cupertino, CA Lines: 28 In article gt0t+@andrew.cmu.edu (Gregory Ross Thompson) writes: >I'm working on a small ML program that does some SHR stuff in bank $00, >just to prep the screen, and stuff like that. I need to move all this >stuff into bank $E1 (obviously). Will the move routine at $FE20 move >memory across banks? > >Also, is there an easy way to store with STA into bank E1? $FE20 is not a supported entry point into ROM (see the GS Firmware Reference, page 250). $FE2C is, but it will not move memory across banks. I recommend the BlockMove toolbox call, documented in the Memory Manager chapter of TB Reference, Volume 1. The $8F opcode is STA $aabbcc; you can store anywhere in addressable memory with that. You should be sure to allocate the super-hires screen using the memory manager (NewHandle) before storing to it (or start up QuickDraw, which allocates it for you). -- --David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II Developer Technical Support | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.