Re: [Freedos-user] ASPI driver
basudeb gupta wrote: Thanks but I need an ASPIxxx.SYS that works with Freedos to try this code. Any help in that will be appreciated. I would like to try with an Adaptec card. Then just download a driver at Adaptec. Robert Riebisch -- BTTR Software http://www.bttr-software.de/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
Hi Basudeb, Is there an ASPI driver for FreeDOS? Where can I get it? I would normally download the Adaptec drivers, they contain an ASPI driver. Also, where can I get the specs of that driver so that I can write a program and access a SCSI hard disk? You should not normally need a driver for that: Most SCSI controllers come with int 13 BIOS support, which means that the harddisk looks like any normal harddisk for DOS. I myself only use the Adaptec driver in combination with USB drivers, because the USB drivers make the USB disks (memory sticks...) visible as ASPI devices and I need an ASPI driver to give the ASPI devices a DOS drive letter. So you have 2 drivers: SCSI - ASPI and ASPI - DOS. Having an open source version of the latter would be nice. You can probably find a des- cription in Ralf Browns Interrupt List which you can either download as zip from www or read online. There is a lot of information about all sorts of BIOS and DOS related things in there, so just download the whole thing :-). Eric - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
basudeb gupta wrote: Hi All, Is there an ASPI driver for FreeDOS? Where can I get it? Also, where can I get the specs of that driver so that I can write a program and access a SCSI hard disk? Thanks Basudeb I've had the same problem with FreeDOS not accessing hard drives. From what I can tell by testing various programs under FreeDOS and MS-DOS is that the FD fdisk program does it's own thing and fails to recognize a SCSI drive unless you issue set FFD_VERSION=6 at the command prompt (without quotas). This won't help you however. This basically puts fdisk in a type of 16-bit mode and the limitations of FAT 16 partitions only. In other words no larger than 2GB FAT 16 partitions. But it gets even worse. The FreeDOS kernel doesn't seem to want anything to do with the SCSI int 13h extensions and completely ignores them. This also includes loading an ASPI driver. So until this gets addressed us SCSI users are SOL when it comes to FreeDOS. Correct me if I'm wrong. BTW what is your system specs including SCSI card. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
Thanks Charles, looks bad for me, as I have to use FreeDOS for different machines and not only one. And they are of various sizes. Can I conclude that FreeDOS does not support SCSI drives thru ASPI ? Or have I misunderstood the answer? Basudeb - Original Message From: charles [EMAIL PROTECTED] To: freedos-user@lists.sourceforge.net Sent: Monday, March 5, 2007 9:56:31 PM Subject: Re: [Freedos-user] ASPI driver basudeb gupta wrote: Hi All, Is there an ASPI driver for FreeDOS? Where can I get it? Also, where can I get the specs of that driver so that I can write a program and access a SCSI hard disk? Thanks Basudeb I've had the same problem with FreeDOS not accessing hard drives. From what I can tell by testing various programs under FreeDOS and MS-DOS is that the FD fdisk program does it's own thing and fails to recognize a SCSI drive unless you issue set FFD_VERSION=6 at the command prompt (without quotas). This won't help you however. This basically puts fdisk in a type of 16-bit mode and the limitations of FAT 16 partitions only. In other words no larger than 2GB FAT 16 partitions. But it gets even worse. The FreeDOS kernel doesn't seem to want anything to do with the SCSI int 13h extensions and completely ignores them. This also includes loading an ASPI driver. So until this gets addressed us SCSI users are SOL when it comes to FreeDOS. Correct me if I'm wrong. BTW what is your system specs including SCSI card. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
Hello charles, The FreeDOS kernel doesn't seem to want anything to do with the SCSI int 13h extensions and completely ignores them. Which SCSI int 13 extensions, and why would they be useful ? the kernel DOES support drives up to 2 TB This also includes loading an ASPI driver. there's no need for ASPI drivers on SCSI adapters; USB drievs are a different story So until this gets addressed us SCSI users are SOL when it comes to FreeDOS. Correct me if I'm wrong. wrong. Tom - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
Hi Charles, Basudeb, I've had the same problem with FreeDOS not accessing hard drives. From what I can tell by testing various programs under FreeDOS and MS-DOS is that the FD fdisk program does it's own thing and fails to recognize a SCSI drive unless you issue set FFD_VERSION=6 at the command prompt (without quotas). This won't help you however. This basically puts fdisk in a type of 16-bit mode and the limitations of FAT 16 partitions only. In other words no larger than 2GB FAT 16 partitions. But it gets You are right, FreeDOS FDISK has very unreliable disk detection. There once was an attempt to use the algorithm from LBACACHE instead, but it seems that this did not become part of the official FDISK. The FreeDOS version 1.0 distro contains several alternatives: SFDISK, XFDISK, ... It generally recommends NOT To use FDISK. Sorry about that. Of course it would be nice to repair FDISK, but then, it has only few good feat- ures: Being scriptable (can be controlled from a batch script) and looking like MS DOS FDISK. Many people call the latter a BAD feature. even worse. The FreeDOS kernel doesn't seem to want anything to do with the SCSI int 13h extensions and completely ignores them. This also Please explain what you mean by this. FreeDOS worked fine for me when I last used it on a SCSI machine. The SCSI int 13 BIOS gave access to the harddisk (including LBA access for large disks). I only had to load drivers for SCSI CDROM, but it is normal that DOS needs drivers for CDROM. One thing which did cause problems: You could not use onboard sound and network at the same time, looks like those have bad DOS compatibility or DMA / UMB troubles. Trying with MS DOS did not help either. By the way, talking about sound: USB mice and keyboards have more overhead than PS2 ones, so for better game fun, you better use PS2 hardware :-p. includes loading an ASPI driver. So until this gets addressed us SCSI users are SOL when it comes to FreeDOS. Correct me if I'm wrong. I assume you are wrong. As said, no FreeDOS specific SCSI problems known here. Please explain your SCSI problems in more detail. Also try if it helps not to load EMM386, and try if it helps to upgrade to www.japheth.de JEMM386. Do read the documentation of JEMM386, it is more complex than our classic EMM386 and you might need extra tuning to get a good config. But then it really works better :-). Eric - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
basudeb gupta wrote: Hi All, Is there an ASPI driver for FreeDOS? Where can I get it? Also, where can I get the specs of that driver so that I can write a program and access a SCSI hard disk? Thanks Basudeb http://wiki.fdos.org/Main/AtapiCDD http://wiki.fdos.org/Main/USB Is this it? TomLeeM http://www.google.com/search?hl=enq=ASPI+driver+for+FreeDOSbtnG=Google+Search - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
http://www.macdisk.com/faqaspien.php3 Hopefully this might help out ? Original Message Subject: Re: [Freedos-user] ASPI driver From: Eric Auer [EMAIL PROTECTED] Date: Mon, March 05, 2007 3:40 am To: freedos-user@lists.sourceforge.net - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
Thanks for the help. I had a few simple requirements: a) an ASPI.SYS for FREEDOS that I can use to access SCSI drives b) reference manual for this, so that I can write some programs to access the devices thru ASPI.SYS Unfortunately, all these links are not giving me this. Can anyone help? Regards, Basudeb - Original Message From: tomleem [EMAIL PROTECTED] To: freedos-user@lists.sourceforge.net Sent: Tuesday, March 6, 2007 5:46:47 AM Subject: Re: [Freedos-user] ASPI driver basudeb gupta wrote: Hi All, Is there an ASPI driver for FreeDOS? Where can I get it? Also, where can I get the specs of that driver so that I can write a program and access a SCSI hard disk? Thanks Basudeb http://wiki.fdos.org/Main/AtapiCDD http://wiki.fdos.org/Main/USB Is this it? TomLeeM http://www.google.com/search?hl=enq=ASPI+driver+for+FreeDOSbtnG=Google+Search - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] ASPI driver
; highlevel ASPI code_seg segment assume cs:code_seg,ds:code_seg org 100h main proc near entry: jmp start ; ; data area ; scsicommand struc code db 2 status db 0 adapter db 0 reqflag db 24 resrved db 0 targid db 1 logunit db 0 xferlen dw 0,0 senslen db 0 dataptrodw 0 dataptrsdw 0 srbptro dw 0 srbptrs dw 0 cdblen db ? hoststat db 0 targstat db 0 postaddo dw 0 postadds dw 0 workspac db 34 dup (?) scsicommand ends SCSI db 'SCSIMGR$',0 ASPI dw 2 dup (?) SRB db 58 dup (0) cards db ? curcard db ? curdev db ? bTen db 10 cardat db ? cardflag db ? ; ; code area ; start: mov ax,3D00h lea dx,SCSI int 21h jnc haveaspi mov ah,09 lea dx,nope int 21h mov ax,4C01h int 21h nope db 13,10,'No ASPI Manager Found',13,10,'$' haveaspi: push ax mov bx,ax mov ax,4402h lea dx,ASPI mov cx,4 int 21h pop bx mov ah,3Eh int 21h nextcard: call callaspi jne btdt mov al,SRB[8] mov cards,al mov al,SRB[9] mov cardat,al mov si,offset SRB+10 mov di,offset EchoBuffer mov cx,8 rep movsw lea dx,CRLF mov ah,09 int 21h btdt: mov si,offset SRB+26 mov di,offset EchoBuffer mov cx,8 rep movsw lea dx,EchoBuffer mov ah,09 int 21h mov al,SRB[2] mov curcard,al mov curdev,0 nextdev: call clearSRB mov SRB[0],1 mov al,curcard mov SRB[2],al mov al,curdev mov SRB[8],al call callaspi call showdev inc curdev cmp curdev,8 jne nextdev mov al,curcard inc al cmp al,cards je lastcard call clearSRB mov SRB[2],al jmp short nextcard lastcard: mov ax,4C00h int 21h CRLF db 13,10 EchoBuffer db 16 dup(?), 13, 10,'$' None db 'None' Ctrl db 'Card' main endp DevBuffer db 'ID #xx Type - ',13,10,'$' showdevproc near mov cardflag,0 mov al,curdev cmp al,cardat jne adevice mov cardflag,1 adevice: xor ah,ah div bTen add ax,3030h lea di, devbuffer[4] stosw cmp cardflag,1 jne notcard lea si,Ctrl jmp short notnum notcard: cmp SRB[1],82h jne shownum lea si,None notnum:lea di,DevBuffer[16] movsw movsw jmp short nonum shownum: mov al,SRB[10] xor ah,ah div bTen add ax,3030h lea di,DevBuffer[16] stosw mov ax,2020h stosw nonum: mov ah,09 lea dx,devbuffer int 21h ret showdevendp callaspi proc near push ds lea bx,SRB push bx lea bx,ASPI call dword ptr[bx] add sp,4 cmp SRB[2],0 ret callaspi endp clearSRB proc near push ax xor ax,ax lea di,SRB mov cx,29 rep stosw pop ax ret clearSRB endp code_seg ends end entry Original Message Subject: Re: [Freedos-user] ASPI driver From: basudeb gupta [EMAIL PROTECTED] Date: Mon, March 05, 2007 6:34 pm To: freedos-user@lists.sourceforge.net Thanks for the help. I had a few simple requirements: a) an ASPI.SYS for FREEDOS that I can use to access SCSI drives b) reference manual for this, so that I can write some programs to access the devices thru ASPI.SYS Unfortunately, all these links are not giving me this. Can anyone help? Regards, Basudeb - Original Message From: tomleem [EMAIL PROTECTED] To: freedos-user@lists.sourceforge.net Sent: Tuesday, March 6, 2007 5:46:47 AM Subject: Re: [Freedos-user] ASPI driver basudeb gupta wrote: Hi All, Is there an ASPI driver for FreeDOS? Where can I get it? Also, where can I get the specs of that driver so that I can write a program and access a SCSI hard disk? Thanks
Re: [Freedos-user] ASPI driver
Thanks but I need an ASPIxxx.SYS that works with Freedos to try this code. Any help in that will be appreciated. I would like to try with an Adaptec card. Regards, Basudeb - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: freedos-user@lists.sourceforge.net Sent: Tuesday, March 6, 2007 9:06:47 AM Subject: Re: [Freedos-user] ASPI driver ; highlevel ASPI code_seg segment assume cs:code_seg,ds:code_seg org 100h main proc near entry: jmp start ; ; data area ; scsicommand struc code db 2 status db 0 adapter db 0 reqflag db 24 resrved db 0 targid db 1 logunit db 0 xferlen dw 0,0 senslen db 0 dataptrodw 0 dataptrsdw 0 srbptro dw 0 srbptrs dw 0 cdblen db ? hoststat db 0 targstat db 0 postaddo dw 0 postadds dw 0 workspac db 34 dup (?) scsicommand ends SCSI db 'SCSIMGR$',0 ASPI dw 2 dup (?) SRB db 58 dup (0) cards db ? curcard db ? curdev db ? bTen db 10 cardat db ? cardflag db ? ; ; code area ; start: mov ax,3D00h lea dx,SCSI int 21h jnc haveaspi mov ah,09 lea dx,nope int 21h mov ax,4C01h int 21h nope db 13,10,'No ASPI Manager Found',13,10,'$' haveaspi: push ax mov bx,ax mov ax,4402h lea dx,ASPI mov cx,4 int 21h pop bx mov ah,3Eh int 21h nextcard: call callaspi jne btdt mov al,SRB[8] mov cards,al mov al,SRB[9] mov cardat,al mov si,offset SRB+10 mov di,offset EchoBuffer mov cx,8 rep movsw lea dx,CRLF mov ah,09 int 21h btdt: mov si,offset SRB+26 mov di,offset EchoBuffer mov cx,8 rep movsw lea dx,EchoBuffer mov ah,09 int 21h mov al,SRB[2] mov curcard,al mov curdev,0 nextdev: call clearSRB mov SRB[0],1 mov al,curcard mov SRB[2],al mov al,curdev mov SRB[8],al call callaspi call showdev inc curdev cmp curdev,8 jne nextdev mov al,curcard inc al cmp al,cards je lastcard call clearSRB mov SRB[2],al jmp short nextcard lastcard: mov ax,4C00h int 21h CRLF db 13,10 EchoBuffer db 16 dup(?), 13, 10,'$' None db 'None' Ctrl db 'Card' main endp DevBuffer db 'ID #xx Type - ',13,10,'$' showdevproc near mov cardflag,0 mov al,curdev cmp al,cardat jne adevice mov cardflag,1 adevice: xor ah,ah div bTen add ax,3030h lea di, devbuffer[4] stosw cmp cardflag,1 jne notcard lea si,Ctrl jmp short notnum notcard: cmp SRB[1],82h jne shownum lea si,None notnum:lea di,DevBuffer[16] movsw movsw jmp short nonum shownum: mov al,SRB[10] xor ah,ah div bTen add ax,3030h lea di,DevBuffer[16] stosw mov ax,2020h stosw nonum: mov ah,09 lea dx,devbuffer int 21h ret showdevendp callaspi proc near push ds lea bx,SRB push bx lea bx,ASPI call dword ptr[bx] add sp,4 cmp SRB[2],0 ret callaspi endp clearSRB proc near push ax xor ax,ax lea di,SRB mov cx,29 rep stosw pop ax ret clearSRB endp code_seg ends end entry Original Message Subject: Re: [Freedos-user] ASPI driver From: basudeb gupta [EMAIL PROTECTED] Date: Mon, March 05, 2007 6:34 pm To: freedos-user@lists.sourceforge.net Thanks for the help. I had a few simple requirements: a) an ASPI.SYS for FREEDOS that I can use to access SCSI drives b) reference manual for this, so that I can write some programs to access the devices thru ASPI.SYS Unfortunately, all these links are not giving me this. Can anyone help? Regards, Basudeb - Original Message From: tomleem