Re: Writing directly from a program to Hepax memory Message #4 Posted by Doug Wilder on 3 Nov 2006, 1:17 a.m., in response to message #3 by Geir Isene
Geir,
Being new to mcode, one could write the code to a function within some ram block that has a function that is never used. Simply put the code at the entry to a function that one does not need, there must be some of these type functions. One would not even need to rename the function, although it is not hard to do.
Alternately, one could "define" a "development" block for your mcode, this is probably prefered to learn about mcode. Find a copy of "Mcode for Beginners" or study the old PPC journals. Also you may want to download the "-DISASM- 4C" rom from TOS which I just posted a few days ago, it has a basic ramrom editor and several functions of use for mcoding. Also an annotated listing of itself which may help to understand mcode.
No, there isn't any room at 4xxx unless you place a ram block there. In fact, the HPIL printer rom resides there when turned off and the diagnostic rom resides there when installed.
Best
Edited: 3 Nov 2006, 1:24 a.m.
|