Squeak on Nokia 800

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

Squeak on Nokia 800

K. K. Subramaniam
Hi,

I could get Squeak to come up on Nokia 800 (OS2008) with vm-3.9-8 (unix) and
Squeakland plugin image. The VM was compiled using Maemo SDK in CHINOOK_ARMEL
target and then transfered to the tablet. The tablet won't execute programs
off its MMC card by default, so I had to copy squeak binary to /usr/bin and
then run the rest off the MMC card.

0 tinyBenchmarks
       22614840 bytecodes/sec; 764083 sends/sec
       22711142 bytecodes/sec; 724265 sends/sec
       22759601 bytecodes/sec; 767505 sends/sec
       22759601 bytecodes/sec; 754553 sends/sec
       22840827 bytecodes/sec; 760693 sends/sec

I was able to do the 'circling car' demo in Morphic. Halos, keyboard and sound
(vm-sound-OSS) don't work yet. After struggling with just cut-n-paste to get
the first set of benchmarks, I redirected $DISPLAY to another PC to continue
the work. Atleast keyboard and halos worked!

On native display, any host window operation (minimize, maximize, ..) freezes
the app. Response is slightly sluggish.

Is there any interest in this list in Nokia 800/810? Is Derek O'Connell still
working on the port?

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Göran Krampe
Hi!

I have a n810 and I am interested. Just haven't gotten around to the
Squeak part yet.

regards, Göran

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Brian Rice
In reply to this post by K. K. Subramaniam
I have a 770 and would be interested in greater integration  
possibilities, like use of the hardware buttons which are numbered  
function keys that Squeak thinks aren't portable enough to support.

Ideally, this code would be a configuration option/branch for the  
sources at squeakvm.org.

On Feb 5, 2008, at 5:54 AM, subbukk wrote:

> Hi,
>
> I could get Squeak to come up on Nokia 800 (OS2008) with vm-3.9-8  
> (unix) and
> Squeakland plugin image. The VM was compiled using Maemo SDK in  
> CHINOOK_ARMEL
> target and then transfered to the tablet. The tablet won't execute  
> programs
> off its MMC card by default, so I had to copy squeak binary to /usr/
> bin and
> then run the rest off the MMC card.
>
> 0 tinyBenchmarks
>       22614840 bytecodes/sec; 764083 sends/sec
>       22711142 bytecodes/sec; 724265 sends/sec
>       22759601 bytecodes/sec; 767505 sends/sec
>       22759601 bytecodes/sec; 754553 sends/sec
>       22840827 bytecodes/sec; 760693 sends/sec
>
> I was able to do the 'circling car' demo in Morphic. Halos, keyboard  
> and sound
> (vm-sound-OSS) don't work yet. After struggling with just cut-n-
> paste to get
> the first set of benchmarks, I redirected $DISPLAY to another PC to  
> continue
> the work. Atleast keyboard and halos worked!
>
> On native display, any host window operation (minimize,  
> maximize, ..) freezes
> the app. Response is slightly sluggish.
>
> Is there any interest in this list in Nokia 800/810? Is Derek  
> O'Connell still
> working on the port?
>
> Subbu

--
-Brian
http://briantrice.com


Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Göran Krampe
Hi!

Brian Rice <[hidden email]> wrote:
> I have a 770 and would be interested in greater integration  
> possibilities, like use of the hardware buttons which are numbered  
> function keys that Squeak thinks aren't portable enough to support.
>
> Ideally, this code would be a configuration option/branch for the  
> sources at squeakvm.org.

Oh, btw - I am hot-mirroring the SVN as a bazaar-ng repo - as an
experiment:

        http://goran.krampe.se/blog/Squeak/BzrOnDebian.rdoc

That blog article begins with lots of boring details - but ends by
showing you how to access two bazaar repos of the Squeak VM. One is the
online pristine mirror, the other is "experimental" - I can set up more
of those of course.

What does this mean? Well, AFAICT it means you can get your own full
repo - branch it - make a Nokia special branch or whatever - and still
continuously merge with the upstream mirror. Without the need for any
permission whatsoever. :)

