From: "xIGOO" Newsgroups: comp.os.msdos.djgpp Subject: Video memory access speed!! Date: Wed, 6 Aug 1997 20:27:57 +0200 Organization: PRIVATE Lines: 37 Message-ID: <870892301.578946@mn8> NNTP-Posting-Host: mn8.swip.net Cache-Post-Path: mn8!s-71094 AT dialup145-7-8 DOT swipnet DOT se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello, which is the fastest way to access video memory in DJGPP? I have tried these two ways: 1. void set_video_mode(int mode) { union REGS regs; regs.x.ax = mode; int86(0x10, ®s, ®s); } 2. void set_video_mode(int mode) { __dpmi_regs regs; regs.x.ax = mode; __dpmi_int(0x10, ®s); } Which of these two is the fastest way to access video memory, or is there a faster way? Please e-mail me if you have any idea (or comments!). thanx, // Jakob -- ======================================== E-mail: jan-erik DOT henriksson AT mailbox DOT swipnet DOT se