| www.delorie.com/archives/browse.cgi | search |
| Date: | Sun, 28 May 2000 11:01:40 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| 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: | <Pine.SUN.3.91.1000528110118.15881L@is> |
| MIME-Version: | 1.0 |
| 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 |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |