Re: NTLK Newton Palm emulator

From: Bill Davis (newton@ecity.net)
Date: Fri Mar 03 2000 - 02:06:59 EST


On 3/2/2000 4:13 PM, Lairson, David L
[mailto:David.Lairson@nav-international.com] wrote:

>I have a few technical questions about the newton that i cannot find an
>answer to. I'm looking into making an emulator for the palm on the newton.
>does anyone know what type of processor the newton uses? The palms use an
>off shoot of the original 068 mac processor.

That's Motorola (not Mac) 680x0 (68000, 68010, 68020, 68030 and 68040).

> Also does anyone know if the c libraries for the newton (from the newton c++
NTK)
> are the same, or close to the libraries for the mac?

Sorry, but no. They are not even similar. The C++ COMPILER for the
Newton NTK (actually, for the Macintosh Programming Workshop) is strictly
to let you compile bottleneck routines into native code to speed things
up. There's a major overhead for EVERY routine of C++ code you use, as I
recall, so it's not intended for use to compile your whole Newton
program.

The Newton is NOT a Mac. Totally different operating systems,
processors, etc. Code is not cross-compatible in ANY way whatsoever.
Most everything on the Newton (other than parts of the OS) is written in
NewtonScript, with (as I said) a few performance bottlenecks compiled
using C++

Roger Milne has done some stuff in ARM assembler, too.

>if they are, a port to a NOS 2.x would be
>relatively easy, if not it is a hell of a lot of work.

Sorry, you'll have to TOTALLY rewrite the emulator in NewtonScript. You
aren't going to be able to use the existing Palm emulator source AT ALL
(other than as a guide, of course, and perhaps some individual routines
for performance issues). I'm no NewtonScript guru, but I'm pretty sure
of that much from what the real guru's here have said and what I've read.

I wish you the very best of luck, I'd love to see it done....but you've
bitten off a HUGE piece of work.

 - Bill Davis

_____________________________________________________________________
 \\ /, "Ink Different" at Info-Newt, the site for Newton PDAs
`( Info-Newt Newton news & info web site: http://www.info-newt.com/
  \ Newton FTP Software archive: ftp://ftp.info-newt.com/
   = Newton Community FAQ: http://www.info-newt.com/faq/
             

******************************************
This month's NewtonTalk brought to you by:

EVOTE.COM, the ultimate Political Junkie site on the 'Net.

The Clinton Administration, the George Bush
2000 Campaign, and almost every other major
U.S. politician has said something nasty
about us at some time. Find out why at:
http://www.evote.com

******************************************

Need Subscribe/Unsubscribe info?
Visit http://www.planetnewton.com



This archive was generated by hypermail 2b29 : Wed May 03 2000 - 09:41:06 EDT