home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!agate!dog.ee.lbl.gov!network.ucsd.edu!munnari.oz.au!goanna!escargot!monu6!giaeb!s1110238
- From: s1110238@giaeb.cc.monash.edu.au (Lee Hollingworth)
- Newsgroups: comp.lang.c
- Subject: Re: Inline ASM in Quick C/ MS C 5.1
- Message-ID: <s1110238.724922103@giaeb>
- Date: 21 Dec 92 07:15:03 GMT
- References: <yR5XVB4w165w@blackwlf.gwinnett.com>
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: Monash University, Melb., Australia.
- Lines: 34
-
- ericwebb@blackwlf.gwinnett.com (eric webb) writes:
-
- >Hi... Does anyone know if one can do inline ASM in Quick C? How does
- >one do it? I have version 1.01, but tell me about it even if it's for a
- >different version.. Can you do it with MS C 5.1? I also have a copy of
- >it, and if neccessary to do inline ASM, can use it.
- >
- >Tks!!!
-
- >Eric Webb
-
- Wrong newsgroup Eric...
-
- Not sure what version it was introduced (I know it works with QC2.0+ and
- MSC6.0+)..
-
- /*
- * clear a 25 rows * 80 col display
- */
- void clearscr(void) {
- {
- _asm {
- mov ah, 06h
- xor al, al
- mov bh, 07h
- xor cx, cx
- mov dh, 79
- mov dl, 24
- int 10h
- }
- }
-
- Lee Hollingworth
- s1110238@giaeb.cc.monash.edu.au
-