From: aleksi AT kalliot DOT pp DOT fi (Aleksi Kallio) Newsgroups: comp.os.msdos.djgpp Subject: Problems with inline-asm Date: Sat, 30 Nov 1996 11:39:12 GMT Lines: 23 Message-ID: <32a01a81.989473@news.eunet.fi> NNTP-Posting-Host: kalliot.pp.fi To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I wrote this program: (and tried to compile it with DJGPP v2) void main() { asm mov ax,0x0013; asm int 10h; char *screen=0xa0000; screen[13]=3; asm mov ax,0x03; asm int 10h; } I think there are two problems with this simple program: 1. Someone said said that DJGPP doesn't suppert normal inline-assembler. 2. There is something wrong with screen[13]=3; line too. But I can't imagine what. So, does someone have any good solutions?