Thread overview | |||||
---|---|---|---|---|---|
|
December 22, 2002 Device driver DLLs | ||||
---|---|---|---|---|
| ||||
I just got the CD and still can't believe something like this can run without an installation and half your registry altered. It does thankfully, one day maybe all apps will work this way ..... (come to think of it even ZTC and Zorland used an install for DOS) Anyway on to the question: I'm trying to port some low level stuff using interrupts and direct hardware writes from DOS (originally in ZTC 2/3), I understand to work in NT/2K you have to produce a driver/dll to allow access to the hardware in supervisor mode. I did look into this with VCC++ and it required various SDKs and a lot of time to implement half a dozen outpw statements. Is there an easier way with dmc, can I use the MS SDKs with dmc? Thanks in advance, Paul |
December 23, 2002 Re: Device driver DLLs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul C Elliott | "Paul C Elliott" <paul.elliotts@btinternet.com> wrote in message news:au5e2p$1t34$1@digitaldaemon.com... > I just got the CD and still can't believe something like this can run without an installation and half your registry altered. It does thankfully, > one day maybe all apps will work this way ..... (come to think of it even ZTC and Zorland used an install for DOS) The reason ZTC did it was because in the bad old days when software came on floppy disks, it was all compressed. Doing the unpack and sort into the right directories was a nuisance, so automating that with an install made sense. But these days, everything fits cleanly on a single CD, so no install is necessary. > Anyway on to the question: I'm trying to port some low level stuff using interrupts and direct hardware writes from DOS (originally in ZTC 2/3), I understand to work in NT/2K you have to produce a driver/dll to allow access > to the hardware in supervisor mode. I did look into this with VCC++ and it required various SDKs and a lot of time to implement half a dozen outpw statements. Is there an easier way with dmc, can I use the MS SDKs with dmc? You can probably use MS SDK's, but there will inevitably be one thing or another that needs a little hand adapting. |
December 24, 2002 Re: Device driver DLLs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter, Thanks for the information I'll have a go, probably after the festive season, and let you know how I got on . Paul "Walter" <walter@digitalmars.com> wrote in message news:au6929$2f48$1@digitaldaemon.com... > > "Paul C Elliott" <paul.elliotts@btinternet.com> wrote in message news:au5e2p$1t34$1@digitaldaemon.com... > > I just got the CD and still can't believe something like this can run without an installation and half your registry altered. It does > thankfully, > > one day maybe all apps will work this way ..... (come to think of it even > > ZTC and Zorland used an install for DOS) > > The reason ZTC did it was because in the bad old days when software came on > floppy disks, it was all compressed. Doing the unpack and sort into the right directories was a nuisance, so automating that with an install made sense. > > But these days, everything fits cleanly on a single CD, so no install is necessary. > > > > Anyway on to the question: I'm trying to port some low level stuff using interrupts and direct hardware writes from DOS (originally in ZTC 2/3), I > > understand to work in NT/2K you have to produce a driver/dll to allow > access > > to the hardware in supervisor mode. I did look into this with VCC++ and it > > required various SDKs and a lot of time to implement half a dozen outpw statements. Is there an easier way with dmc, can I use the MS SDKs with > dmc? > > You can probably use MS SDK's, but there will inevitably be one thing or another that needs a little hand adapting. > > |
Copyright © 1999-2021 by the D Language Foundation