Message-ID: <33D66F49.25D8@lr.net> Date: Wed, 23 Jul 1997 16:53:29 -0400 From: Isaac Waldron Reply-To: waldroni AT lr DOT net Organization: The Computer Nerd MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Thanks and Palette Setting Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk First off, I would like to thank everyone who has helped me with previous problems. I did get my pcx.h file working, and I have one more question. How would I rewrite the following in AT$T asm syntax? void set256Palette(char far *palreg) { asm { push es //save es register mov ah,10h // function 10h mov al,12h //subfuntcion 12h (set pal regs) mov bx,0 // from VGA palette register 0 mov cx,256 // change all 256 registers les dx,palreg // (es:dx) points to our colour regs int 10h pop es //restore es register }; }; Any help is apprecciated, -- -Begin Signature- Isaac Waldron N1YZI http://www.geocities.com/SiliconValley/Lakes/5703/home.html -End Signature-