delorie.com/archives/browse.cgi | search |
Newsgroups: | comp.os.msdos.djgpp |
From: | manni DOT heumann AT gmx DOT de (Manni Heumann) |
Subject: | Re: GPF with system() and clock int. |
References: | <FG_d5.95$tab DOT 135467008 AT newsb DOT telia DOT net> |
X-Newsreader: | News Xpress 2.01 |
Mime-Version: | 1.0 |
Date: | Sun, 23 Jul 2000 13:06:07 GMT |
NNTP-Posting-Host: | ppp36-211.hrz.uni-bielefeld.de |
Message-ID: | <397aedc6_1@news.uni-bielefeld.de> |
X-Trace: | 23 Jul 2000 15:06:14 +0200, ppp36-211.hrz.uni-bielefeld.de |
Lines: | 22 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi Eric, I am not sure if this is related to the crashes you experience. But aren't you supposed to outportb (0x43, 0x36) before changing the timer's frequency? I.e. before you do that: outportb(0x40,0x00); /* Setting 16x clock tick frequency */ outportb(0x40,0x10); /* ...will trigger the error easily */ or that: outportb(0x40,0x00); /* Reset clock tick frequency */ outportb(0x40,0x00); -- Manni Life would be much easier if I had the source code.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |