www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/03/12:01:44

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2363
Path: news-dnh.mv.net!mv!news.sprintlink.net!simtel!oleane!univ-lyon1.fr!dsi.unimi.it!cs.unibo.it!cs.unibo.it!mariotti
From: mariotti AT cs DOT unibo DOT it (Roberto Mariottini)
Newsgroups: comp.os.msdos.djgpp
Subject: Unexpected reboot
Date: 3 Oct 1995 14:25:37 GMT
Organization: Department of Computer Science, University of Bologna, Italy
Lines: 18
Distribution: world
Nntp-Posting-Host: 130.136.1.153
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

My program compiles and runs well under DJGPP v1.12.
Under V2 it works for some second and then reboot the machine.

It intercepts timer & keyboard hardware interrupts, chaining to the old handler.
I locked all functions used by the handlers with the __dpmi_lock_...() functions,
but I'm not sure about how to fill 'address' and 'size' fields of the struct they
need.

What are the right steps to lock functions?
Does anyone know more about this strange reboot?

Thanks,
-- 
         Roberto Mariottini            |          Roberto Mariottini
 studente di Scienze dell'Informazione |        Computer Science student
       Universita` di Bologna          |       Bologna University,  Italy
                        e-mail: mariotti AT cs DOT unibo DOT it
             WWW URL: http://www.cs.unibo.it/~mariotti/index.html

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019