Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Has anyone here written drivers for 9x ?

- - - - -

  • Please log in to reply
14 replies to this topic

#1
TmEE

TmEE

    Mega Drive Modding Master

  • Member
  • PipPipPip
  • 363 posts
  • Joined 17-September 08
  • OS:98SE
  • Country: Country Flag

I have been gathering info and required software for potential creation of drivers for 98SE. I was wondering if anyone here has actually done anything themselves ? I would love to hear about the experiences ! 

 

I am not new to hardware or software (doing that stuff for living but not for PCs), for now it all seems pretty overwhelming - a lot of material to go through which will undoubtedly lead to endless crashes and other problems hahaha. Lot of info the DDK refers to is gone and it all makes things lot harder too. All that is solid are various books that are referenced to in one doc in the package.

 

There's 2 options - WDM and VxD. It seems WDM has no special stuff hidden in the driver executables, and you can write the driver purely in a high level language (maybe not the case, I am still reading the docs) but there's endless requirements and abstractions...

VxD seems to be simpler, but structures seem more confusing and seems there's need for bunch of assembly functions to get anywhere. I am not new to assembly, but I detest x86, stuff like 68K are infinitely better :P

VxD would also work on all of the 9x line and is higher performance due to less abstraction. I like to feel the hardware in my software hehe


Posted Image Mida sa loed ? Nagunii aru ei saa ;)


How to remove advertisement from MSFN

#2
rloew

rloew

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,109 posts
  • Joined 30-May 05
  • OS:98SE
  • Country: Country Flag
I have written a Mass Storage Driver for USB. It is a WDM Driver based on the UMSS Sample. I have been trying to adapt it for Windows 95.
I have written a number of VXDs as well, but they are not Drivers. These include my Multicore, 64-Bit RAM, WDMEX and Logging VXDs.
Ye who enter my domain. Beware! Lest you become educated in the mysteries of the universe and suffer forever from the desire to know more.

#3
TmEE

TmEE

    Mega Drive Modding Master

  • Member
  • PipPipPip
  • 363 posts
  • Joined 17-September 08
  • OS:98SE
  • Country: Country Flag

I guess you would have to re-implement all/most/some of the functionality of WDM calls for the 95 to get things go, or implement WDM on 95 which I think WDMEX could allow ?


Posted Image Mida sa loed ? Nagunii aru ei saa ;)

#4
rloew

rloew

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,109 posts
  • Joined 30-May 05
  • OS:98SE
  • Country: Country Flag
The USB Update package provides enough WDM support to make the Driver work. I removed the Power Management code in the UMSS Sample.

I use a modified WDMEX in this case to attach a logger so I can record the data transfers of my Driver.
Ye who enter my domain. Beware! Lest you become educated in the mysteries of the universe and suffer forever from the desire to know more.

#5
LoneCrusader

LoneCrusader

    Resistere pro causa resistentiam.

  • MSFN Sponsor
  • 819 posts
  • Joined 11-May 09
  • OS:98SE
  • Country: Country Flag

Donator

I have written a Mass Storage Driver for USB. It is a WDM Driver based on the UMSS Sample. I have been trying to adapt it for Windows 95.

 

More than "trying," lol. :lol:  It's already light years ahead of any other existing USB driver for 95, and only the one sporadic bug seems to remain. :angel



#6
dencorso

dencorso

    Iuvat plus qui nihil obstat

  • Supervisor
  • 6,026 posts
  • Joined 07-April 07
  • OS:98SE
  • Country: Country Flag

Donator

Besides RLoew, the only other member I know for sure wrote at least one sucessful .VxD (albeit not a hardware driver) is Xeno86, who is mostly retired from 9x/ME, but still remains contactable by PM.



#7
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,970 posts
  • Joined 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Donator

Many years ago, I once wrote a driver that allowed Iomega's backup software to see the sound card as a tape drive. It did work but trying to backup files to the soundcard ended up with a BSOD. :(


MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg

#8
TmEE

TmEE

    Mega Drive Modding Master

  • Member
  • PipPipPip
  • 363 posts
  • Joined 17-September 08
  • OS:98SE
  • Country: Country Flag

^ :w00t:

 

I have decided on going VxD route, I can make a whole lot more sense of it than WDM stuff, the documentation is a lot nicer to my eyes. Still a ton of reading to do... very fascinating stuff though !


Posted Image Mida sa loed ? Nagunii aru ei saa ;)

#9
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,675 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Many years ago, I once wrote a driver that allowed Iomega's backup software to see the sound card as a tape drive. It did work but trying to backup files to the soundcard ended up with a BSOD. :(

And no particularly good music came from it, additionally. :whistle:

 

jaclaz



#10
MiKl

MiKl

    Member

  • Member
  • PipPip
  • 117 posts
  • Joined 01-December 11
  • OS:98SE
  • Country: Country Flag

Sorry if this project has already been discussed !!

http://alter.org.ua/...ft/win/uni_ata/

 

I really would like to see a version for 98se to be released because in one of my PCs I have nForce 2 chipset and so no IDE driver.



#11
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,675 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Sorry if this project has already been discussed !!

http://alter.org.ua/...ft/win/uni_ata/

 

I really would like to see a version for 98se to be released because in one of my PCs I have nForce 2 chipset and so no IDE driver.

I don't get it.

There is already the Win9x/Me UniAta driver by Xeno (whether it will work for your hardware/on your setup is to be seen), at least the 39j version:

http://reboot.pro/to...nt351nt42000xp/

is Win9x/Me compatible.

http://www.msfn.org/...ivers/?p=914353

http://www.msfn.org/...bout-9xme-port/

 

jaclaz



#12
Yushatak

Yushatak

    Newbie

  • Member
  • 18 posts
  • Joined 17-September 10
  • OS:98SE
  • Country: Country Flag

WDM might be easier to find documentation for since it's the format that persisted to a point where 98 WDM drivers can still be installed on Win7 (I have done this) to support rare, now-unsupported hardware. :P

 

What language/compiler would you guys use for this, I assume MSVC6 C++ or C? I plan to do drivers at some point in the future, but not soon.



#13
jds

jds

    -DOS+

  • Member
  • PipPipPipPip
  • 603 posts
  • Joined 03-June 08
  • OS:98SE
  • Country: Country Flag

Not me (in answer to the original question).

 

Perhaps RapidDriver (shareware) from www.entechtaiwan.com is a possibility.

 

According to the scant history log : 

 

09 May 2006 v=2.1.4.11
- Windows 98 installation bug fixed

 

So the last W9x compatible version (demo) may be : http://web.archive.o...iles/rdeval.zip

 

OTOH, maybe even the current version is compatible, just not officially. At worst, it may require the assistance of WDMStub (search for the thread in this sub-forum).

 

Joe.


Edited by jds, 19 November 2013 - 02:55 AM.


#14
dencorso

dencorso

    Iuvat plus qui nihil obstat

  • Supervisor
  • 6,026 posts
  • Joined 07-April 07
  • OS:98SE
  • Country: Country Flag

Donator

Good to see you around, Joe!

Cheers! cheers.gif



#15
jds

jds

    -DOS+

  • Member
  • PipPipPipPip
  • 603 posts
  • Joined 03-June 08
  • OS:98SE
  • Country: Country Flag

Thanks, Den!

 

I've been travelling ... now I'm playing catch-up ...

 

:hello:

Joe.

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users