regards, Göran

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Derek O'Connell-2
In reply to this post by K. K. Subramaniam
> Is there any interest in this list in Nokia 800/810? Is Derek O'Connell still
> working on the port?

Yes but because my N810 came after xmas I don't have much time at the
moment. I am also still getting familiar with vm/maemo code so going
is slow. Check my swiki entry later today and I will log what I have
done so far and link archives for bora and chinook builds. Short
version: compiles ok (no surprise), ALSA sound not working, ESD
abandoned (recording not supported), looking into gstreamer for sound
(and more). OSS (dev/dsp) not supported I think in OS2008. At least I
have Squeak in a gtk window with taskbar icon so it coexists nicely
with other apps/windows.

DOC

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

K. K. Subramaniam
In reply to this post by Göran Krampe
On Tuesday 05 Feb 2008 6:29:24 pm [hidden email] wrote:
> Hi!
>
> I have a n810 and I am interested. Just haven't gotten around to the
> Squeak part yet.
How about moving this thread to squeak-vm? That list has been quiet for too
long :-).

The Maemo team has done a splendid job in putting together a cross-compilation
kit for 8x0s but then the 8x0s is powerful enough to deserve a native
development env. Ideal for Forth and Smalltalk VM builders.

The current software stack on 8x0s is horribly bloated and don't do full
justice to the capabilities of the handheld. If we use Maemo to bootstrap
Squeak and use Squeak to boostrap Albert (or whatever Ian calls it these
days :-)) then we get a Pocket Alto. With 7 hours of active usage and 10 days
of standby time, the prospect of a pocket computer in which one can twiddle
all day long without reaching out for the nearest electrical socket is quite
appealing.

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

K. K. Subramaniam
In reply to this post by Brian Rice
On Tuesday 05 Feb 2008 10:27:32 pm Brian Rice wrote:
> I have a 770 and would be interested in greater integration
> possibilities, like use of the hardware buttons which are numbered
> function keys that Squeak thinks aren't portable enough to support.
Isn't 770 a little underpowered to run Morphic? Do you have any specific
purpose in mind?

Squeak isn't good when it comes to dealing with hardware. There are too many
hardcoded references to PC keyboard layout (like shiftPressed etc.). The VM
needs a plugin to map system-specific keycodes and buttons to soft buttons in
Squeak. Squeak badly needs a soft keyboard.

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Brian Rice

On Feb 5, 2008, at 10:59 PM, subbukk wrote:

> On Tuesday 05 Feb 2008 10:27:32 pm Brian Rice wrote:
>> I have a 770 and would be interested in greater integration
>> possibilities, like use of the hardware buttons which are numbered
>> function keys that Squeak thinks aren't portable enough to support.
> Isn't 770 a little underpowered to run Morphic? Do you have any  
> specific
> purpose in mind?

It runs it acceptably well. Bear in mind that I've been running Squeak  
on various ARM handheld devices since 1999. I inherited it cheaply  
from Aaron Reichow when he got a newer model. For me, it's just a  
Squeak machine, especially now that I have an iPhone, whose PIM  
capabilities are MUCH more usable. Unfortunately, the latter platform  
has been harder to work with so far as a developer.

> Squeak isn't good when it comes to dealing with hardware. There are  
> too many
> hardcoded references to PC keyboard layout (like shiftPressed etc.).  
> The VM
> needs a plugin to map system-specific keycodes and buttons to soft  
> buttons in
> Squeak. Squeak badly needs a soft keyboard.


Sure, that would be a good small step, achievable by even a casual  
Squeak user.

--
-Brian
http://briantrice.com


Reply | Threaded
Open this post in threaded view
|

RE: Squeak on Nokia 800

Gary Chambers-4
In reply to this post by K. K. Subramaniam
Looking forward to a usable port... (N810)


Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Dan Ingalls
In reply to this post by K. K. Subramaniam
>Squeak isn't good when it comes to dealing with hardware. There are too many
>hardcoded references to PC keyboard layout (like shiftPressed etc.). The VM
>needs a plugin to map system-specific keycodes and buttons to soft buttons in
>Squeak. Squeak badly needs a soft keyboard.

