Windows 7 and ASPI?

This forum is for discussion pertaining to homebrew software for the Dreamcast, such as homebrew games, emulators/interpreters, and other homebrew software/applications. Porting requests and developmental ideas are not to be made here; you can make those here. If you need any help burning discs for homebrew software, this is the place to ask as well.
Post Reply
User avatar
Aleron Ives
Psychotic DCEmu
Psychotic DCEmu
Posts: 739
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Contact:

Windows 7 and ASPI?

Post by Aleron Ives » Sun Mar 29, 2015 1:59 am

I've been trying to find a way to get ASPI drivers to work under Windows 7 x64, but I'm not having much luck. The one included with CDRWIN doesn't detect my DVD-RW drive as being able to burn discs (even though it's supposed to work with Vista, at least), although it does see both my DVD and BD drives as being able to read them. I do have ForceASPI, but it's intended for x86 systems and wants to put files into Windows\System, which doesn't seem to be used under Windows 7 x64, and the SysWOW64 directory doesn't have a System folder of its own for 32-bit applications.

Is there such a thing as ASPI for Windows 7, or is the only solution to continue running XP?

*edit*

Wikipedia has this link for a Windows 7 ASPI driver:

http://users.skynet.be/t_chan/MekugiAspi/MekugiAspi.htm

Has anybody tried MekugiASPI? If not, I guess I'll have to be the guinea pig... :o
"Fear the HUnewearl."
Image
User avatar
Basil
Insane DCEmu
Insane DCEmu
Posts: 199
Joined: Wed Apr 09, 2008 9:04 am
Contact:

Re: Windows 7 and ASPI?

Post by Basil » Sun Mar 29, 2015 8:41 am

I use FrogAspi to get DiskJuggler working. Have you tried it?
{Vodz@DC} @ Sylverant, VasiliyDC @ Quake3
Order Dux 1.0, Redux incl. Dux 1.5 and The Ghost Blade at http://hucast.com/index.php
Buy more independent Dreamcast games:
https://www.goatstore.com/Products/Sega ... elopments/
https://www.dragonbox.de/en/52-games#/system-dreamcast
User avatar
Aleron Ives
Psychotic DCEmu
Psychotic DCEmu
Posts: 739
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Contact:

Re: Windows 7 and ASPI?

Post by Aleron Ives » Sun Mar 29, 2015 3:09 pm

CDRWin comes with FrogASPI, but it doesn't work, either. Perhaps it's an old version, but FrogASPI seems to have been discontinued, so I don't know if they ever made a Windows 7 version. CDRWin says that FrogASPI is the recommended option for Vista.
"Fear the HUnewearl."
Image
T_chan
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 10
Joined: Mon Aug 22, 2011 12:45 pm

Re: Windows 7 and ASPI?

Post by T_chan » Sun Mar 29, 2015 4:18 pm

Has anybody tried MekugiASPI? If not, I guess I'll have to be the guinea pig...
I tried it, because I made it :)

It's not (yet) a full replacement for wnaspi32.dll, but it has enough functionalities to allow you to use a Katana devkit on Win7 64bits.
(that's the only reason I made this dll after all... )

I hope that's enough a reason for you to give it a try :)
User avatar
Aleron Ives
Psychotic DCEmu
Psychotic DCEmu
Posts: 739
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Contact:

Re: Windows 7 and ASPI?

Post by Aleron Ives » Sun Mar 29, 2015 5:58 pm

Hi, T_chan!

I didn't know you were a member here. :lol:

I tried version 0.2, but it doesn't work with CDRWIN 4.0h at all. :( The readers and recorders tab both say that I have no supported devices installed. I tried enabling the logging to ASPI.LOG function, and this is what the log said:
Spoiler!

Code: Select all

0:0:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 01h 00h 00h 00h 00h 00h

0:1:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

0:2:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

0:3:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

0:4:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

0:5:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

0:6:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

0:7:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

1:0:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

1:1:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

1:2:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

1:3:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

1:4:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

1:5:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

1:6:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

1:7:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

2:0:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

2:1:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

2:2:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

2:3:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

2:4:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

2:5:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

2:6:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

2:7:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

3:0:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

3:1:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

3:2:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

3:3:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

3:4:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

3:5:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

3:6:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

3:7:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

4:0:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

4:1:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

4:2:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

4:3:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

4:4:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

4:5:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

4:6:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

4:7:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

5:0:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

5:1:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

5:2:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

5:3:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

5:4:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

5:5:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

5:6:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

5:7:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

6:0:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

6:1:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

6:2:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

6:3:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

6:4:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

6:5:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

6:6:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

6:7:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

7:0:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

7:1:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

7:2:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

7:3:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

7:4:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

7:5:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

7:6:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h

7:7:0 - INQUIRY
  CDB Contents: 12h 00h 00h 00h 24h 00h 
  ASPI Status : 04h 00h 00h 00h 00h 00h
I don't know if that's helpful in any way, but it would be awesome if MekugiASPI evolved to the point where it would work with CDRWIN, DiscJuggler, and other DC-related software. :)
"Fear the HUnewearl."
Image
T_chan
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 10
Joined: Mon Aug 22, 2011 12:45 pm

