Re: SVN builds - new driver flood
[Re: CD-i Fan]
#56579
11/23/09 11:39 PM
|
Joined: May 2009
Posts: 1,822
Just Desserts
Very Senior Member
|
Very Senior Member
Joined: May 2009
Posts: 1,822 |
Quick question: Should the condition in the if just before it:
/* add up the samples */
if (channelsamples > 0)
be changed to:
/* add up the samples */
if (chunksamples > 0)
Since channelsamples was changed to chunksamples in your diff on the line beneath it?
|
|
|
Re: SVN builds - new driver flood
[Re: Just Desserts]
#56580
11/23/09 11:41 PM
|
Joined: Sep 2009
Posts: 223
CD-i Fan
Senior Member
|
Senior Member
Joined: Sep 2009
Posts: 223 |
Very good question, and I think the answer is yes, which means that the "if" could just as well be deleted because chunksamples is always > 0.
|
|
|
Re: SVN builds - new driver flood
[Re: CD-i Fan]
#56581
11/23/09 11:49 PM
|
Joined: May 2009
Posts: 1,822
Just Desserts
Very Senior Member
|
Very Senior Member
Joined: May 2009
Posts: 1,822 |
Very good question, and I think the answer is yes, which means that the "if" could just as well be deleted because chunksamples is always > 0. In that case, it looks good to me. In other news, SVN r6449 should have all of the changes necessary for the SGI Indy driver (ip225015) to actually boot the Integrated Diagnostic Environment off of a CD (and promptly fail the diagnostics), or to boot sash (the SGI Stand-Alone Shell) and fx (the disc-partitioning tool), partition a blank HDD image, write out a valid boot sector, then boot up the IRIX 6.5 installer, at which point the installer bombs out. But still, progress.
|
|
|
Re: SVN builds - new driver flood
[Re: Anna Wu]
#56585
11/24/09 05:10 AM
|
Joined: Jul 2007
Posts: 4,625
Anna Wu
OP
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
SVN r6447 " The Thompson artwork files are now zipped up. "
The artwork file called now " Thompson.zip " instead of " Thomson.zip ", is this right ?
Last edited by Anna Wu; 11/24/09 05:12 AM.
|
|
|
Re: SVN builds - new driver flood
[Re: Anna Wu]
#56588
11/24/09 09:02 AM
|
Joined: Aug 2004
Posts: 1,385
Robbbert
Very Senior Member
|
Very Senior Member
Joined: Aug 2004
Posts: 1,385 |
Oops, wrong filename. Fixed now.
Last edited by robbbert; 11/24/09 09:47 AM.
|
|
|
Re: SVN builds - new driver flood
[Re: Robbbert]
#56589
11/24/09 09:52 AM
|
Joined: Jul 2007
Posts: 4,625
Anna Wu
OP
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
Oops, wrong filename. Fixed now. Thanks, robbbert. 
|
|
|
Re: SVN builds - new driver flood
[Re: Anna Wu]
#56629
11/27/09 12:14 PM
|
Joined: May 2009
Posts: 1,822
Just Desserts
Very Senior Member
|
Very Senior Member
Joined: May 2009
Posts: 1,822 |
SVN r6472 adds sound to the Pocket Station driver. 
|
|
|
Re: SVN builds - new driver flood
[Re: Anna Wu]
#56632
11/27/09 02:50 PM
|
Joined: Jul 2007
Posts: 4,625
Anna Wu
OP
Very Senior Member
|
OP
Very Senior Member
Joined: Jul 2007
Posts: 4,625 |
SVN (own build ) Sord M5 driver Game : Zac Banic (tape) and Solitaire (tape) + Basic-I (cartridge). Zac Banic, loaded with command " Tape "  Solitaire, loaded with command " Chain " 
Last edited by Anna Wu; 11/27/09 02:58 PM.
|
|
|
Re: SVN builds - new driver flood
[Re: Just Desserts]
#56654
11/29/09 09:35 AM
|
Joined: Sep 2009
Posts: 223
CD-i Fan
Senior Member
|
Senior Member
Joined: Sep 2009
Posts: 223 |
Very good question, and I think the answer is yes, which means that the "if" could just as well be deleted because chunksamples is always > 0. In that case, it looks good to me. I'd like to modify my previous answer. If you want correctly terminated audio streams it needs to be
/* add up the samples */
if (channelsamples > chunksamples)
file->info.audio_numsamples = stream->samples += chunksamples;
else if (channelsamples > 0)
file->info.audio_numsamples = stream->samples += channelsamples;
The previous code will count extra silence at the end of the audio stream, the amount depending on the wether you left in the original if or modified it / took it out.
|
|
|
Re: SVN builds - new driver flood
[Re: CD-i Fan]
#56671
12/01/09 06:40 AM
|
Joined: May 2009
Posts: 1,822
Just Desserts
Very Senior Member
|
Very Senior Member
Joined: May 2009
Posts: 1,822 |
SVN r6489: SGI IRIS 3130 IP2 driver
C:\mingw2\mess_latest>messd sgi_ip2 -r 640x480 -window -nonewui -nodebug -nolog
-nosound
►IRIS (IP2 - Revision E) Monitor Version 3.0.10 July 1, 1987
Unknown boot type 0x5
Power has been lost to the machine
iris> help
.:help: Error 0
iris> printenv
.:printenv: Error 0
iris> hinv
.:hinv: Error 0
iris> wank
.:wank: Error 0
iris> arse
.:arse: Error 0
iris> quit
.:quit: Error 0
iris> exit
PROMs exiting
►IRIS (IP2 - Revision E) Monitor Version 3.0.10 July 1, 1987
Unknown boot type 0x5
Power has been lost to the machine
iris> Average speed: 47.02% (14 seconds)
Wish I knew what "Error 0" meant, but it's a start. 
|
|
|
|
3 registered members (robcfg, Praxis, 1 invisible),
182
guests, and 1
spider. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics8,721
Posts114,624
Members4,873
|
Most Online510 Aug 26th, 2019
|
|
|