sound recording in Scratch with new VM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

sound recording in Scratch with new VM

johnmci

For people keeping track of this, as earlier discussed we grabbed some number primitives originally used by Sockets  in the early part
of the last decade for use by the Closure VM, which makes running a Scratch image difficult. Mind it's 5 minutes work to fix in the image.

This evening I discovered that sound recording was changed at some point and the numbered primitives are now marked obsolete.

        /* 190*/ (void *)primitiveObsoleteIndexedPrimitive,
        /* 191*/ (void *)primitiveObsoleteIndexedPrimitive,
        /* 192*/ (void *)primitiveObsoleteIndexedPrimitive,
        /* 193*/ (void *)primitiveObsoleteIndexedPrimitive,
        /* 194*/ (void *)primitiveObsoleteIndexedPrimitive,


--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Scratch with new VM

David T. Lewis
 
On Mon, Feb 01, 2010 at 10:56:25PM -0800, John M McIntosh wrote:

>
> For people keeping track of this, as earlier discussed we grabbed some number primitives originally used by Sockets  in the early part
> of the last decade for use by the Closure VM, which makes running a Scratch image difficult. Mind it's 5 minutes work to fix in the image.
>
> This evening I discovered that sound recording was changed at some point and the numbered primitives are now marked obsolete.
>
> /* 190*/ (void *)primitiveObsoleteIndexedPrimitive,
> /* 191*/ (void *)primitiveObsoleteIndexedPrimitive,
> /* 192*/ (void *)primitiveObsoleteIndexedPrimitive,
> /* 193*/ (void *)primitiveObsoleteIndexedPrimitive,
> /* 194*/ (void *)primitiveObsoleteIndexedPrimitive,
>
>
> --
> ===========================================================================
> John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================

Thanks John,

(CC to John Maloney)

I added this information to http://bugs.squeak.org/view.php?id=7454

Dave


 
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Scratch with new VM

K. K. Subramaniam
In reply to this post by johnmci
 
On Tuesday 02 February 2010 12:26:25 pm John M McIntosh wrote:
> This evening I discovered that sound recording was changed at some point
>  and the numbered primitives are now marked obsolete.
>
>         /* 190*/ (void *)primitiveObsoleteIndexedPrimitive,
>         /* 191*/ (void *)primitiveObsoleteIndexedPrimitive,
>         /* 192*/ (void *)primitiveObsoleteIndexedPrimitive,
>         /* 193*/ (void *)primitiveObsoleteIndexedPrimitive,
>         /* 194*/ (void *)primitiveObsoleteIndexedPrimitive,
How does one search for senders/implementers of a numbered primitive in
Squeak?

TIA .. Subbu
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Scratch with new VM

Levente Uzonyi-2
 
On Wed, 3 Feb 2010, K. K. Subramaniam wrote:

>
> On Tuesday 02 February 2010 12:26:25 pm John M McIntosh wrote:
>> This evening I discovered that sound recording was changed at some point
>>  and the numbered primitives are now marked obsolete.
>>
>>         /* 190*/ (void *)primitiveObsoleteIndexedPrimitive,
>>         /* 191*/ (void *)primitiveObsoleteIndexedPrimitive,
>>         /* 192*/ (void *)primitiveObsoleteIndexedPrimitive,
>>         /* 193*/ (void *)primitiveObsoleteIndexedPrimitive,
>>         /* 194*/ (void *)primitiveObsoleteIndexedPrimitive,
> How does one search for senders/implementers of a numbered primitive in
> Squeak?

It depends on the version of Squeak. The senders of #primitive: may be a
good start, though it will give you false positives.


Levente

>
> TIA .. Subbu
>
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Scratch with new VM

K. K. Subramaniam
 
On Wednesday 03 February 2010 09:14:38 am Levente Uzonyi wrote:
> It depends on the version of Squeak. The senders of #primitive: may be a
> good start, though it will give you false positives.
A plain string search for "<primitive: 123" is what I do today. I was looking
for a simpler way.

Subbu
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Scratch with new VM

Andreas.Raab
In reply to this post by K. K. Subramaniam
 
K. K. Subramaniam wrote:

>  
> On Tuesday 02 February 2010 12:26:25 pm John M McIntosh wrote:
>> This evening I discovered that sound recording was changed at some point
>>  and the numbered primitives are now marked obsolete.
>>
>>         /* 190*/ (void *)primitiveObsoleteIndexedPrimitive,
>>         /* 191*/ (void *)primitiveObsoleteIndexedPrimitive,
>>         /* 192*/ (void *)primitiveObsoleteIndexedPrimitive,
>>         /* 193*/ (void *)primitiveObsoleteIndexedPrimitive,
>>         /* 194*/ (void *)primitiveObsoleteIndexedPrimitive,
> How does one search for senders/implementers of a numbered primitive in
> Squeak?

SystemNavigation new browseAllSelect:[:cm| cm primitive = 1].

Cheers,
   - Andreas
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Scratch with new VM

Levente Uzonyi-2
In reply to this post by K. K. Subramaniam
 
On Wed, 3 Feb 2010, K. K. Subramaniam wrote:

> On Wednesday 03 February 2010 09:14:38 am Levente Uzonyi wrote:
>> It depends on the version of Squeak. The senders of #primitive: may be a
>> good start, though it will give you false positives.
> A plain string search for "<primitive: 123" is what I do today. I was looking
> for a simpler way.

Andreas gave the best answer, that's exactly what you need.


Levente

>
> Subbu
>
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Scratch with new VM

K. K. Subramaniam
In reply to this post by Andreas.Raab
 
On Wednesday 03 February 2010 10:00:12 am Andreas Raab wrote:
> SystemNavigation new browseAllSelect:[:cm| cm primitive = 1].
Perfect!

Thanks .. Subbu