Re: Windows 7 and ASPI?

Post by T_chan » Mon Mar 30, 2015 12:18 pm

Hello,

I'm just a big lurker here... I need my weekly dose of DC-programming related stuff, even if I can hardly find the time to program myself anymore :)

In fact, I already got a few messages of it working with other CD-related programs...

Before going further, a few basic checks:
- I suppose you replaced the wnaspi32.dll in the CDRWin folder with my dll, correct ?
- Did you execute CDRWin in admin mode ?
This is really needed, otherwise you won't be able to see any drives with my dll
User avatar
Aleron Ives
Psychotic DCEmu
Psychotic DCEmu
Posts: 739
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Contact:

Re: Windows 7 and ASPI?

Post by Aleron Ives » Mon Mar 30, 2015 1:54 pm

I did put wnaspi32.dll in the same folder as CDRWIN, and I have the UAC completely disabled, so every program I run has administrator privileges. ;)

CDRWIN doesn't have its own ASPI file in the installation directory, though. After you install, it asks if you want to install the ASPI driver included with CDRWIN. If you say yes, it puts the frogaspi.dll and wnaspi32.dll into your Windows\SysWOW64 directory. Due to the way Windows searches for files, theoretically it should look in the cwd before trying the system directory and the PATH variable...

CDRWIN also has 3 ASPI options: 1) Use the ASPI installed on the system 2) Use the ASPI provided by CDRWIN (presumably the wnaspi32.dll) 3) Use FrogASPI (presumably the frogaspi.dll). Neither of them work on Windows 7, though. CDRWIN detects both my DVD and BD drives for reading with wnaspi32.dll, but it says I have no burners. With FrogASPI, it pops up a warning message saying I'm trying to use an unsupported device when I click on the preferences dialogue, but it still says I have no burners. With your wnaspi32.dll, it says I have no readers and also no burners.
"Fear the HUnewearl."
Image
T_chan
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 10
Joined: Mon Aug 22, 2011 12:45 pm

Re: Windows 7 and ASPI?

Post by T_chan » Mon Mar 30, 2015 2:38 pm

Can you try with UAC enabled, and with "run as administrator" ?

Just to exclude that possibility...
A few google searches tells me the UAC off is not as straightforward as one might think...
AmonX
DCEmu Freak
DCEmu Freak
Posts: 80
Joined: Tue Sep 09, 2008 12:49 pm

Re: Windows 7 and ASPI?

Post by AmonX » Tue Mar 31, 2015 12:22 am

Hello I was Ives Guinea pig. Win 7 x64. I tried UAC enabled and with run as admin. Nothing would show up in my writer drives but my Daemon tools was showing up as a reader. I managed to get all my drives listed in the reader and only my usb dvd burner to show up as a writer using the FrogASPI from http://wp.xin.at/archives/tag/frogaspi as MekugiASPI did not work for me. And I did have to run it as admin for MekurgiASPI to load otherwise I got this error http://imgur.com/u65y8gM
User avatar
Aleron Ives
Psychotic DCEmu
Psychotic DCEmu
Posts: 739
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Contact:

Re: Windows 7 and ASPI?

Post by Aleron Ives » Tue Mar 31, 2015 12:33 am

Fishy to the rescue! Image I don't get that error when I run CDRWIN, so it's definitely running in administrator mode automatically. It's curious that your USB burner shows up when your SATA one doesn't. It does kind of make sense that the Daemon Tools one would show up, since if it's anything like Virtual CloneDrive, it's presented as a SCSI drive to the OS, which is more on par with what ASPI is expecting.

T_chan, if you are willing to try to update MekugiASPI, here's a link to the CDRWIN trial, since I doubt it's easy to find it these days... http://psopalace.sylverant.net/images/r ... _setup.exe. I also have the DiscJuggler 4 trial on my site, and it also needs ASPI. I haven't tried it with MekugiASPI yet, since CDRWIN wasn't working, but perhaps whatever CDRWIN needs would also make DiscJuggler happy...
"Fear the HUnewearl."
Image
T_chan
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 10
Joined: Mon Aug 22, 2011 12:45 pm

