Article View: comp.lang.asm.x86
Article #95Re: Thick
From: TK - TBD
Date: Thu, 11 Mar 1999 00:00
Date: Thu, 11 Mar 1999 00:00
49 lines
2177 bytes
2177 bytes
tunney <bigmacmeal@hotmail.com> wrote in article <7c6u0d$cue$1@winter.news.rcn.net>... > I know that this is a thick question, but could someone explain to me > how to clear the screen in text and video mode, can't for the life of me > figure out how. Please help me I have an exam in this soon. > Also could someone explain int 21h service 0Ah > > Thanks a million. Clearing the screen (TEXTMODE) is easy: mov ax, 3 ; set mode 3, voil� screen is cleared. int 10h ; For less flickering... you could clear it by filling video mem directly, like this: push 0B800h pop es xor ax, ax xor di, di mov cx, 16384 rep stosw For video mode, ask someone else. DOS Fn 0A - get input? Do as the function tells you to, point to a buffer with MAXLEN, CURLEN, string buffer Where MAX/CUR-len are bytes. Example: dosBufThingy DB 10, 0, 10 DUP (?) mov ah, 0Ah mov dx, OFFSET dosBufThingy int 21h The CURLEN will be the number of characters you can "recall", F3?? once you're editing the text. -- Regards, TK - TBD -= feel free to visit my old homepage @ home.c2i.net/tkjoerne =-
Technical Details
Message-ID:
<7c9dr6$as4$1@winter.news.rcn.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7c6u0d$cue$1@winter.news.rcn.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f7d8d,be6aba38dbcf8999 X-Google-Attributes: gidf7d8d,public X-Google-Thread: 10bb54,be6aba38dbcf8999 X-Google-Attributes: gid10bb54,public X-Google-Thread: feaef,be6aba38dbcf8999 X-Google-Attributes: gidfeaef,public X-Google-Thread: 114917,be6aba38dbcf8999 X-Google-Attributes: gid114917,public From: "TK - TBD" <PISS_OFF_SPAMMERS_Thomas_Kjoernes@phoenix.com> Subject: Re: Thick Date: 1999/03/11 Message-ID: <7c9dr6$as4$1@winter.news.rcn.net> X-Deja-AN: 453949768 Approved: <johnfine@erols.com> References: <7c6u0d$cue$1@winter.news.rcn.net> X-Authentication-Warning: backdraft.philabs.research.philips.com: smap set sender to <news@newscene.newscene.com> using -f X-Mozilla-Status: 0801 X-Complaints-To: abuse@rcn.com X-Trace: Tajl7CU5IXitJ3fuCwzJ0Z1HWEMUqNbdf9ZDBuQB4DI= Organization: Newscene Public Access Usenet News Service (http://www.newscene.com/) NNTP-Posting-Date: 11 Mar 1999 21:50:30 GMT Newsgroups: comp.lang.asm.x86,borland.public.tasm,alt.lang.asm,alt.2600