From: boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au (Gregary J Boyles) Newsgroups: comp.os.msdos.djgpp Subject: Real mode ISR's Date: 27 Jan 1997 14:21:35 GMT Organization: Comp.Sci & Comp.Eng, La Trobe Uni, Australia Lines: 20 Distribution: world Message-ID: <5cidlf$d9m@lion.cs.latrobe.edu.au> NNTP-Posting-Host: lion.cs.latrobe.edu.au To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I have read the appropriate FAQ etc but am still unsure. The example key board isr is not all that clear because I'm not intimately familiar with assembly language (definitely not with that style of assembly language). Do I need the go32 wrappers when writing a real mode isr? If not do I need to add the entry and exit code for the isr as well as my specific code? How do you place code in a memory block(allocated with __dpmi_allocate_dos_memory(...)) with dosmemput(...). Do you do so by writing the function and then setting up a pointer to it and passing the pointer to dosmemput(...)? If so how do you know how much memory to allocate with __dpmi_allocate_dos_memory(...)? sizeof ISRFunction(...)?