Re: Windows 7 and ASPI?

Post by T_chan » Tue Mar 31, 2015 2:44 pm

I had a look at it on my system:

CDRWIN 4.0H with mekugiaspi 0.2 in the same folder,
option "use the ASPI driver installed by CDRWIn (if any)" (note that I did not install the wnaspi provided by the installer during the installation):
* UAC ON:
- NOT "Run as administrator": error message: unable to initialize ASPI manager. ASPI manager was not found on your system
- "Run as administrator" : My Pioneer BD-RW BDR-208M (SATA) is recognized as Reader, not as writer
* UAC OFF: (User Account Control Settings set to "Never notify me")
- NOT "Run as administrator": My Pioneer BD-RW BDR-208M (SATA) is recognized as Reader, not as writer
- "Run as administrator" : My Pioneer BD-RW BDR-208M (SATA) is recognized as Reader, not as writer

The only commands CDRWIN seems to send to wnaspi32.dll, are:
- SCSI_INQUIRY
- ASPI32_SC_GET_DEV_TYPE, which returns device type 0x05 (DTYPE_CDROM)

I see a few possibilities:
- either CDRWIN has a problem with a value that SCSI_INQUIRY returns (but I think I just pass on what I receive from the device),
- or it has a problem with type 0x05 (DTYPE_CDROM), which I get from SCSI_INQUIRY & pass on

I'd have to add some logging & do some debugging/force some values to see if it changes anything to CDRWIN.
But I won't be able to do that before end of april, since I'm leaving on holidays in a few days.

I used to like CDRWIN, back in the days when I burned CD-ROMs, but it frequently had problems not recognizing new drives if I remember correctly...
So chances are this is not entirely specific to Mekugiaspi.

The fact that it doesn't recognize your CD-ROM drives, not even as readers, is strange...
What models do you have ?
User avatar
Aleron Ives
Psychotic DCEmu
Psychotic DCEmu
Posts: 739
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Contact:

Re: Windows 7 and ASPI?

Post by Aleron Ives » Tue Mar 31, 2015 3:52 pm

I have an ASUS DRW-24B1ST (DVD burner) and an LG WH14NS40 (Blu-ray burner). Both are SATA drives, as my mainboard doesn't have IDE connectors.

I also have an LG BP40 USB Blu-ray burner, but I don't have much use for it now that I have an internal BD drive.

Perhaps the included wnaspi32.dll would hold some answers? CDRWIN recognises my drives as readers with that driver, but it still says that I have no burners.
"Fear the HUnewearl."
Image
T_chan
DCEmu Cool Newbie
DCEmu Cool Newbie
Posts: 10
Joined: Mon Aug 22, 2011 12:45 pm

Re: Windows 7 and ASPI?

Post by T_chan » Wed Apr 01, 2015 1:47 pm

Well, as said before, this will take time to debug,
I won't be able to do that before end of april, since I'm leaving on holidays in a few days.

I'll come back on this by the end of april.... if you don't find a solution in the meanwhile :)

See you in a few weeks !
User avatar
Aleron Ives
Psychotic DCEmu
Psychotic DCEmu
Posts: 739
Joined: Wed Jan 05, 2011 2:15 pm
Location: California
Contact:

Re: Windows 7 and ASPI?

Post by Aleron Ives » Wed Apr 01, 2015 2:11 pm

Well, I'm just glad you're still around and willing to maintain ASPI for Windows 7. The Adaptec website specifically says that Windows 7/8 don't support ASPI and that Adaptec won't make any drivers for them, so you've already proven them wrong. ;) Enjoy your vacation!
"Fear the HUnewearl."
Image
avilys
DCEmu Newbie
DCEmu Newbie
Posts: 1
Joined: Thu May 21, 2015 3:45 pm

Re: Windows 7 and ASPI?

Post by avilys » Thu May 21, 2015 4:12 pm

> Is there such a thing as ASPI for Windows 7, or is the only solution to continue running XP?

I've had similar problem this week when I wanted to use my old CDRWIN 4.0H on Windows 7 x64.

After some searching I've found wnaspi32.dll, which works on both 32 and 64-bit Windows 7 & 8 and it seems it's still being actively developed. It's a part of free StarBurn software (http://www.starburnsoftware.com, I have no affiliation with them). You can take it from their installation as a standalone DLL and put it in your application folder or in your system32/syswow64 directories. Their SDK also has a 64-bit version of wnaspi32.dll.

CDRWIN and utilities like aspi_you (http://www.nu2.nu/aspi/) now find and list devices properly, but of course newer devices won't work under CDRWIN as recorders.
Post Reply