delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/08/13:53:00

Message-Id: <m0wwnTU-000S1mC@inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: dace AT mackay DOT net DOT au (Ian McArdle), djgpp AT delorie DOT com
Date: Fri, 8 Aug 1997 15:07:19 +0000
MIME-Version: 1.0
Subject: Re: Converting old routines - Goddamn it all to hell!!!!!!!!!!

Ian McArdle wrote:

> How in gods name do I convert the following functions into DJGPP???
> 
> Bloody Hell
> 
> _fmemcpy??????
memcpy !!!!

> _fmemset???????
memset !!!!

> memicmp??????
Rewrite it is:
 memicmp compares the first n bytes of the blocks s1 and s2, ignoring
 character case (upper or lower).

> segread??????
Don't know, see the "dos functions" section of the libc.inf help.

> _dos_getvect
> _dos__setvect
Read the FAQ that isn't so simple because I'm sure it involves much more.
 
> Yes Ive read the lousy faq. I say lousy because I have never read such
> a poor attempt at a Faq before in my life. 
Uh! are you joking?

> Faqs are supposed to be a
> guideline into the most frequently asked questions on the topic. Not
> some setup outline of where you are going wrong. I want to know how
> other people problems were solved. Thats what they are designed for. I
> mean, lets take setvect for example. 
> 
> Hi my names ian I want to know how to port setvect.
> 
>  Hi Ian this is the faq um your going to be wanting to use a new
> memory routine and interrupt handler.
> 
> Yes but how.
> 
> I dont know this is a faq. Go somewhere else with your problems.
> 
> HEAP OF CRAP
> 
> Anyway, now that Ive got that out of me, can someone please help me. I
> really need to be able to do this. 

Count down man. From the things you are asking I guess you are trying to hook 
an interrupt, DJGPP is a pmode compiler and you will find some problem if you 
try to make it with the same concepts you have from real mode.
Now read the FAQ to know more about djgpp and get some example on how to hook 
interrupts. You can find a lot of links to things about this topic in my home 
page. But be patient what you want to do isn't so simple. I did it without even 
looking the FAQ or asked to somebody one year ago, so isn't so hard to figure 
out.
Are you using RHIDE? if yes take a look to the help about libc in the Help 
menu. Look in the dpmi functions, you'll find the replacements for set/getvect. 
They aren't direct replacements.

Good luck, SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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