Article View: comp.os.os2.programmer
Article #195link386 warnings and device driver probs.
From: hamish
Date: Sat, 01 Aug 1992 09:58
Date: Sat, 01 Aug 1992 09:58
35 lines
2099 bytes
2099 bytes
I have a problem with generating a device driver using link386. Basically the damn thing has started telling me that the program has no starting address ie LINK386 : warning L4038: program has no starting address I know its only a warning but it obviously means something else is wrong. But what? Can anyone help? I started with the sample code in the toolkit for pdd.sys and chopped some stuff out, added a few DosWrites and now it does this. So long as I don't actually try to do anything, it actually runs, but I can't do anything else or it dies... (GPI (0x0d) when callig DosDevIOCtl etc..). Its starting to really get to me. Oh yeah. I'm using MASM 5.1, should I be calling the DOS routines with OS/2 1.2 parameters, or OS/2 2.0 parameters? I'm using the @DosDevIOCtl macro from the includes.... Or Whats a better assembler to use for creating device drivers? I need to write an interface module for an ODI protocol stack. TIA.. -- ============================================================================== | Hamish Marson <h.marson@waikato.ac.nz> OS/2 | | Programmer (n/5), School of Computing and Mathematical Sciences | | University of Waikato, | | Hamilton, New Zealand. | |Disclaimer: Anything said in this message is the personal opinion of the | | finger hitting the keyboard & doesn't represent my employers | | opinion in any way. (ie we probably don't agree) | ============================================================================== Q. If Nuclear Tests are so safe, why don't the French do them under Paris?
Technical Details
Message-ID:
<1992Aug1.215813.9784@waikato.ac.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!waikato.ac.nz!hamishShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!waikato.ac.nz!hamish From: hamish@waikato.ac.nz Newsgroups: comp.os.os2.programmer Subject: link386 warnings and device driver probs. Message-ID: <1992Aug1.215813.9784@waikato.ac.nz> Date: 1 Aug 92 21:58:13 +1200 Organization: University of Waikato, Hamilton, New Zealand Lines: 35