Xref: news2.mv.net comp.os.msdos.djgpp:2410 From: Vesa-Matti DOT Heino AT wilder DOT fi (Vesa-Matti Heino) Newsgroups: comp.os.msdos.djgpp Subject: DJGPP v2 and direct memory writing Date: 1 Apr 1996 13:41:48 GMT Organization: Wilderness BBBS (+358-14-454 953) Lines: 13 Message-ID: <4jqo2o$7ud@news.mdata.fi> NNTP-Posting-Host: walrus.megabaud.fi To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I use in my programs direct screen writing routines. When I upgradet to version 2 of djgpp, my programs wont work anymore. GCC compiles them just right, but when I run these files Gcc gives error and register values. What is wrong... Here is one of functions, whitch wont work: char *screen=(char *)0xD0000000; void inline plot(short x,short y,char col){ screen[(y<<8)+(y<<6)+x]=col; } Also my direct textmode routines wont work... :(