Date: Wed, 13 Oct 93 12:22:08 -0400 From: DJ Delorie To: HLI AT trisse DOT hj DOT se Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Interrupt and real adress > I still would like to get real world interrupt like mouse and keyboard > or timer, How can I do it ? Wait for 1.11. It has a generic 32<->16 interface based on the DPMI spec that allows this kind of thing. > I sometimes read in source comming with GCC that the file Must be > compiled with TC but there is a define that says : FOR_GO32. > Can anyone explain this. The source file is designed to operate in multiple environments. If you are building go32.exe, you define that symbol so that it knows to connect to go32's mechanisms. If you are using it in a different program, don't define that symbol. > if I have to give to an interrupt the segment and offset of a piece of > data How can I do it ? I know this sounds a bit the same but I am > struggling with EventQ (good but that's not exactly what I need) Again, wait for 1.11. > Is es (the segment) allway equal to ds ? (I know this is the forth > question) No. Normally they are, and you can normally assume they are, but some libc.a functions temporarily change ds and/or es.