Aitor Santamaría wrote:

> The code you wrote does, but this does not:

I already knew. ;-)

What's wrong with the following (except more typing):
***
#include <i86.h>

char far *myvar;

void main()
{
    myvar = MK_FP(0x40, 0x55);
}
***

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to