Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!pacbell!sactoh0!tree!guest From: guest@tree.UUCP (gray mouser) Newsgroups: comp.sys.apple Subject: Data Segment blues Message-ID: <355@tree.UUCP> Date: 4 Sep 89 02:10:20 GMT Distribution: na Organization: TREE BBS (916)-349-0385 Sacramento, Ca Lines: 11 Does anyone here have any ideas on making sure a data segment is in 1 bank and 1 bank only? I just can't figure out a way, except to manually make it upon program bootup. I have a "global" segment which is accessed all the time, about 40k, so obviously I can't do a "phk/plb". I'd like to do a "lda #^global_vars / pha / plb" but the problem is that the global_vars segment (which is in its own loadseg) wraps around banks and therefore parts of it aren't in the bank the B reg will point to. I'm really stuck, I can't find any directives, anything in the kind field, that will MAKE a data load segment be in one bank. Ack.