BBC BASIC for Windows
General >> General Board >> BBC4 Raspberry ?
http://bb4w.conforums.com/index.cgi?board=general&action=display&num=1417897894

BBC4 Raspberry ?
Post by hitsware on Dec 6th, 2014, 7:31pm

Richard ,

Is this your BASIC ?

https://www.riscosopen.org/content/sales/risc-os-pico
Re: BBC4 Raspberry ?
Post by rtr2 on Dec 6th, 2014, 8:23pm

on Dec 6th, 2014, 7:31pm, hitsware wrote:
Is this your BASIC?

Not mine - wrong processor! It's presumably Sophie's (i.e. Acorn's) ARM BASIC 5 (or possibly 6) as bundled with RISC OS, but exactly which version I don't know. Relevant to you is that it will almost certainly be a version in which the ENVELOPE statement is accepted but does nothing!

It's likely that Jonathan Harston's variant, with a few BB4W features added, can alternatively be soft-loaded. Sadly, work to develop this further appears to have been abandoned.

Richard.

Re: BBC4 Raspberry ?
Post by hitsware on Dec 7th, 2014, 01:12am

" ENVELOPE " is a masterpiece of software emulating hardware .
( the soundchip in the BBC's ....AY or SN et. al. )

And maybe the emulation out-sounds the model

laugh
Re: BBC4 Raspberry ?
Post by rtr2 on Dec 7th, 2014, 10:42am

on Dec 7th, 2014, 01:12am, hitsware wrote:
"ENVELOPE" is a masterpiece of software emulating hardware.

Here's an article I wrote recently which demonstrates some of the power of SOUND and ENVELOPE:

http://bb4w.wikispaces.com/Playing+an+arpeggio

Richard.
Re: BBC4 Raspberry ?
Post by hitsware on Dec 8th, 2014, 03:22am

Would you dare a short history of the evolution of
the commands between when they were directed
to the original sound chips ............ and the way
now they use the Windows api(?) ......
Re: BBC4 Raspberry ?
Post by hitsware on Dec 11th, 2014, 02:41am

https://www.youtube.com/watch?v=ePhUBBGyVmI
Re: BBC4 Raspberry ?
Post by hitsware on Apr 25th, 2015, 12:44am

on Dec 8th, 2014, 03:22am, hitsware wrote:
Would you dare a short history of the evolution of
the commands between when they were directed
to the original sound chips ............ and the way
now they use the Windows api(?) ......


Evedently Not ......
Re: SOUND and ENVELOPE
Post by rtr2 on Apr 25th, 2015, 09:24am

on Apr 25th, 2015, 12:44am, hitsware wrote:
Evedently Not ......

I don't understand the question. There has been no deliberate "evolution": the SOUND and ENVELOPE statements in BB4W are as functionally compatible with those in the original BBC Microcomputer as I was able to make them, given the constraints of the Windows API, CPU power (especially back in the Windows 95 days) and my coding skills!

Also, as far as I recollect, there have been no changes at all in the functionality of SOUND and ENVELOPE in BB4W since the beginning (more than 13 years ago), except of course for the introduction of *TEMPO and its use to enable 4 'tone' channels rather than 1 'noise' plus 3 'tone'.

Richard.
Re: SOUND and ENVELOPE
Post by hitsware on Apr 26th, 2015, 12:41am

Did you ever write to (for) the original chip ?


Re: SOUND and ENVELOPE
Post by rtr2 on Apr 26th, 2015, 02:39am

on Apr 26th, 2015, 12:41am, hitsware wrote:
Did you ever write to (for) the original chip ?

No, I know nothing about programming it.

R.
Re: SOUND and ENVELOPE
Post by hitsware on Apr 26th, 2015, 5:11pm

So the sound commands for the original PC's
(with the chip) were the same as the current
version? I guess that's what throws me for a
loop, since with the PC's I had in those days
(Commodore) one had the addresses of the
chip registers, and their function, but nothing
close to as formalized. Was that some of the
fabled Sophie's work ?

Re: SOUND and ENVELOPE
Post by rtr2 on Apr 26th, 2015, 5:48pm

on Apr 26th, 2015, 5:11pm, hitsware wrote:
So the sound commands for the original PC's (with the chip) were the same as the current version?

If you are asking whether the SOUND and ENVELOPE statements were in the original BBC Micro version of BBC BASIC, yes they were. They have been there from the start.

Quote:
with the PC's I had in those days (Commodore) one had the addresses of the chip registers, and their function, but nothing close to as formalized.

That wouldn't have been much use on the BBC Micro, because the sound chip it used was 'dumb' (no kind of envelope control, for example). ENVELOPE is entirely done in software, AFAIK.

Quote:
Was that some of the fabled Sophie's work ?

Unlikely. I don't think she worked on the Operating System (MOS) ROM at all. More probably Paul Bond.

Richard.
Re: BBC4 Raspberry ?
Post by Torro on Jul 27th, 2015, 2:02pm

If only lol https://www.youtube.com/watch?v=9-CopSDCBEE