Date: Sun, 25 Sep 1994 18:25:47 -0400 (EDT) From: Kimberley Burchett Sender: Kimberley Burchett Reply-To: Kimberley Burchett Subject: es:di points to.... To: DJGPP Mailing List 'lo there. I've got to do two things with es:di. First I have to get it to point to a function I want called by a real-mode function, and second I have to get it to point to an array of data. I have a feeling that there will be a different approach for the two problems. I'm thinking I'll need some kind of real-mode function that will call my protected-mode one for the first problem and I'll need a function that allocates lower 640k memory and copies to it for the second one. For both problems, I'll need to figure out how to load es:di with a segment and offset. Also, I need to make sure that the registers will be preserved when my function is called and somehow need to access them - should I use the inline assembler or is there a C function to load the registers into a struct? Thanksalot for any help. Kim