Mail Archives: djgpp/1994/03/04/05:36:27
Thanks for the advice, DJ and others!
Unfortunately I still have problems:
dosmemget( 0xD000L * 16 + iline * 1024, 1024, (void *) line );
reads a line from the MFG display memory. This works. ( I read
data put to the memory with a Borland C compiled protram.)
However
dosmemput( (void *) line, 1024, 0xD000L * 16 + iline * 1024);
followed by a dosmemget as above, shows that only every second
byte is set correctly.
Could this be related to "All transfer between host and MFG are
16 bits wide" (from MFG manual)? Maybe what I need is a dosmemput
version which allows for writing 2byte words to the MFG memory?
Thomas
- Raw text -