Hi, one more quest to the MCODE gurus out there (related to my other post)
If I know the name of a file in X-Memory, is there a good entry point I can use to get its starting address? (without disturbing Alpha and the stack if possible)
Basically, I'm looking for the routine that must be used in all the SEEKPTA, RCLPTA, etc functions which take the file from the Alpha register and then first find it to make it the working file and then do some other stuff.
I only need the part which finds the file and gives me the address of the first register. Ideally I can have the name loaded into C or B or whatever, so that I don't have to write it into Alpha, deleting it in the process etc...
[with regards to my other post - I then could have my ConInit function create a very special file in X-Memory (e.g. with a file name that can not be typed, say FF-C-O-N-S-T-FF) and the requisite absolute address (and any other info I need) in the next reg(s))]
But this requires to find a file in X-Memory and I don't want to have to write this myself (moving from pointer to header register file by file, etc) as the OS must have this in a much better form I could ever come up with.
Unfortunately I don't know any literature that writes about the VASM from the X/F module and where such a routine might be found.
But my hope is that some of you might know and can help me out...
Cheers
Peter