Article View: es.comp.os.linux.programacion
Article #16233Re: Retardo en juego
From: batsman
Date: Fri, 28 Apr 2000 00:00
Date: Fri, 28 Apr 2000 00:00
51 lines
2855 bytes
2855 bytes
-----BEGIN PGP SIGNED MESSAGE-----
>> Qui�n: EstEl
>> Cu�ndo: Thu, 27 Apr 2000 18:15:57 +0200
>> D�nde: es.comp.os.linux.programacion
>> Por qu�: �Y yo qu� s�!
>A ver si puedo decir algo a Jose Luis Trivino......
>>1. Utilizar un bucle while en el que usas como condicion de
>>salida que haya pasado un tiempo determinado. Este tiempo lo
>>calculas al principio del bucle mediante una llamada a la
>>funcion time. El problema es que la resolucion de esta
>>funcion es en segundo -> No hay retardos menores de 1 seg.
>>Ignoro si hay alguna funcion que de mayor resolucion
>
>Mmm...... creo que la rutina de bios 1Ah de servicios de temporizacion pilla
>centesimas pero no estoy seguro. Si en el lenguje no hay ninguna funcion que
>haga eso..... ensamblador.
�BIOS? �Se puede usar esa guarrada en Linux? Creo que no ;-)
La BIOS est� dise�ada para ejecutarse en modo real, no en protegido que es lo
nativo en Linux.
De todas formas tampoco hagas mucho caso a lo que digo porque hace mucho que
abandon� esas tonter�as de programaci�n DOS...
- --
_ _
| |__ __ _| |_ ___ _ __ ___ __ _ _ __
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
Real email: batsman dot geo at yahoo dot com
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: Public key via email: send mail with Subject: [PGPKEY]
iQEVAwUBOQnMSL0Y27yr0iefAQFwjwf/Vczr+BIfUREX7vXkBWCbEDgHRFpRfZEY
8nbKQo8pJ/OIMOKHx2AFY8I2P1Uy9KEENzxj8xHTipJO6lOSae3gRBg3zPur6JiX
DMEpAqUG3jllrwnyeR7sdTnMiWzWDwuuPqppj0VjyaZOnsLvNqYyr+fsKF5UgwvL
nZdGkQ5lwy40dsQFQbfmXJNhQ7YXvqSYLNwUSlyltVzTj4IUNC9yFhd/XDd+kFut
tO8FYzAH0xX4XOt6u7HZ84L/DiK6u1mWvmsQKejszeYAqqStkhOyPsWwiqmmm+TH
Hx5hRa2eH+uL+ZcngwtgISrSuiCaARcIrJVyaq2sUYGJRkCHTuoRrQ==
=va4W
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<c8ice8.b8.ln@simpsons4ever>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8e4sen$4n3$1@talia.mad.ttd.net> <3906FE47.6CB90517@lcc.uma.es> <t3p9e8.dg.ln@debian>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,38f52171fe384988 X-Google-Attributes: gidf86c8,public From: batsman@simpsons.for.ever (batsman) Subject: Re: Retardo en juego Date: 2000/04/28 Message-ID: <c8ice8.b8.ln@simpsons4ever> X-Deja-AN: 616844598 Content-Transfer-Encoding: 8bit References: <8e4sen$4n3$1@talia.mad.ttd.net> <3906FE47.6CB90517@lcc.uma.es> <t3p9e8.dg.ln@debian> Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: abuse@news.wanadoo.es X-Trace: m2newsread.uni2.es 956940347 62.36.7.118 (Fri, 28 Apr 2000 18:45:47 MET DST) Organization: Wanadoo Usenet News - Visita http://www.wanadoo.es/ Mime-Version: 1.0 User-Agent: slrn/0.9.5.3 (UNIX) Reply-To: see_signature-mira_firma NNTP-Posting-Date: Fri, 28 Apr 2000 18:45:47 MET DST Newsgroups: es.comp.os.linux.programacion