Re: New WinCoupe alpha test version (Was: Re: Defender)

1999-11-30 Thread Dave Hooper
  Um, er. The *envelopes* can be 3 or 4-bit resolution, like the docs
imply.
  However, the VOLUME registers (ie, sound registers 0 thru 5) only
provide
  3-bit resolution when envelopes are enabled (normally they would provide
  4-bits resolution ... it's as if the SAA has gone thru registers 0 to 5
 and
  ANDed with 0xee before using them, whenever envelopes are enabled).
Weird
  biscuits.
 
 You must be a 007 agent to explore this. :-)

If you sit down and do the math, you actually notice the discrepancies :
The Philips data sheet states that, with envelopes enabled and the 'maximum
amplitude' envelope selected as active, the real maximum total amplitude
generated by the SAA is 7/8ths that normally available.
Now, let's say that the envelope controllers work by generating a value
between 0 (zero envelope amplitude) and 15 (max envelope amplitude)
Now, let's also say that the amplitude controllers (registers 0 thru 5 on
the SAA-1099) work by generating a value between 0 (zero amplitude) and 15
(max amplitude).

Finally, let's say that the total amplitude equals amplitude
register*(envelope amplitude/16)

With envelopes disabled, the maximum amplitude is therefore 15

What happens when envelopes are enabled?
With the envelope controller set to generate a 'maximum amplitude' envelope
(waveform 001) the envelope controller generates an output value of '15'
With maximum amplitude register, this also generates an output value of '15'
This would suggest that the total amplitude equals 15*(15/16) = 14.0625
But we already KNOW that the maximum total amplitude should be 7/8ths of
what the max is withOUT envelopes (i.e., it should be 15  * (7/8ths) =
13.125)

You know the rest... 14.0625 is NOT equal to 15*(7/8)
But 14*(15/16)[WHERE 14 == 15 AND 0xEE]  IS equal to 15*(7/8)

I even tried this out using a Sam, a PC with a soundcard, and a copy of Cool
Edit 96 to act as an oscilloscope. Whaddaya know, amplitude controller
resolution is effectively halved whenever envelopes are in effect.

So, despite what you may think, or have been told, audio sample generation
on the SAA-1099 is limited to just 3-bit audio.

Which is why, generally, it sounds kinda crappy.


Because of this, SAASound.dll actually implements full 4-bit audio (full!
hah!)
because it sounds better. I *dont* think I will put in an option to emulate
3-bit audio ... who would want that? (except purists, I suppose)

D a v e



Re: SAAEmu 0.61

1999-11-30 Thread Dave Hooper
 1. Credits? No problem. I will do the changes to let you sleep better.

Ok. Thanks,

 2. Get a later Word version.

No.
 I am a poor student 
(That excuse used to work anyway. Doesn't actually apply now that I am no
longer a student nor poor)

 3. I don't know your web address.

Well, you should, because it was in the flipping email that you just replied
to! Read it again, paying extra-special attention to the words that said
http://www.geocities.com/stripwax/


In fact, you could even just link to
http://www.geocities.com/stripwax/saasound.zip
* B U T *  I cannot guarantee that this will always work (I may change the
name of the .zip package, for example, when I release my source code)
and so I'd rather you just link to the /stripwax/

Latest version is 2.05 but I will be releasing 2.06 in a day or so.
(Found some bugs in - guess what - my envelope controller code. Again. In
particular, you may have noticed that the 'single decay' envelope was
sounding more like a 'single decay and then a very long loud note' envelope
.. :)



 4. Message CPU halt... is by Z80 CPU emulator. I can't say more, since I
 have
never got this one. When you ask: Is there a bug? I must say: Yes, it
 looks like
a bug.

Yes.
It does.
It never happened before though - have you changed your compilation
settings? (e.g., optimisation ?)

D a v e



Re: Wincoupe bug

1999-11-30 Thread Dave Hooper
From: Aley Keprt [EMAIL PROTECTED]

 I have seen a music demo on Amiga what played a tune using disk drive.
 Really.
 Does anyone have a demo like this on Sam?

I wrote one, then got scared it might trash my drive. So I didn't run it
again.
Wasn't very sophisticated, but it made a passable imitation of Jingle Bells
(just about). Just a bunch of step commands with different stepping times in
a loop.

D a v e



Re: Sam's worst ever game

1999-11-30 Thread Martin Fitzpatrick


Dan Dooré wrote:
 
  OK! Correction. I have pretty much (99.99%) decided that I'm
  wrong. The lady from Tetris is none other than Nastassia Kinski.
  Original image is here:
 
 ftp://ftp.nvg.ntnu.no/pub/sam-coupe/graphics/pics/nastassia_from_tetris.jpg
 
 That's the baby!

Really?... Hmm.. I didnt think the other one was the right one at first,
but attributed that to adolescent mind meanderings, but out of the two,
I recognise the first more... So, where is *she* from?... Some other sam
demo perhaps?


Fitz

-- 
Email: [EMAIL PROTECTED]
ICQ#: 11077801
AOL/CServeIM: Flupert




Re: SAAEmu 0.61

1999-11-30 Thread Aley Keprt


  1. Credits? No problem. I will do the changes to let you sleep better.
 
 Ok. Thanks,
 
  2. Get a later Word version.
 
 No.
  I am a poor student 
 (That excuse used to work anyway. Doesn't actually apply now that I am no
 longer a student nor poor)

