Date: Sun, 28 May 2000 11:01:40 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: MASM coff images In-Reply-To: <047b193f.5a9c24f0@usw-ex0101-006.remarq.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 27 May 2000, Dogansmoobs wrote: > PUBLIC _setVga ;I have tried this with and without the undescore > _setVga PROC C > mov ah, 0 > mov al, 13 > int 10 > ret > _setVga ENDP > > PUBLIC _setText > _setText PROC C > mov ah, 0 > mov al, 3 > int 10 > ret > _setText ENDP > > END These functions need not be written in assembly at all, just use int86 or __dpmi_int library functions to call these interrupts from C code. See section 17.8 of the FAQ for a very similar example.