Via: uk.ac.hull; Tue, 14 Dec 1993 14:26:39 +0000 Subject: Timers mainly.. To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Tue, 14 Dec 93 14:27:25 GMT From: "D.R.Smith" Hi, Does anyone out there know of a decent hi-res ( sub millisecond ) timer package that will work with g++. I have a really good Borland compatible one (Zen Timer Library) but I have had no luck porting the assembler part- I get loads of segmentation violation errors , due ,I'm sure, to a fatal misunderstanding on my part. Secondly, what is the status and future for exception handlers with 'throw', 'catch' et al in djgpp. Compiling progs with these features just tells me that they are reserved words and gives parse errors. Is there any chance of their inclusion in the near future. Thanx Dave Smith, a tired English Robotics researcher. rom djgpp-bounces Tue Dec 14 11:11:30 1993 Received: by sun.soe.clarkson.edu (4.1/SMI-4.1) id AA07254; Tue, 14 Dec 93 10:51:13 EST Return-Path: Received: from perseus.orl.mmc.com by sun.soe.clarkson.edu (4.1/SMI-4.1) id AA07244; Tue, 14 Dec 93 10:51:02 EST Received: from localhost.orl.mmc.com by perseus.orl.mmc.com with SMTP id AA03756 (5.65c/IDA-1.4.4 for djgpp AT sun DOT soe DOT clarkson DOT edu); Tue, 14 Dec 1993 10:48:53 -0500 Message-Id: <199312141548 DOT AA03756 AT perseus DOT orl DOT mmc DOT com> To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: help with a DPMI request Date: Tue, 14 Dec 1993 10:48:52 -0500 From: Jim Crigler A couple of weeks ago I asked for help with the code fragment that follows. DJ replied that I should wait for 1.11 (which I did with breath abated). Now the problem is that I don't know how to translate this function (from Paul G. Fox's wonderful `vile' text editor) into a call that simulates the real mode interrupt. The thing I tried last night failed miserably. (I don't have access to DPMI specs...) Thanks for any help. Jim Crigler jcrigler AT perseus DOT orl DOT mmc DOT com --------------------------------------------------------------------------- static int get_vga_bios_info(dynamic_VGA_info *buffer) { struct SREGS segs; rg.h.ah = 0x1b; rg.x._BX_ = 0; segs.es = FP_SEG(buffer); rg.x._DI_ = FP_OFF(buffer); INTX86X(0x10, &rg, &rg, &segs); /* Get VGA-BFrom djgpp-bounces Thu Dec 16 04:08:59 1993 Received: by sun.soe.clarkson.edu (4.1/SMI-4.1) id AA05286; Thu, 16 Dec 93 03:47:07 EST Return-Path: <@TWNMOE10.Edu.TW:u7711501 AT bicmos DOT ee DOT nctu DOT edu DOT tw> Received: from TWNMOE10.Edu.TW by sun.soe.clarkson.edu (4.1/SMI-4.1) id AA05282; Thu, 16 Dec 93 03:46:50 EST Message-Id: <9312160846 DOT AA05282 AT sun DOT soe DOT clarkson DOT edu> Received: from NCTU.edu.tw by TWNMOE10.Edu.TW (IBM VM SMTP V2R2) with TCP; Thu, 16 Dec 93 16:45:06 EST Received: by bicmos.ee.nctu.edu.tw (16.7/16.2) id AA16276; Thu, 16 Dec 93 16:42:46 +0800 From: Jih-Shin Ho Subject: 387 underflow ! To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) Date: Thu, 16 Dec 93 16:42:45 EAT X-Mailer: ELM [version 2.3 PL11] Hi: Does anyone know why emu387 generates the "387 Underflow !" message ? The emu387 is from 1.10 package. -- Jih-Shin Ho