From: "Peter S'heeren" Newsgroups: comp.os.msdos.djgpp Subject: Re: Writing an OS Date: Wed, 28 Apr 1999 09:50:13 +0200 Organization: EUnet Belgium, Leuven, Belgium Lines: 32 Message-ID: <3726BDB5.F8CA4B47@pimc.be> References: <372637F4 DOT 921 AT erols DOT com> <3726BABD DOT 7C67262 AT pimc DOT be> NNTP-Posting-Host: 193.74.115.160 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Sorry, this one should be under "ATAPI command for CD speed change" fromWolfgang Hesseler ... Peter S'heeren wrote: > There's a ATAPI command called "Set CD Speed" and it has opcode 0BBh. > You can set the read & write speeds in kB/sec. This is the format of the > command: > > +00 : BYTE 0BBh > +01 : BYTE reserved > +02 : WORD Read speed in kB/ec > +04 : WORD Write speed in kB/sec > +05 : BYTE reserved > +06 : BYTE reserved > +07 : BYTE reserved > +08 : BYTE reserved > +09 : BYTE reserved > +10 : BYTE reserved > +11 : BYTE reserved > > All fields are big endian. > > I think some drives allow you to change the speed settings the means of > the "Mode Select" command (see: Capabilities and Mechanical Status Page, > code 2Ah). You've to "Mode Sense" first, however, to check out if the > speed fields can be modified. > > Good luck > > Peter S'heeren