🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50954

DJGPP and Bios call : passing pointers to BIOS routines

#50954
From: Chiraprakash Nayak
Date: Mon, 12 Jul 1993 22:03
12 lines
1042 bytes
Hi;

I am trying to use a BIOS routine INT 15 function 83 : Set event wait
interval from djgpp. How do I fool the bios routine to use my pointer
correctly (ES:BX is supposed to point to a byte )? Following the code in
gcrt0.s and dosmem.s, I end up with segmentation violation/pagefault.
I am using DJGPP 1.10 (gcc/g++/goc 2.4.1).

Thanks a lot for your help.

--Chip
(cnayak@bcm.tmc.edu)
Technical Details
Message-ID: <21sn3c$brt@gazette.bcm.tmc.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!bcm!bcm.tmc.edu!cnayak

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,311d96097c60fa27,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-14 20:30:49 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!bcm!bcm.tmc.edu!cnayak
From: cnayak@bcm.tmc.edu (Chiraprakash Nayak)
Newsgroups: gnu.gcc.help
Subject: DJGPP and Bios call : passing pointers to BIOS routines
Date: 12 Jul 1993 22:03:24 GMT
Organization: Baylor College of Medicine, Houston, Tx
Lines: 13
Message-ID: <21sn3c$brt@gazette.bcm.tmc.edu>
NNTP-Posting-Host: bcm.tmc.edu
Keywords: DJGPP MSDOS BIOS Set Event Wait Interval (INT15/83)