As I wrote earlier, you can use Win98's Wordpad. I used Wordpad to write 
original version of that RTF file.
 
 Yes.
 It does.
 It never happened before though - have you changed your compilation
 settings? (e.g., optimisation ?)

This is possible. Look to the size of the files (if you have older versions
 - you can download 0.60 and 0.61 from my web). Debug files are longer.

Aley



WinCoupe: frameskip auto

1999-11-30 Thread Aley Keprt

I still don't understand why frameskip auto shows higher fps values than
frameskip none.

When frameskip is on (either 1,2,3,... or auto) it could cause frame
skipping.
In this case the number of rendered frames is lower. But how can it be
higher?
It could be possible higher when it render more frames. But how can it
render more
frames, when it does frame skipping? This is nonsense.

I'm affraid that number shown in the window's title bar shows number of
frames
rendered and skipped together. And that IS nonsense.
I must again mention MAME where frameskip 1,2,3,... cause lower fps values,
no higher.

---
btw. WinCoupe's about message says: SimCoupe - a Sam Coupe' emulator
So is it WinCoupe or SimCoupe?


Bc. Aley [eili] Keprt - student, programmer (multimedia soft. etc.)
 e-mail: [EMAIL PROTECTED]  ***  http://get.to/aley





Help

1999-11-30 Thread Chris White
okay's looks like freeserve didn't like me so could some please swap my
email from [EMAIL PROTECTED]

to

[EMAIL PROTECTED]


Cheeers


C




Re: SAAEmu 0.61

1999-11-30 Thread Dave Hooper
  Hmm, in which case why is it a .RTF file?  After all, Rich Text
  Format is meant to be a platform and program independant format, so
  if your response is to limit the reading of the file to later
  versions of Microsoft Word, would it not therefore make more sense to
  simply save it in native Word .DOC format?

 You should understand that I'm not an author of RTF format, so I don't
know
 how and
 why does it work. I just know that Internet links are present in RTF since
 Microsoft
 supports Internet in Windows.

Yes, by adding customised control codes to the .RTF format and thereby
making non-standard extensions to a standardised document format! (Have you
not learned about Microsoft yet?)

 That mean both DOC and RTF files have these features.

Technically only for you.

 You can use Wordpad to read the RTF, if your Word can't do it.
 I use RTF because its functionality is 100% the same as DOC's one,
 and RTF files are 5-8 times shorter than DOC ones, since DOC uses unicode.

No, you are wrong. RTF functionality is not 100% the same as DOC
functionality. No, really, REALLY. Trust me here. Show me an RTF document
that supports revision marking, for example.
True, RTF files are 5-8 times smaller than DOC ones. This is because the RTF
files have 5-8 times less crap in them. Which in turn is because the RTF
format supports 5-8 times fewer features than the DOC format.

 I don't need unicode when writing English texts.

I take it, therefore, that you don't need to use the international
less-than-or-equal-to, greater-than-or-equal-to or not-equal symbols? Or any
number of a quite large bunch of useful symbols?

 When I write anything which contains @, it is passed as e-mail address.

I tried this. I couldn't recreate it at all.
I tried creating documents in Word, Wordpad and Notepad and loading them
into Word, Wordpad and Notepad. And not once did any of the email addresses
I put in the document have the stupid  { HYPERLINK
mailto:[EMAIL PROTECTED] }codes

 That's it. I didn't know that Dave Hooper can't see this in his Word.
 What can I do? I just use Word. I don't make commercial software, so I
can't
 test
 my RTF files on each machine and read line by line to see whether it is
okay
 or not. Do you understand it? I am glad that I have Word, and I don't have
 the older
 versions. That's still the same - you blame me for something what is not
my
 fault.

You just said yourself that you have (and use) Wordpad. Why not use wordpad
to create the .RTF file in the first place?
In fact, you could even load the .RTF file into Wordpad, select all, CUT,
new document, PASTE, and then resave, to remove any strange control codes
like { HYPERLINK }

In fact, you can just load the RTF into Wordpad and then re-save it again.


When distributing documentation, you should always make sure that whoever is
receiving your software is able to actually read that documentation!
Standard .RTF format is a safe bet. As in : what Wordpad does. Not : what
Word says it does.

D a v e



Hello

1999-11-30 Thread D.A. Fulton
Hi

Anyone remember me - an occasional poster to this list in the past?

I've now started a postgrad course, so I have free internet access for
another year (including an IP address for my own machine :) ) so I thought
I'd re-sub and see if anyone was still around.

So, what's been happenning in the last 6-7 months?

Who's still around?

BTW are Martin / Maria Rookyard still on?  I've just been reading through
the archives and realised that I never did receive my Hominrom.  The
cheque was never cashed, so I'm not fussed, but it could still be
persuaded to order another at some point!

Dave


--
|David A Fulton BSc(Hons) Dunelm |
|MPhil in Computer Speech  Natural Language Processing  |
|Hughes Hall, University of Cambridge|
--



Re: SAAEmu 0.61

1999-11-30 Thread Simon Cooke
From: Dave Hooper [EMAIL PROTECTED]
 Yes, by adding customised control codes to the .RTF format and thereby
 making non-standard extensions to a standardised document format! (Have
you
 not learned about Microsoft yet?)

Umm... given that to my knowledge, Microsoft invented and maintains the RTF
format, I think they're authorized to extend it in any way they feel fit.

IMNSHO, of course.

Simon