delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/07/11:17:39

To: babcock AT cfa DOT harvard DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: how do I get version in djgcc?
Date: Thu, 7 Jul 1994 08:03:46 PDT
From: "Marty Leisner" <leisner AT sdsp DOT mc DOT xerox DOT com>

In message <9407071452 DOT AA26530 AT cfa0 DOT harvard DOT edu DOT HARVARD DOT EDU>you write:
>> int get_version(int *major, int *minor)
>> { 	
>> 	union REGS regs;
>> 
>> 	regs.h.ah = 0x31;
>> 	regs.h.al = 0x6;
>> 	intdos(&regs, &regs);
>
>0x31 is the TSR interrupt call, not surprisingly unsupported by GO32.  Don't
>you want 0x30?

Yep, thanx...

never mind...

I had 3 copies of the documentation in front of me and didn't see the 0x31-0x30
problem...

marty

- Raw text -


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