Message-ID: <00cd01c0108d$d5330e20$a7cb9e9d@grzesko> From: =?iso-8859-2?Q?Grzegorz_Pato=B3a?= To: Date: Sun, 27 Aug 2000 18:15:22 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00CA_01C01052.C3D43180" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2417.2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_00CA_01C01052.C3D43180 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hi, I have some problem with interrupt routine. I'm using below functions to = install it: _go32_dpmi_get_protected_mode_interrupt_vector(8, &old_handler) _go32_dpmi_chain_protected_mode_interrupt_vector(8, &new_handler) _go32_dpmi_set_protected_mode_interrupt_vector(8, &old_handler) or __dpmi_set_real_mode_interrupt_vector(8,&new_handler) __dpmi_get_real_mode_interrupt_vector(8,&old_handler) next I change clock tics of system timer outportb(0x43, 0x34); outportb(0x40, time & 0xff); outportb(0x40, time >> 8); =20 and finally I cant get more then 10000 tics per sec. Above this value my = computer hanged up (AMD 350MHz) but under a real mode in BC similar routine can reach sth about 70000.=20 It is possible to increse this value ??? ________________________________________ Grzegorz Pato=B3a email: ivan AT polsl DOT gliwice DOT pl Alternative email: gpatola AT lemon DOT ia DOT polsl DOT gliwice DOT pl ICQ# 1448779 ------=_NextPart_000_00CA_01C01052.C3D43180 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have some problem with interrupt = routine.=20 I'm using below functions to install it:
 
 _go32_dpmi_get_protected_mode_interrupt_vector(8,=20 &old_handler)
 _go32_dpmi_chain_protected_mode_interrupt_vector(8,=20 &new_handler)
 _go32_dpmi_set_protected_mode_interrupt_vector(8,=20 &old_handler)
or
 
__dpmi_set_real_mode_interrupt_vector(8,&new_handler)=
__dpmi_get_real_mode_interrupt_vector(8,&old_handler)=
next I change clock tics of = system=20 timer
 
outportb(0x43, = 0x34);
outportb(0x40, time=20 & 0xff);
outportb(0x40, time >> 8);
 
and finally I cant get more then = 10000 tics=20 per sec. Above this value my computer hanged up (AMD = 350MHz)
but under a real mode in BC = similar routine=20 can reach sth about 70000.
It is possible to increse this = value=20 ???
 
 
________________________________________
Grzegorz = Pato=B3a
email: ivan AT polsl DOT gliwice DOT pl
Altern= ative=20 email: gpatola AT lemon DOT ia DOT polsl.= gliwice.pl
ICQ#=20 1448779
------=_NextPart_000_00CA_01C01052.C3D43180--