Long last wanted: XEQ_Auto-Complete finally done
|
07-25-2017, 05:11 PM
Post: #48
|
|||
|
|||
RE: Long last wanted: XEQ_Auto-Complete finally done
(07-25-2017 02:47 PM)Sylvain Cote Wrote: Hello Monte, Examples 1, 2 and 4 are correct. Example 3 is a subset of Example 4, and the two pages at 0x842 and 0x843 will still be loaded, even though they are never referenced by the code at 0x840 and 0x841. Example 5 is partially correct. When using two "*" types everything will work. But if you want to use the "/" type, the second page needs to start at 0x844. The type code tells the PPLUG exactly how the MMU should be programmed, and the order and count is fixed. Recall that each page/bank combination has an MMU entry that must be programmed. Using your example, with starting address 0x840, this is how the MMU registers are programmed: (page/bank) "-" : P1/B1 gets 0x840, P1/B2 gets 0x840, P1/B3 gets 0x840, P1/B4 gets 0x840 "+" : P1/B1 gets 0x840, P1/B2 gets 0x840, P1/B3 gets 0x840, P1/B4 gets 0x840 P2/B1 gets 0x841, P2/B2 gets 0x841, P2/B3 gets 0x841, P2/B4 gets 0x841 "$" : P1/B1 gets 0x840, P1/B2 gets 0x840, P1/B3 gets 0x840, P1/B4 gets 0x840 P2/B1 gets 0x841, P2/B2 gets 0x841, P2/B3 gets 0x841, P2/B4 gets 0x841 P3/B1 gets 0x842, P3/B2 gets 0x842, P3/B3 gets 0x842, P3/B4 gets 0x842 "%" : P1/B1 gets 0x840, P1/B2 gets 0x840, P1/B3 gets 0x840, P1/B4 gets 0x840 P2/B1 gets 0x841, P2/B2 gets 0x841, P2/B3 gets 0x841, P2/B4 gets 0x841 P3/B1 gets 0x842, P3/B2 gets 0x842, P3/B3 gets 0x842, P3/B4 gets 0x842 P4/B1 gets 0x843, P4/B2 gets 0x843, P4/B3 gets 0x843, P4/B4 gets 0x843 "+* : P1/B1 gets 0x840, P1/B2 gets 0x841, P1/B3 gets 0x842, P1/B4 gets 0x843 "/" : P1/B1 gets 0x840, P1/B2 gets 0x841, P1/B3 gets 0x842, P1/B4 gets 0x843 P2/B1 gets 0x844, P2/B2 gets 0x845, P2/B3 gets 0x846, P2/B4 gets 0x847 All of these options work with PPLUG, but only "-" and "*" work with PLUG, because the partial-key code that I use for all prompting functions doesn't handle the other keypresses. Hope this clarifies things. I guess I need to expand the section in the manual. Monte |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)