Check out my PianoKeyboardMorph from the previous century.  It's less than a page (and somewhat harder since it supports glissandi);  it should make a fine soft keyboard by just rewriting the layout method.  Shouldn't take a good Squeaker more than an hour or two.

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

dcorking
In reply to this post by K. K. Subramaniam
> Is there any interest in this list in Nokia 800/810? Is Derek O'Connell still
> working on the port?

I am interested in ARM devices, partly because an ARM machine like a
future iteration of the Nokia could well become one of the early
Dynabooks.  I may be wrong, but my hunch is that the ARM gives more
compute power per mWh than a mobile x86.

Secondly because I think it would be a nice portable Squeak toy and
PDA on the Openmoko platform (another touch screen ARM phone.)

I don't have a Nokia tablet, but I do have a Neo1973.  I didn't try
Squeak on it yet.

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Edgar J. De Cleene
In reply to this post by Dan Ingalls



El 2/6/08 4:19 PM, "Dan Ingalls" <[hidden email]> escribió:

>> Squeak isn't good when it comes to dealing with hardware. There are too many
>> hardcoded references to PC keyboard layout (like shiftPressed etc.). The VM
>> needs a plugin to map system-specific keycodes and buttons to soft buttons in
>> Squeak. Squeak badly needs a soft keyboard.
>
> Check out my PianoKeyboardMorph from the previous century.  It's less than a
> page (and somewhat harder since it supports glissandi);  it should make a fine
> soft keyboard by just rewriting the layout method.  Shouldn't take a good
> Squeaker more than an hour or two.
>

Here two ways of doing buttons for entry
http://ar.geocities.com/edgardec2001/CalcuMorph.htm "Traditional Morphic"
http://wiki.gnulinex.org/squeakros/107 "Using MCTool"
We could have some #(q w e r t y u I o p) #(a s d f g h j k l) #(z x c v b n
m) for build the keyboard.

I still don't have a Nokia 800 , but very interested in any news.

Edgar



Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Brian Rice
In reply to this post by Dan Ingalls

On Feb 6, 2008, at 11:19 AM, Dan Ingalls wrote:

>> Squeak isn't good when it comes to dealing with hardware. There are  
>> too many
>> hardcoded references to PC keyboard layout (like shiftPressed  
>> etc.). The VM
>> needs a plugin to map system-specific keycodes and buttons to soft  
>> buttons in
>> Squeak. Squeak badly needs a soft keyboard.
>
> Check out my PianoKeyboardMorph from the previous century.  It's  
> less than a page (and somewhat harder since it supports glissandi);  
> it should make a fine soft keyboard by just rewriting the layout  
> method.  Shouldn't take a good Squeaker more than an hour or two.


InputMethods from http://squeaksource.com/Faure/ has some descendants  
of this code, slightly generalized. Yes, I've planned for all of this,  
muhahahaha! *ahem* :)

(For an encore, someone should mention iPhone LayerKit aka Core  
Animation transitions.)

--
-Brian
http://briantrice.com


Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Tony Garnock-Jones-2
In reply to this post by dcorking
Hi David,

David Corking wrote:
> I don't have a Nokia tablet, but I do have a Neo1973.  I didn't try
> Squeak on it yet.

See http://www.lshift.net/blog/2007/08/23/squeak-and-openembedded for a
report on my experiments running Squeak on a GTA01.

Regards,
   Tony

Reply | Threaded
Open this post in threaded view
|

Re: Squeak on Nokia 800

Torsten Sadowski
Hi,

I would like to try it out, but flow2a5.tar.gz has vanished from netjam.org.

Cheers, Torsten

Am Mittwoch, 20. Februar 2008 21:07 schrieb Tony Garnock-Jones:

> Hi David,
>
> David Corking wrote:
> > I don't have a Nokia tablet, but I do have a Neo1973.  I didn't try
> > Squeak on it yet.
>
> See http://www.lshift.net/blog/2007/08/23/squeak-and-openembedded for a
> report on my experiments running Squeak on a GTA01.
>
> Regards,
>    Tony