maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Newton - Einstein (https://talk.maemo.org/showthread.php?t=7752)

maxilogan 2007-07-16 08:16

Newton - Einstein
 
http://dillernet.com/apple/2007/07/1...s-open-source/

Will we ever see it fully functional, and most of all fullscreen? I could think of buying back an 770 for this... Or if they really can port it to N800 too...

johsua 2007-07-16 09:15

Re: Newton - Einstein
 
I don't understand why it's not rotated by 90 deg? Of course, I don't understand why only fbreader can be rotated, but none of the other programs I use can be. It's a nice function.

maxilogan 2007-07-16 09:37

Re: Newton - Einstein
 
For FB Reader is something built in the program. Being Einstein an emulator, thought for other platforms and ported to the 770, guess that it could be implemented but it still not is.. :(

Rocketman 2007-07-16 09:39

Re: Newton - Einstein
 
Support for screen rotation would be a real nice addition to the Maemo platform. Unfortunately, I don't think it is real high on Nokia's priority list. While it is possible to run the Hildon UI on a laptop or other non NIT device with a high resolution screen, I wonder what accommodation there is currently for running with a lower horizontal resolution, given that the toolbars would be "sqwished."

You might be interested in this article that talks about some of the limitations/faults of the Hildon UI, from the perspective of a Newton fan. The Newton is definitely one device from which anyone designing a UI for a touchscreen based product could learn a thing or two.

Karoliina is also giving a talk about using Hildon on other devices than the NITs at Guadec. It looks like video may be available, so it might be worth watching.

http://guadec.org/node/547

Karel Jansens 2007-07-16 09:44

Re: Newton - Einstein
 
Quote:

Originally Posted by maxilogan (Post 60319)
For FB Reader is something built in the program. Being Einstein an emulator, thought for other platforms and ported to the 770, guess that it could be implemented but it still not is.. :(

The original Newton screen resolution was/is 320x480, and I suppose it's easier to boot early deelopment releases in that resolution. NewtonOS in itself supports higher resolutions, and colour as well, but it's not there yet. Patience...

(I hate Patience. She's a b*tch). :D

maxilogan 2007-07-16 10:07

Re: Newton - Einstein
 
Quote:

Originally Posted by Rocketman (Post 60320)
I wonder what accommodation there is currently for running with a lower horizontal resolution, given that the toolbars would be "sqwished."

I was asking for screen rotation support in Einstein, I think that giving the target of the ITT (browsing etc.) the landscape screen is definitely the best option. I do think anyway (maybe it is because I am used at using it that way) that for a PDA a portait is better. That's why I still own two different devices for PDA use and to browse (N800 + TH55)

EDIT: well, if the OS supports higher resolutions than the standard 320x480 screen, guess that the full-screen functioning should be enough, without need for rotating the view.

statwrangler 2007-07-16 11:29

Re: Newton - Einstein
 
A pointer in this thread to an installable package for IT2006 would be helpful to those unfamiliar with compiling.

framerate 2007-07-16 13:32

Re: Newton - Einstein
 
Anyone have this running on N800 yet? I'd love to play with it.

Paul Guyot 2007-07-16 13:38

Re: Newton - Einstein
 
Screen rotation is built-in into Einstein, it works very well on MacOS X (as full screen), it's just a little bit buggy on X11 and it needs more work. The file to work on is this one:

http://einstein.googlecode.com/svn/t...reenManager.cp

Instructions for building the binary are available on the wiki, here:

http://code.google.com/p/einstein/wi...ldInstructions

It probably isn't very difficult to build a Maemo interface, I'm just focusing on other parts such as the ARM to ARM new module (executing Newton code nearly natively on the Nokia and other arm-linux PDAs), especially considering that I don't have a Linux box with scratchbox installed, instead I use a port of the CodeSourcery toolchain that I made available through MacPorts.

Concerning the N800, Sean Luke got it running on his. However, when I tried on another N800 at the WWNC, there was a problem with libXau. I cannot fix that myself, but it probably is as easy as putting a copy of this new version of libXau and linking with -L instead of the path to the library.

maxilogan 2007-07-16 14:12

Re: Newton - Einstein
 
Quote:

Originally Posted by Paul Guyot (Post 60348)
Concerning the N800, Sean Luke got it running on his. However, when I tried on another N800 at the WWNC, there was a problem with libXau. I cannot fix that myself, but it probably is as easy as putting a copy of this new version of libXau and linking with -L instead of the path to the library.

Wow! Paul in person! Thanks for your interest!

Do the N800 need to get more free memory as the 770 needs, or is the onboard one (which is doubled in regards to the 770) enough?

Paul Guyot 2007-07-16 21:43

Re: Newton - Einstein
 
This new version uses less RAM and you do not need any special trick to run it on the 770 with IT2006 or on the N800. You can just start it from the terminal in Maemo.

Paul

maxilogan 2007-07-27 13:38

Re: Newton - Einstein
 
I'm sorry but I'm just an hello-world-programmer, so my question is: I do not worry about self compiling something, but the guide seems to talk only about compiling on MacOSX, while I can use just WinXP or my ubuntu edgy box...

Is there any chance to compile on one of the above mentioned operating systems?

stevenf 2007-07-27 18:10

Re: Newton - Einstein
 
Furthermore, is there a link anywhere to simply download the latest Maemo build?

iball 2007-07-27 18:35

Re: Newton - Einstein
 
As an old user who used to own an MP 120, I would love to see this Einstein ported over to the N800 and made available as an installable package.
Now to hunt down an MP 2100 firmware image...

Karel Jansens 2007-07-27 20:08

Re: Newton - Einstein
 
Quote:

Originally Posted by iball (Post 63593)
As an old user who used to own an MP 120, I would love to see this Einstein ported over to the N800 and made available as an installable package.
Now to hunt down an MP 2100 firmware image...

The only legal way you can obtain that firmware is by owning a MessagePad 2000/2100, or at the very least its complete motherboard (although in the latter case I wish you all the best in extracting the ROM image -- AFAIK it can only be done from a working MessagePad).

Be advized that Apple is apparently following the OpenEinstein project with its usual beady patent lawyer eyes and that any illegal providing of MessagePad ROM images might result in a swift termination of the project. This is one case I certainly don't want the P2P "community" to jump on.

speculatrix 2007-07-27 20:47

Re: Newton - Einstein
 
I wonder if Apple would be willing to sell a license for the Newton roms?

Karel Jansens 2007-07-27 21:38

Re: Newton - Einstein
 
Quote:

Originally Posted by speculatrix (Post 63627)
I wonder if Apple would be willing to sell a license for the Newton roms?

They most likely don't even own large parts of it. Apparently the specs of certain chips on the motherboard (the Cirrus Voyager chipset?) are already lost in cyberspace.

barry99705 2007-07-27 22:55

Re: Newton - Einstein
 
Quote:

Originally Posted by Karel Jansens (Post 63623)
The only legal way you can obtain that firmware is by owning a MessagePad 2000/2100, or at the very least its complete motherboard (although in the latter case I wish you all the best in extracting the ROM image -- AFAIK it can only be done from a working MessagePad).

Be advized that Apple is apparently following the OpenEinstein project with its usual beady patent lawyer eyes and that any illegal providing of MessagePad ROM images might result in a swift termination of the project. This is one case I certainly don't want the P2P "community" to jump on.

Don't forget the eMate!

Karel Jansens 2007-07-28 02:09

Re: Newton - Einstein
 
Oops! Sorry...

iball 2007-07-28 03:02

Re: Newton - Einstein
 
Quote:

Originally Posted by Karel Jansens (Post 63623)
The only legal way you can obtain that firmware is by owning a MessagePad 2000/2100, or at the very least its complete motherboard (although in the latter case I wish you all the best in extracting the ROM image -- AFAIK it can only be done from a working MessagePad).

Be advized that Apple is apparently following the OpenEinstein project with its usual beady patent lawyer eyes and that any illegal providing of MessagePad ROM images might result in a swift termination of the project. This is one case I certainly don't want the P2P "community" to jump on.

That's nice. It's easily found ANYWAY if one knows where to look.
Einstein runs great on my Macbook Pro, now to just git 'er done on the N800.
Don't bother asking ME for it, it's a rite of passage into the Newton world.

EDIT: I've setup the dev environment on my Macbook Pro and am now working on compiling it for the N800.

iball 2007-07-28 05:19

Re: Newton - Einstein
 
Okay, so I got it compiled and it seems like it runs on my N800. At least I can get it to dump the the --help info.
Just one problem...while the OS X version of Einstein runs just fine with the developer ROM image, Einstein on the N800 refuses to run it at all and seems to require a real ROM dump from an MP. Tried various machine switches, but to no avail.
Einstein on the N800 weighs in at a hefty 15.6 MB too. I know NOTHING about building deb packages for the N800, so if someone else with a dumped MP ROM - NOT the Senior ROM - wants to try this out, send me a PM with a decent place to upload my compiled Einstein-for-N800 binary.

dillera 2007-07-28 23:00

Re: Newton - Einstein
 
I've built the latest revision from Google code (48) and I have it up on my site for download.

http://dillernet.com/apple/2007/07/2...for-nokia-770/

This is for the Nokia 770, ITOS 2006.

You need to have your own Newton ROM, or don't bother.

I can host the N800 binary on my site if someone can send it to me. Also-- if you are worried about size, bzip2 makes that 16meg file on about 2 megs!

-andy

statwrangler 2007-07-29 17:22

Re: Newton - Einstein
 
Thanks for 770 compile.
I installed it last night successfully but have spent the time until now experimenting with Keyspan and classic on two laptops -- without success.
But 100 miles and one month away I have a retired OS 9 laptop with an external CD writer.
For now, all I can do is let you know that you did your bit well.

stevenf 2007-08-01 00:26

Re: Newton - Einstein
 
N800 binary, anyone? I'd be happy to host it.

maxilogan 2007-08-01 05:56

Re: Newton - Einstein
 
yes, just waiting for that, mee too. I don't have a Mac so I cannot compile it by myself :(

stevenf 2007-08-01 14:19

Re: Newton - Einstein
 
iball sent me his N800 binary. I've put it up here:

http://stevenf.com/downloads/einstein800.gz

I haven't tried it yet because I have to hurry up and get to work. But the file's there for anyone who's feeling daring.

stevenf 2007-08-01 16:30

Re: Newton - Einstein
 
Update: It seems to run OK, but whatever is supposed to link it to the windowserver doesn't seem to work; no window or display ever appears.

Basically, to set this up:

1. Download and extract the binary, and put it somewhere on your N800's memory (not a card). I just put it in my home directory.

2. Make it executable (chmod +x einstein)

3. Copy your ROM file to the same directory. Also copy Einstein.rex from the main distribution to the same directory.

4. Run it from the terminal: ./einstein .

At this point the Einstein platform loads, and the emulation appears to be running, but there is no display.

NOTE: Please don't ask me for the ROM. It is ILLEGAL for me to give it to you. I actually own a MessagePad 2100 (actually, three of them :))

maxilogan 2007-08-07 07:45

Re: Newton - Einstein
 
Did anyone manage to have this working on the N800? Did the problems related to the emulator showing nothing got a solution? :confused:

iball 2007-08-07 08:32

Re: Newton - Einstein
 
Well, since this was the first thing I've ever compiled for the N800 I guess it will work. What's really surprising is that it was compiled OUT of scratchbox (look at the compile directions...weird). I just setup scratchbox today, so I might go back to it.
I followed the instructions to the letter and didn't get any errors whatsoever, so maybe it needs tweaking on the command line? Or a hidden config file? Check to see if any config file(s) are created when running it with a real ROM image.
I wish he had made it compatible with the dev Newton OS image, but oh well...maybe a peek at the code will reveal "the secret" if any of you want to take a gander at it to see if it can be hacked to run the dev NOS ROM.
The Mac OS X Einstein app runs the dev image perfectly.
For those of you out there with REAL Newton ROMs, can you setup scratchbox and see if it runs in there?
Damn, now I have to hit up eBay for a real MP2100. Oh well, always wanted one anyway. I kinda miss my old MP120 I used in Bosnia in '96...great little portable fax machine at the time.
Already have the Palm emulator running on my N800, would love to eventually get Einstein going for my "three-pdas-in-one" device.

p.s. Glad you got it steven, I figured it crashed out or something after the upload so I wasn't sure it uploaded all the way...should have bzip2'd the damn thing first. :) Sorry it doesn't work, contact the author maybe? Perhaps there's a compile switch that needs to be used that isn't documented in the instructions I followed?
Or does the Einstein.rex file that the 770 version uses also need to be used on the N800? It's on Diller's site.

statwrangler 2007-08-08 12:29

Re: Newton - Einstein
 
The most difficult challenge in obtaining the Newton ROM was finding and starting my ancient 1400c and a compatible CD writer. The ROM is now installed in the 770.

Dillera in his link in post 22 gives instructions on running Einstein that left me uncertain about two things. I would like to know
i) must ssh be used or does einstein run stand alone (under xterm) and
ii) does it run (and exit politely (no battery pulls)) without first "killing OSS/Maemo/Hildon" as mentioned in the link.

Thanks,

maxilogan 2007-10-08 10:15

Re: Newton - Einstein
 
Any news on fullscreen / screen rotation for N800 / 770?

spiderxman 2008-09-04 13:22

Re: Newton - Einstein
 
Quote:

Originally Posted by stevenf (Post 64680)
Update: It seems to run OK, but whatever is supposed to link it to the windowserver doesn't seem to work; no window or display ever appears.

Basically, to set this up:

1. Download and extract the binary, and put it somewhere on your N800's memory (not a card). I just put it in my home directory.

2. Make it executable (chmod +x einstein)

3. Copy your ROM file to the same directory. Also copy Einstein.rex from the main distribution to the same directory.

4. Run it from the terminal: ./einstein .

At this point the Einstein platform loads, and the emulation appears to be running, but there is no display.

hmm...

I unpack files in /home/user/MyDocs/.document/newton

after make execute and run "./einstein" platforn loads and type:
========
Welcome to Einstein console.
This is Einstei Platform 2007.7
./einstein -- syntax error
syntax is ./einstein [option] path_to_data
========

Ok. ROM file copied in same dir and named 717006. I type "./einstein 717006"

sysyem type:
=====
Welcome to Einstein console.
This is Einstei Platform 2007.7
Can't start ROM file '717006/717006'
=====

ok. I rename "717006" to "rom-image"

sysyem type:
...
Can't start ROM file 'rom-image/717006'
...

???
And if I creat subfolder "rom-image" and move 717006 into, after run "./einstein rom-image" system type:
...
ROM file should be 8MB long
...
But file "717006" - 8.9MB!!! And, of course, this ROM full works on Einstei Platform 2007.7 for Windows!!!

:mad: WTF?

Quote:

Originally Posted by stevenf (Post 64680)
NOTE: Please don't ask me for the ROM. It is ILLEGAL for me to give it to you. I actually own a MessagePad 2100 (actually, three of them :))

I don't understand you - working ROM file can be official download from www.unna.org (from /apple/development/DDKs)

maxilogan 2008-09-05 05:28

Re: Newton - Einstein
 
I did hope for lots of time for this to become a reality, but now I do not have great expectations anymore :( if I had some more programming skills or experience I would gladly help the community in the developement

jonathandueck 2008-09-05 13:51

Re: Newton - Einstein
 
Hi, all,
Maybe the windowserver problem is related to what Paul Guyot notes in his NokiaBuildInstructions here:
http://code.google.com/p/einstein/wi...ldInstructions

To wit (quoting Paul on the above web page):
"I believe that the Nokia 800 with OS2007 has a different version of libXau. It's now libXau.so.6 instead of libXau.so.0. The above method will compile against libXau.so.0 (which I directly copied from a Nokia 770 with OS2006), and therefore the binary will not run. I would be grateful if someone with a Nokia 800 and OS2007 could check that and possibly fix the problem by either:

1. Create a specific nokia2007 target with the new libXau
2. or try to use -L instead, so that the binary will run on both platforms and dynamically choose the proper binary. "

I'm wondering if OS2008 doesn't introduce a libXau? In any case, I couldn't figure out how to create either an nokia2007 or nokia2008 target, but would love to. Any hints, anyone?

I'd love to get this working! (Especially if emulated serial ports or ethernet would begin to work--then we could sync this bad boy with Basilisk.)

Best,
Jon

spiderxman 2008-09-05 15:16

Re: Newton - Einstein
 
I don't have a mac, and I download compiled binaries for Nokia 770 (ITOS 2006) from
http://dillernet.com/apple/2007/07/2...for-nokia-770/


All times are GMT. The time now is 16:09.

vBulletin® Version 3.8.8