From: Kanaya Newsgroups: comp.os.msdos.djgpp Subject: [Q] __dpmi_regs Date: Thu, 19 Mar 1998 16:18:25 +0900 Organization: NTT Open Computer Network Lines: 47 Message-ID: <3510C6C1.D4FA68B3@mediavision.co.jp> NNTP-Posting-Host: 210.160.144.28 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello,I am a japanese,from Tokyo. Sorry,my English skills a very very cheap. Today,I asked question. I use "DJGPP 2.8.0". I hope to print string to display(by ROM Video Bios Service). It function defined... //------------------------- AH=0x13 AL=0x00 BH=(vram page) BL=(character attribute) CX=(string length) DH=(y) DL=(x) ES:BP=(point to data head) //------------------------- I write function... //------------------------- void PutStr(unsigned char x,unsigned char y,unsigned char *str,unsigned char atr) { short len; __dpmi_regs regs; len = strlen(str); regs.x.ax = 0x1300; regs.h.bh = 0; regs.h.bl = atr; regs.x.cx = len; regs.h.dh = y; regs.h.dl = x; regs.x.bp = (unsigned long)str; // <-- This line right?or mistake? __dpmi_int(0x10,®s); } //------------------------- How to set to "__dpmi_regs's member"?please. -- k-ya