Re: dos functions behave differently under windows XP

From: f0dder (f0dder_spicedham_at_flork.dk)
Date: 06/22/04


Date: Tue, 22 Jun 2004 02:36:35 +0000 (UTC)


>> Flashing is actually possible directly from windows :)
>
> But afaik many do still provide a bootimage with some flavour of DOS,
> esp. since DR DOS 8 is around... hehe... ;-)
> Afaik M$ singed a treaty with Novell some years ago that would prevent
> Novell to release a Novell DOS 8 (has M$ feared this?), now we do have
> some sort of it and M$ can't do anything...hehe!
>
I used to do DOS bootdisk boots for flashing too, but it's rather
bothersome, and there isn't much reason for it. It's perfectly safe
under windows, you don't have to use a slow floppy drive, you can
do with a single reboot rather than win->dos->win, etc. I guess the
reason that many people still boot to dos to do it, is that not all
companies have released windows flashers, and that people are still
paranoid about running this kind of thing from windows.

>> And, well, you can still have as direct hardware access as
>> you want, if you write a kernel mode driver. Direct HW access
>> is rarely a good idea on a pmode OS though...
>>
>>
> Hm, depends. For drivers for the hardware it would be a good idea I
> think, otherwise they won't be able to use their hardware. But okay
> these drivers must comply to the rules of the driver APIs defined.
> Which could mean registeriung of used resources etc.
>
Yes, obviously the driver for a piece of hardware does need some form
of communication with the hardware :) - what I mean, though, is to
play by the rules of your platform, and on windows this means using
the HAL rather than direct port bashing (not too bad, considering the
latency of in/out), and following the driver model.

Oh, and not doing direct hardware access unless necessary. Things like
direct harddrive access, for instance, can be done through the win32
API. COMMs I/O, unless you need hispeed low-latency, can, too.



Relevant Pages

  • Re: Device Driver that uploads its own code?
    ... driver to implement an adaptive timing loop; ... respond/interact with hardware with microsecond precision. ... real-time and linear, the idea of fluctuating state and variable latency ... where the connection to Windows is largely ...
    (microsoft.public.win32.programmer.kernel)
  • RE: After Reboot Get an error message "Seriours Error" Help Please
    ... have not added any hardware to my HP Pavilion a450n system or software. ... OCA either reports a failure in a device driver or video card. ... drivers are up to date and Windows certified. ... For additional details see the link to error code ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: unmountable boot volume blue screen error
    ... It's always hard to narrow down a boot failure. ... intelppm.sys -Processor Device driver. ... purpose but I suspect disconnecting hardware is not a solution. ... screen) but it just keeps going to the windows screen telling you ...
    (microsoft.public.windowsxp.general)
  • Re: Hardware ansprechen
    ... Bei den ersten Rechnern war das Betriebssystem verdratet in der Hardware ... DOS system. ... Wenn du aus MSdos + Windows 3.1 ein einziges programm ...
    (microsoft.public.de.vc)
  • RE: After Reboot Get an error message "Seriours Error" Help Please
    ... What are the Windows error codes? ... device drivers or incompatible hardware. ... Driver Verifier to Troubleshoot Device Drivers in Windows 2000 may help." ... For additional details see the link to error code ...
    (microsoft.public.windowsxp.help_and_support)