|
I am not very sure about the problem you are talking about. 8 refers to 8 logic blocks,not 8 bytes, so it's not comparable to the number 2048.
There's one thing for sure, if you get LOGICAL BLOCK ADDRESS OUT OF RANGE error, definitely the LBA is not correct.
|
|
|
|
|
hi..
your program is very detail.. and..
so..large ..
but
in my cd-rw is do not work for your program..
it work.. only open / Eject command.. and.. bus scan...
but..
can not read and..
record..
can you more easy way to.. record?
and..
how can I Burn it well..
thanks..
|
|
|
|
|
ATAPI DRIVE IS NOT SUPPORTED IN CURRENT VERSION
In other words, when this was first posted, it contained software which the author did not have the right to distribute, and he removed it when this was pointed out to him. As a result, this code won't work for most CD-RW drives, at least not without the dll the author removed.
Christian
No offense, but I don't really want to encourage the creation of another VB developer.
- Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael
P Butler 05-12-2002
It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003
|
|
|
|
|
Christian Graus wrote:
> ATAPI DRIVE IS NOT SUPPORTED IN CURRENT VERSION
In other words, when this was first posted, it contained software which the author did not have the right to distribute, and he removed it when this was pointed out to him.
Is that a fact?
From what I read from the article, he made just one (fatal) mistake, and that was using only the ASPI API. Had he used any of the the published ASPI <-> SPTI (and make no mistake, SPTI is what is used even for ATAPI devices on NT kernel based operating systems) I believe this would have worked like a charm for almost any ATAPI CD-R/W drive.
I've got some GPL'd source to use ASPI calls with very little source code change to instead access SPTI. I'm not interested in hosting it myself, but should anyone else want it, you know how to reach me.
It works like a charm - I've used it for CDRecord/cdrtools for several years now. Hell, I've even got a full CD-buring/reading incl. MP3 encoding and decoding suite on one single floppy disk. With enough room to spare to put some MP3'd heavy metal on it!
I have never tried it for packet writing since I 1) never had the need, and 2) haven't bothered to look into how UDF works (which I must give a lot of credit to the author of this article, to have displayed the stamina to research it, put it in source and write an - albeit short - article about it), but I see no reason whatsoever it shouldn't work.
|
|
|
|
|
Is there anyone trying to compile the project source after dl?
I can not find the .rc file ...
By the way, may I ask: when I try to write files to the already-formatted CDR, it told me "out of memory", what does it mean?
Thanks ahead
|
|
|
|
|
you can find the file
in root directory on zip file
copy it in to the folder
and..
you can execute the program..
but I'm still can not find ..
"out of memory" is.. not found in my case
|
|
|
|
|
Hello.
I wanted to ask when the update comes which supports ATAPI drives?
Or does any one know why it doesn't workd with ATAPI drives?
thanks
|
|
|
|
|
ATAPI drives, the joke You've to know that SCSI is older and better than AT/IDE. The standart command set defined for SCSI (http://www.t10.org) is slightly different from the one described for AT/IDE (http://www.t13.org) but derivated from SCSI.
AT/IDE support only direct commands that fits into the AT/IDE registers. But for enhanced purposes, especialy MultiMediaCommand (MMC, have a look there for MMC and MMC-2 and MMC-3 : http://www.t10.org/drafts.htm), it was impossible to fit 12 or even 16 bytes commands in just 6 bytes of the AT/IDE registers.
The ATAPI (ATA Packet Interface) is 'just' an encapsulation of the standart SCSI MMC commands for ATAPI ! Every ATAPI drives are in fact SCSI drives with an AT/IDE bus instead !
The only difference, is that you can chain 7/8 drives on SCSI, and only 2 (master/slave) on AT/IDE. And that SCSI have the abilities to control the bus without external task from the CPU, whereas AT/IDE needs some PIO from the CPU, even in DMA that is ONLY used for brust transfert of datas. Commands still chained in PIO mode by the CPU.
SOOoooo, why ATAPI drives (SCSI/MMC drives with AT/IDE bus) not yet supported ? Probably because there is no API as easy to use as the one provided by Ahead 'Nero' Hongfeng. Writing a SCSI/ATAPI driver is fairly easy, because the IO buffers have the SAME structure, you just have to send them in a different way according to the bus (PIO for AT/IDE but DMA for the datas once the command is initialized, stack them using SCSI)... I done it on my ATARI
Kochise
|
|
|
|
|
So are there any other resources which explains the difference between SCSI and ATAPI? Or could you post your code update for atapi drives ?
Lailornd
|
|
|
|
|
Kochise, thanks for your useful info.
I supposed the API of Ahead should work on both ATAPI and SCSI,
but some commands can run on ATAPI drives, while others can't.
I struggled with it for a while, but no success.
Too busy recently...
|
|
|
|
|
Commands that do not work on SCSI but ATAPI are most of the times commands related to the control of the cache and the data Xfert ! While SCSI have it's own cache control originaly implemented in the SCSI protocol, it was something lately implemented on ATAPI drives and called 'BurnProof' or so... It's just the copy of the automatic cache manager of the SCSI the AT/IDE don't do by itself, due to the CPU task.
Where SCSI implement everything to make it independent from the CPU, AT/IDE (and ATAPI) are fully controlled by the CPU. 'BurnProof' is just an IRQ with some additive commands to control the cache. Now for instance if the cache of your CD writer comes to be low (eg. 20%), an IRQ is sent to the CPU/IDE manager to refill the cache. It's something transparent on SCSI and fully controlled by the hardware...
Kochise
PS : http://www.ata-atapi.com
|
|
|
|
|
As my Research SCSI and ATAPI has seperate command set. So
you can not using SCSI command for ATAPI device. But how about ASPI layer ?
Does ASPI fully support for ATAPI ?. I mean ASPI can manage ATAPI device, transfer data and command to ATAPI device ?
Thanks
hungtuan123
|
|
|
|
|
Hi, Thanks for a great demo app. I want to write something similar for DVD UDF, and was wondering if you knew of any file size limitation in UDF?
Thanks,
Mark
|
|
|
|
|
Thanks Hong,
Am I right in thinking the long allocation descriptors are also limited to 1GB, since the file length field has the same specification ?
Is this why DVD videos have 1GB files on them?
Thanks again,
Mark
|
|
|
|
|
(My previous answer is not accurate)
According to ECMA167 14.9.10, information length is 8 bytes.
So virtually no limits there. The 1GB limit is for one extent,
but you can use several extents for 1 file.
I haven't tried such large files though.
|
|
|
|
|
There is some compatibility issue with ATAPI devies now.
I am working on it.
|
|
|
|
|
Thank U for your good job!
My CD recorder is just this type,
I'm waiting for your update!
|
|
|
|
|
Hi,
Do you plan posting an article how to write ISO CD-R and CDA?
Thanks!
|
|
|
|
|
Well, compared to UDF, ISO9660 is much easier.
Maybe later I will add these functions.
Thanks for your suggestions.
|
|
|
|
|
I know it's much easier, but it's more useful and popular than UDF.
|
|
|
|
|
Plus it allows any computer to read it since ISO is a standard computer format. We all know it's possible NTIus has done it with their FileCD program.
|
|
|
|
|
What's the difference between ISO and UDF?
Are there any difficulties appending support for ISO?
fengrxr
|
|
|
|
|
Dear sir, when i pressed "format the disc" button, it prompted that "sense key
:0x5, ASC=0X26, ASCQ=0X0,dISK FORMATTING Failed!", would give me some advice,
Thanks!
|
|
|
|
|
Please give more info on this.
Say: at which line within the function of "FormatDisc()"
did the funciton fail?
|
|
|
|
|
Hi,
I just seen this. It looks very good!
But when i try to make a CD disk by using your soft I found
the following problems.
Cannot format a black disk. By tracing the code, i found the error is at:
if(!SetWriteParameters(1,10,4,0x20)) return false;
other similar errors also happend.
Would you please say in more detail how to set the parameter before format a CD disk? How many files can be wrote to the disk for each time? In order to read a written disk, you make the choices of Logicblock and length, but more simple method may read selected sector directly?
Thanks in advance!
chen
|
|
|
|