home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / palmtops / newton / faq / nos < prev    next >
Encoding:
Text File  |  2002-10-01  |  52.3 KB  |  1,060 lines

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!howland.erols.net!skynet.be!skynet.be!freenix!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news1-1.free.fr!not-for-mail
  2. From: Paul Guyot <spam@kallisys.com>
  3. Organization: Kallisys
  4. User-Agent: PostFAQ Script 2.0
  5. Mail-Copies-To: never
  6. Newsgroups: comp.sys.newton.misc,comp.answers,news.answers
  7. Followup-To: comp.sys.newton.misc
  8. Subject: Newton FAQ: Part III - NewtonOS [5/9]
  9. Summary: This posting gives answers to most questions concerning the Newton
  10.  Message Pads. Please read before posting to comp.sys.newton.* newsgroups.
  11.  This part is about system versions, use of the NOS & problems.
  12. Message-ID: <palmtops/newton/faq/nos-20021001@enki.continuity.cx>
  13. References: <palmtops/newton/faq/index-20021001@enki.continuity.cx>
  14. Supersedes: <palmtops/newton/faq/nos-20020901@enki.continuity.cx>
  15. X-Disclaimer: Approval for *.answers is based on form, not content.
  16. Approved: news-answers-request@MIT.EDU
  17. Date: 01 Oct 2002 04:00:25 GMT
  18. Lines: 1035
  19. NNTP-Posting-Date: 01 Oct 2002 06:00:25 MEST
  20. NNTP-Posting-Host: 209.212.89.162
  21. X-Trace: 1033444825 news1-1.free.fr 28751 209.212.89.162
  22. X-Complaints-To: abuse@proxad.net
  23. Xref: senator-bedfellow.mit.edu comp.sys.newton.misc:164894 comp.answers:51487 news.answers:238728
  24.  
  25. Archive-name: palmtops/newton/faq/nos
  26. Posting-Frequency: monthly
  27. Last-modified: 2002/10/01
  28. URL: http://www.thisoldnewt.net/html/FAQ/newton-faq-nos.html,
  29.  http://www.guns-media.com/mirrors/newton/faq/newton-faq-nos.html,
  30.  http://www.splorp.com/newton/faq/newton-faq-nos.html,
  31.  http://www.geocities.com/newtonresurrection/newton-faq-nos.html,
  32.  http://www.cat2.com/newton/Newton-FAQ/newton-faq-nos.html,
  33.  http://www.chuma.org/newton/faq/newton-faq-nos.html
  34. Version: This is the October 2002 update
  35. Maintainer: Steve Weyer <weyer@kagi.com>,
  36.  Peter Rand <rand_peter@hotmain.com>,
  37.  Sean Luke <seanl@cs.umd.edu> and Paul Guyot <pguyot@kallisys.net>
  38.  
  39. PART III: Newton OS
  40.  
  41. * A) System Versions
  42.   + 1) What are the different Newton OS (NOS) versions?
  43.   + 2) What system upgrades are available for my Newton? Which one is the
  44. most recent? Where can I find it?
  45.     x a) US updates
  46.     x b) German updates
  47.     x c) French updates
  48.     x d) What is the numbering system?
  49.   + 3) How do I find out which NOS version I have?
  50.   + 4) What are the differences between OS versions?
  51.     x a) NOS 2.x is really different from NOS 1.x
  52.     x b) NOS 2.1 has some additional features compared to NOS 2.0.
  53.     x c) Latest revision (US MP2x00: 710031) of NOS 2.1
  54.     x d) eMate 737246
  55. * B) Using the Newton OS
  56.   + 1) How do I find the Newton's built-in helpbook?
  57.   + 2) What are the different ways to reset the Newton OS?
  58.     x a) Soft Reset
  59.     x b) Deep Reset
  60.     x c) Reset With Extensions Off
  61.     x d) MP2000 and MP2100 Power-Drain Reset
  62.     x e) Hard Reset ("Brainwipe")
  63.     x f) Cold boot
  64.   + 3) Transferring data to and from the Newton
  65.     x a) What are the various methods to input data on the Newton?
  66.     x b) What are the various methods of transferring data to/from the
  67. desktop?
  68.     x c) Can I use IrDA (infrared) to transfer information between my
  69. desktop and my 2.x Newton?
  70.     x d) What are the various methods to synchronize my data with a desktop
  71. computer?
  72.     x e) What are the various terminal softwares available for Newton?
  73.     x f) How can I transfer data between my Newton and another PDA?
  74.   + 4) What are the alternatives to the original HWR?
  75.   + 5) Can I change the fax cover page?
  76.   + 6) How do I find out information about a package in Extras?
  77.   + 7) How do I take screen shots?
  78.   + 8) Where can I find my Newton's ID?
  79.   + 9) Storage space arithmetic
  80.   + 10) Is there any virus on NewtonOS?
  81. * C) Troubleshooting
  82.   + 1) Is Newton Y2K compliant?
  83.   + 2) Are there known bugs into Newton OS?
  84.     x a) I've heard about the nasty -10061 error on MP2x and eMate -- how
  85. can I reduce/prevent this?
  86.     x b) What is the Dates/Find bug?
  87.     x c) When I write, sometimes some strokes do not appear or disappear.
  88.     x d) When I do a find with NewtWorks, the free memory amount falls.
  89.     x e) What are these -16022 errors every time I try to use my modem?
  90.     x f) When I insert a memory card, I get a -10582 error. What's wrong?
  91.     x g) When I insert a flash memory card, my MP2x00 tells me the battery
  92. in the card needs to be replaced.
  93.     x h) I installed a new version of the backdrop application I'm using
  94. and I can't see it.
  95.   + 3) Packages on other platforms
  96.     x a) On my Mac, the icon of a .pkg file is plain, and NPI refuses it.
  97.     x b) When I download a .pkg via my Newton web browser, it's not
  98. recognized as a package.
  99.     x c) I can't expand StuffIt archives (on both platform).
  100.     x d) I have problems with a package on Windows
  101.   + 4) Why does the I/O Box always open to Out Box? Can I change that?
  102.   + 5) Why does the available memory decrease when the Newton is idle?
  103. * D) Miscellaneous
  104.   + 1) Where can I find informations about Easter Eggs?
  105.   + 2) How are packages compressed? (The story of the compression bits)
  106.   + 3) How it all works
  107.     x a) Newton Process Management
  108.     x b) Newton Memory Organization
  109.     x c) The Newton "File System"
  110. ---------------------------------------------------------------------------
  111.  
  112.  
  113. A) System Versions
  114.  
  115.  
  116. 1) What are the different versions of the Newton OS (NOS)?
  117.  
  118. The Newton OS is burned into ROM. Hence the version depends on the model of
  119. Newton you have (cf the table of the models). However, some upgrades do
  120. exist.
  121.  
  122. 2) What are the system upgrades for my Newton? Which one is the latest?
  123. Where can I find it?
  124.  
  125. Upgrades can be found on various sites, including Newton Source:
  126. <http://www.oldschool.net/newton/updates.html>
  127. Updates are in fact installer packages (which auto-remove themselves), and
  128. they all include a system version checking mechanism: you cannot damage
  129. your Newton by installing a wrong update: it will simply not install.
  130. Latest upgrades are:
  131.  
  132. a) US & International English updates
  133.  
  134. * Newton OS System update 1.0.5 for 1.0 ROM OMP's (over System version
  135. 1.0.4 or earlier)
  136. * Newton OS System update 1.1.1 for 1.1 ROM OMP's (over System version
  137. 1.1.0)
  138. * MP100 1.3 415333 (over 415059, 415172, 415313, & 415313p3 (developer
  139. release))
  140. * MP110 1.3 345333 (over 1.2.00, 344052, 344138, 345025 & 345025p3
  141. (developer release))
  142. * MP120 1.3 445333 (US) (over 444217 & 444347)
  143. * MP120 1.3 465333 (Int'l) (over 464353)
  144. * MP120 2.0 516263 (over 516205, 515264 & 515299)
  145. * MP130 2.0 526205 (over 525314, 526060 & 526167)
  146. * MP2000 & MP2100 2.1 710031 (over 717260, 717145, 717006, 717041 & 717132)
  147. * eMate 300 2.1 737246 (over 737041)
  148. The 6 digit system update was introduced with NOS 1.3 to fix the confusion
  149. with previous system patches numbers. Indeed, the pre 1.3 systems are
  150. divided into 1.0.x ROMs and 1.1.x ROMs which, with system updates, are more
  151. or less equivalent:
  152. 1.0.x ROM    1.1.x ROM
  153. -------------------------
  154. 1.00
  155. 1.02............1.1.0
  156. 1.03
  157. 1.04
  158.     ............1.1.1
  159. 1.05
  160.  
  161. That means 1.02 is equivalent to 1.10, but 1.05 is more recent than 1.11.
  162. MP2x00 710031 was designed by me [Paul Guyot] after Apple discontinued
  163. NewtonOS with little information. Hence there may be some problems although
  164. none were reported. It fixes the Date/Find bug. For copyright reasons, I
  165. only published an updater, one for MacOS and one for Windows. They can be
  166. found on Kallisys website: <http://www.kallisys.com/newton/rustines/>.
  167. MP120 2.0 and MP130 updates can be found in .hqx or .zip/.exe at: 
  168. <ftp://ftp.apple.com/developer/Newton_Development/SystemUpdates/>
  169. All apple updates (MacOS or Windoze) can be found at: 
  170. <ftp://ftp.apple.com/Apple_Support_Area/Apple_Software_Updates/English-Nort
  171. h_American/Newton/>
  172. All system patches can be found on UNNA:
  173. <http://www.unna.org/unna/apple/software/SystemPatches/english/>
  174.  
  175. b) German updates
  176.  
  177. * OMP D-1.1.1 (over D-1.10) which was factory pre-installed
  178. * Upgraded OMP D-1.3/MP100-D 435334
  179. * MP120/1.3 435334
  180. * MP120 2.0 536205 (over 535344 & 536030)
  181. * MP130 2.0 536205 (over 535344 & 536030) (It is not the same update than
  182. MP120 2.0 536205, although it fixes the same bugs: MP120/2.0-D and MP130-D
  183. actually have the same ROM [except for the Gestalt Machine Type])
  184. * MP2000 & MP2100 2.1 747260
  185. OMP upgrades are very rare upgrades which can be found at:
  186. <http://www.pbk-solutions.de/ins/update.htm>
  187. Other upgrades can be found in .hqx or .exe at: 
  188. <ftp://ftp.apple.com/developer/Newton_Development/SystemUpdates/German/>
  189. and (sea.bin or .hqx):
  190. <ftp://ftp.apple.com/Apple_Support_Area/Apple_Software_Updates/German/Newto
  191. n/>
  192. All German system patches can also be found at UNNA:
  193. <http://www.unna.org/unna/apple/software/SystemPatches/german/>
  194.  
  195. c) French updates
  196.  
  197. * MP100 424112 (is there a newer version?)
  198. * MP110 424157
  199. * MP120 455334
  200. The MP110 system update is available at UNNA:
  201. <http://www.unna.org/unna/apple/software/SystemPatches/french/110/FSystemAd
  202. d_424157.pkg>
  203.  
  204. d) What is the numbering system?
  205.  
  206. That's a direct quotation from Walter Smith (wrs@pobox.com):
  207. The numbering system originated as a response to customer irrationality.
  208. :-) Because each patch applies to a single ROM image, there are multiple
  209. patches that produce the same end result. The exact numbers may be off, but
  210. let's say the OMP had version 1.0 software, then the MP100 came out with
  211. version 1.1. We released an update for the OMP that brought it up to date,
  212. and gave it version 1.01.
  213. The problem here is that even though 1.01 and 1.1 are functionally
  214. equivalent, people with OMPs were unhappy because their version number was
  215. lower. There was lots of misinformation floating around about "upgrading"
  216. 1.01 to 1.1, meaningless though that actually was. It got even worse when
  217. 1.1 was patched, so you had 1.03 vs. 1.12.
  218. To address this, we had to distinguish between the actual version number
  219. that tells tech support what software the customer has and the end-user
  220. version number that tells the customer what functionality they have. The
  221. six-digit number is unique to a particular update (software version), and
  222. the x.y number indicates what functionality you get when the update is
  223. applied (end-user version).
  224. Unfortunately, some customers are a little too smart to fall for that, so
  225. there's still all sorts of consternation over the supposedly meaningless
  226. system update numbers.
  227. The actual scheme is some combination of the ROM version the update applies
  228. to and the date the patch was generated. I don't remember the details.
  229. Here there are: (but that's my own interpretation, although I was helped by
  230. Henry Cate's answer to Walter's post (both of them worked in the Newton
  231. department at Apple))
  232. * First two digits is the model code:
  233.   + 34: MP110 US
  234.   + 41: MP100 US
  235.   + 42: MP100 & MP110 French
  236.   + 43: MP100 & MP120/1.3 German
  237.   + 44: MP120/1.3 US
  238.   + 45: MP120/1.3 French
  239.   + 46: MP120/1.3 Int'l
  240.   + 51: MP120/2.0 US
  241.   + 52: MP130 US
  242.   + 53: MP120/MP130 German
  243.   + 71: MP2000/2100
  244.   + 73: eMate 300
  245.   + 74: MP2000/2100 German
  246. * Third digit is the last digit of the year.
  247. * Last three digits is the day the package was built.
  248. The question then is: how will we do with years 2000's? Was the
  249. discontinuing of Newton planned from the beginning (at least before the
  250. 52nd day of 1994) by Apple? With 710031, I (Paul Guyot) coded year 2000
  251. with a 0. However, 710031 seems lower than 717260. Hence, Avi Drissman
  252. suggested to now code year 2000 with an A.
  253.  
  254. 3) How do I find out which NOS version I have?
  255.  
  256. This depends on the OS itself.
  257. If you have a 1.x OS: Go to the preferences. It appears at center-bottom of
  258. screen.
  259. If you have a 2.x OS: Go to the Extras Drawer, select the i button, then
  260. Memory Info. You can read something like: ROM Version 2.1 (710031)-1
  261.  
  262. 4) What are the differences between the versions of the OS?
  263.  
  264.  
  265. a) NOS 2.x is really different from NOS 1.x
  266.  
  267. You can read the doc about it at:
  268. <ftp://www.cif.rochester.edu/pub/newton/FAQ_and_documentation/apple_manuals
  269. /0307843ANOS2FTURS.PDF>
  270.  
  271. b) NOS 2.1 has a few more features compared to NOS 2.0.
  272.  
  273. NewtWorks support, gray scale, sound manager,...
  274.  
  275. c) Latest revision (US MP2x00: 710031) of NOS 2.1
  276.  
  277. 717260 introduces some changes with the contrast button (allowing greater
  278. contrast control), and fixes a few bugs concerning memory, printing, faxing
  279. and PC cards. See the Read Me file that comes with the 717260 upgrade for
  280. more details.
  281. The 710031 patch (US MP2x00 only) also fixes the Dates/Find bug.
  282.  
  283. d) eMate 737246
  284.  
  285. See the Read Me file that comes with the 737246 upgrade for more details.
  286. ---------------------------------------------------------------------------
  287.  
  288.  
  289. B) Using the Newton OS
  290.  
  291.  
  292. 1) How do I find the Newton's built-in helpbook?
  293.  
  294. Tap the i button in the lower left hand corner of the screen, and then
  295. select "help". This general helpbook is provided in all built-in programs.
  296. Some third party programs can also access the built-in helpbook or their
  297. own particular helpbook via the i button.
  298. You can also tap the "How Do I?" button in the Assistant (at least with NOS
  299. 2.x). Or tap the help icon in the Extras Drawer.
  300.  
  301. 2) What are the various ways the Newton can be reset?
  302.  
  303. Pressing the power button does not "reset" or "restart" your Newton.  The
  304. power button isn't really a power button per se -- it's more of a "go to
  305. sleep" button. Unlike other computers, the Newton never completely turns
  306. off. It's closer to being in a suspended or sleeping state. It is still
  307. able to receive beams, faxes, or wake you up if you configured it to do so.
  308. The Newton has a number of ways of resetting/rebooting, in various levels
  309. of severity. Four of them, for the original MessagePad and MP1x0 models,
  310. are described in Apple's article
  311. <http://docs.info.apple.com/article.html?orig=til&artnum=17908> But
  312. actually, this article applies to MP1xx models.
  313.  
  314. a) Soft Reset
  315.  
  316. This is the most straightforward of the four resets. Just press the "Reset"
  317. button on the back of your Newton with your stylus. Alternatively, many
  318. software packages have the ability to perform a soft reset.
  319. A soft reset can be helpful if the Newton becomes sluggish or runs out of
  320. heap memory. You will NOT lose any data doing a soft reset.
  321.  
  322. b) Deep Reset
  323.  
  324. The Deep reset is similar to a soft reset. You tap the reset button on the
  325. back of the Newton, but this time hold it down for about 20 seconds, until
  326. the Newton chimes. This reset is used when there's a power problem with
  327. your Newton, or there's a problem when doing a standard restart. It resets
  328. at a slightly lower level than a soft reset.
  329.  
  330. c) Reset With Extensions Off
  331.  
  332. A reset with extensions off allows you to reset your Newton but not load
  333. any packages. It's as if all packages were frozen. This returns the Newton
  334. to an almost virgin state, and is useful if you're having conflicts between
  335. two packages, or when you need to maximize heap for a certain procedure.
  336. With no packages loaded, your Newton will have it's maximum amount of heap
  337. available.
  338. To perform a reset with extensions off, hit the reset button, on the back
  339. of the Newton and then flip the Newton over so the screen is facing you, as
  340. for normal usage. Immediately hold the pen down halfway down the left edge
  341. of the screen, about a centimeter from the casing, down the screen. Keep
  342. holding the pen there, and soon a dialog box will appear asking if you'd
  343. like to activate packages on the store "Internal". Answer "no." If you have
  344. any PC cards installed, return the pen to the left edge and keep holding it
  345. down. You'll then get the same dialog for each card. Answer "no" to each.
  346. Your Newton now is restarted with no packages loaded.
  347. You will NOT lose data doing a reset with extensions off. However, if you
  348. have a third party application as the Backdrop, (such as Backdrop Plus) it
  349. will be replaced with the NotePad, so you'll have to re-designate it as the
  350. Backdrop.
  351.  
  352. d) MP2000 and MP2100 Power-Drain Reset
  353.  
  354. The MP2000 and MP2100 have a special last-resort reset which cures most
  355. ills, but doesn't lose any of your data.  It's simple: remove the
  356. batteries, cards, and the power adapter.  Don't worry, your data is safe. 
  357. Let your Newton sit by itself for several hours. Then put in fresh
  358. batteries, plug in the power adapter, and press reset.
  359.  
  360. e) Hard Reset ("Brainwipe")
  361.  
  362. Before you perform a hard reset, first remove all PCMCIA cards from the
  363. Newton (this is *really* important, otherwise you may destroy the card!).
  364. This hard reset WILL ERASE EVERYTHING ON YOUR NEWTON. Use it with caution,
  365. and usually only as a last resort. If you are performing a Backup and
  366. Restore Cycle, you will want to perform a hard reset after the backup and
  367. before the restore. Other than that, you will probably never perform one;
  368. unless you have major data corruption, or are selling your Newton.
  369. To perform a Hard reset, tap the reset button, while holding down the power
  370. switch. You will be presented with a dialog box asking "Do you want to
  371. erase data completely" . Tap Yes if you want to perform the Hard reset and
  372. erase everything on the Newton. You will be asked to reconfirm your
  373. selection, and then the data will be erased.
  374. Note that doing a backup/hard reset/restore cycle might speed up your
  375. Newton. See question IIIB9 about defragmentation.
  376.  
  377. f) Cold boot
  378.  
  379. (From Apple's article which only applies to the OMP and 1x0 models.)
  380. A Cold Boot erases all data, any System Update installed, and sets the
  381. Newton OS back to factory defaults. There are two methods to do this.
  382. WARNING: You should backup your data prior to a Cold Boot.
  383. Method 1
  384. * 1. Disconnect any AC power.
  385. * 2. Remove the main batteries.
  386. * 3. Remove the round Lithium backup battery.
  387. * 4. Hold the power switch down for 5 seconds.
  388. * 5. Release the power switch.
  389. * 6. Repeat steps 4 and 5 four more times.
  390. Method 2
  391. * 1. Disconnect any AC power.
  392. * 2. Remove the main batteries.
  393. * 3. Remove the round Lithium backup battery.
  394. * 4. Let the Apple MessagePad sit this way for 15 minutes.
  395. NOTES:
  396. * On a MessagePad 120: No data is erased since data is stored in the
  397. internal non-volatile Flash RAM.
  398. * On the MessagePad 120, a Cold Boot resets the Power Manager. Pen
  399. alignment is required on the next use.
  400. * The Time Zone, Date, Time, and Prefs need to be set up.
  401.  
  402. 3) Transferring data to and from the Newton
  403.  
  404.  
  405. a) What are the various methods to input data on the Newton?
  406.  
  407. There are many ways to input data:
  408. * using the stylus and handwriting recognition.
  409. * via the virtual keyboard: some software provide alternate keyboards such
  410. as:
  411.   + Nick's keyboard:
  412. <http://www.logictools.de/newton/english/freeware.html#keyboard>
  413.   + PowerTrans Keyboards:
  414. <http://www.powertrans.de/software/keyboards.html>
  415.   + Kallisys Foreign Kits: <http://www.kallisys.com/newton/dicts_and_kits/>
  416. * Graffiti (cf What are the alternatives to the original HWR?)
  417. * Newton keyboard (cf What kind of keyboard can I use?)
  418. * Desktop keyboard with NCU (cf Apple's software) or with a terminal
  419. emulator on the desktop computer and a software like SerialKey,
  420. SerialInput, Sloup or TypeIt...
  421. (<http://guelph.unna.org/mirrors/download.planetnewton.com/download/buttons
  422. /bsserialkeyboards.htm>)
  423.  
  424. b) What are the various methods of transferring data, to/from the desktop?
  425.  
  426. You can:
  427. * Use Newton Connection Utilities to import/export/synchronize data with a
  428. MacOS or Windows desktop computer. (cf question VB1).
  429. * Use Sloup by Steve Weyer to import/export data with most types of 
  430. desktops using a terminal emulation program such as ZTerm and ClarisWorks
  431. for Mac, HyperTerminal for Windows as well as programs for Unix and other
  432. platforms. <http://www.kagi.com/weyer/#Sloup>
  433. * Use Dan Rowley's X-Port program to import/export with Windows or MacOS
  434. computers:
  435. <http://www.landware.com/products/xport/xportps.html>
  436. * Use QuickPort by PowerPen Software for transferring ASCII text to any
  437. terminal on the desktop. PowerPen was a project of the EECS, but Dr.
  438. Schlimmer left the Washington States University and therefore the homepage
  439. no longer exists. However, it can be found on AMUG:
  440. <ftp://ftp.amug.org//newton/utilities/2.x/quickport-1.1.sit.hqx>
  441. * Use EETransfer from EasterEggs
  442. <http://www.easter-eggs.com/newton/index.html>
  443. * Use NewtDump by Victor Rehorst. It can export In/Out box messages, notes,
  444. names and Quotes to ASCII text (or .vcf for names) on any PC running
  445. Windows: <http://www.chuma.org/code/newton/newtdump/> - requires Sloup
  446. * Use emails. This also allows you to export packages. Note: every mail
  447. software has its own package unrelocation mechanism, and in fact, none
  448. perfectly works. It will work properly for most packages, though.
  449. * Use Newton Personnal Data Sharing (NPDS) (a Newton web server!)
  450. <http://homepage.mac.com/LightyearMedia/NPDS/>
  451. * Use NewtonLink (for Unices)
  452. <http://misf67.cern.ch/~reinhold/Newton/newtonlink-doc-en.html>
  453. * Use Thomas Tempelmann's Newton Data Browser (for MacOS PPC and Windows)
  454. <http://www.tempel.org/newton/>
  455. * Use Notes2Notes to synchronize between the NotePad and Microsoft Outlook
  456. 97, 98 & 2000: <http://members.tripod.com/SDHEngSoft/notes2notes.html> -
  457. requires Sloup
  458. * Use NewtShare, a webserver for Windows to access documents translated the
  459. right way for Newtscape on the Newton:
  460. <http://www.beckedorf.net/Mainpage/NewtShare/newtshare.html>
  461. * Use RCU or Notable by Revelar Software: <http://www.revelar.com/rcu.html>
  462. * Use PackageBuddy by Tactile to export packages:
  463. <http://www.tactile.com/packageBuddy.html>
  464. * Use Johnathan Kip's BinHexer to transfer binaries from/to the desktop to
  465. the Newton by de/encoding them on the Newton:
  466. <http://hometown.aol.com/NewtsPrism/BinHexer/BinHexer.html>
  467. * iTunes with the plug-in by Eric Schneck allows you to transfer mp3s:
  468. <http://www.pixell.net/doppler/newton/>
  469. I suggest that you read the Connection FAQ for more details:
  470. <http://newted.dyndns.org/users/1f2frfbf/answers.html>
  471.  
  472. c) Can I use IrDA (infrared) to transfer information between my desktop and
  473. my 2.x Newton?
  474.  
  475. This does not seem to be supported by Apple tools (NCU, NBU, etc.).
  476. It is possible to use a terminal emulator and Sloup to communicate via
  477. IrDA:  <http://members.home.net/saweyer/newton/sloup/connect.htm#IrDA>
  478. There is a special page about this issue:
  479. <http://web.ukonline.co.uk/kieran.miller/newton/irda.html>
  480. You can also use Thomas Tempelmann's Newton Data Browser (IrDA only works
  481. on MacOS PPC) to connect to the Dock application of your MP2x00/eMate 300.
  482. <http://www.tempel.org/newton/>
  483.  
  484. d) What are the various methods to synchronize my data with a desktop
  485. computer?
  486.  
  487. The easiest way to synchronize is to use NCU for 2.x models. This software
  488. can synchronize with Now UpToDates, Now Contacts, Claris Organizer and Palm
  489. Desktop for MacOS, Schedule+ 7.0 and Lotus Organizer 2.1 for Windows.
  490. Walter R Basil (quoted by Mark Ross) wrote a tutorial about how to achieve
  491. a synchronization with Palm Desktop:
  492. <http://www.newtontalk.net/archive/newtontalk.2002-06/2425.html>
  493. You can also use Cadenza, available on UNNA
  494. <http://newyork.unna.org/unna/applications/Cadenza/> with Lotus Notes. The
  495. Cadenza documentation says that you can synchronize with Lotus Notes 4.5,
  496. 4.6, but Harri Hohteri reports that it works with the R5 (especially
  497. 5.0.8). It's not clear whether Lotus Notes R5 normally comes with
  498. nnotes.dll or not, but this file seems to be required (it's included in
  499. 4.5/4.6 versions).
  500. You can also use Newtourage from DelCann Software for synchronizing with
  501. Entourage on MacOS: <http://delcannsoftware.com/>
  502. There are Unix softwares to synchronize, import and export with, to and
  503. from Unix softwares. Cf Linux-Newton mini HowTo:
  504. <http://misf67.cern.ch/~reinhold/Newton/Newton_and_Linux-mini-HOWTO.html>
  505. You can also use Notes2Notes to synchronize between the NotePad and
  506. Microsoft Outlook 97, 98 & 2000:
  507. <http://members.tripod.com/SDHEngSoft/notes2notes.html> - requires Sloup
  508. I suggest that you read the Connection FAQ for more details:
  509. <http://newted.dyndns.org/users/1f2frfbf/answers.html>
  510.  
  511. e) What are the various terminal softwares available for Newton?
  512.  
  513. * PocketCall <http://www.exmachina.com/> from Air Media (formerly Ex
  514. Machina) [dead link?]
  515. * PT100 <http://www.scrawlsoft.com/> from ScrawlSoft 2.x
  516. * NewtTerm terminal program
  517. <http://www.geocities.com/ResearchTriangle/9987/> 1.x and 2.x, source
  518. available
  519. * TermLimit by Ed Anuff
  520. <http://www.unna.org/unna/applications/communications/TermLimit1.4/> 1.x at
  521. least
  522. * EE Transfer <http://www.easter-eggs.com/newton/>
  523.  
  524. f) How can I transfer data between my Newton and another PDA?
  525.  
  526. * The easiest way to transfer data between a Newton with NewtonOS 2.1 and a
  527. Palm or any other IrDA capable PDA is BackTalk by SmartDog Software
  528. <http://www.smartdogsw.com/backtalk/index.shtml>
  529. * Another way to transfer data between a Newton 2.x and a Palm is to use
  530. Newton Connection Utilities for MacOS (cf question VB1) and synchronize the
  531. data with Claris Organizer (Palm Desktop).
  532.  
  533. 4) What are the alternatives to the original HWR?
  534.  
  535. You can use other recognizers:
  536. * Graffiti available at Newton Cage <http://www.europegate.com/newton/>
  537. This is the input method used in Palm devices.
  538. * Free Style by ParaGraph <http://www.landware.com>
  539. This input method is used in some WinCE devices.
  540. You also can use software that improves the Newton's original HWR:
  541. * Corrector+ by Adam Tow (Foundation Systems) <http://www.tow.com/>
  542. * alt.rec.... by Paul Guyot on Kallisys website
  543. <http://www.kallisys.com/newton/alt.rec..../>
  544.  
  545. 5) Can I change the fax cover page?
  546.  
  547. Yes, you can use Fax Cover Creator by Standalone Software. You can find it
  548. on their website <http://www.standalone.com/newtonos/> and on UNNA:
  549. <http://www.unna.org/unna/applications/FaxCoverCreator1.11/>
  550.  
  551. 6) How do I find information about a specific package in Extras?
  552.  
  553. There are several 3rd party utilities that will do this.
  554. * PkgInfo by Steve Weyer (2.x only) [freeware]:
  555. <http://www.kagi.com/weyer/#PkgInfo>
  556. * Package Info by Tomoyoshi Murai [freeware]:
  557. <http://www.murata.sip.or.jp/~tmurai/freeware/newton/packageinfo/packageinf
  558. o.html>
  559. * Package Info by GNUE (2.x only) [freeware]:
  560. <http://homepage.mac.com/~gnue/lib/niwatori/GNUE's_collection_'96r4.i.bin>
  561. * And of course the excellent SBM Utilities from Softwarebⁿro Mⁿller
  562. [Shareware]: <http://www.sbm.nu/>
  563.  
  564. 7) How do I take screen shots?
  565.  
  566. There are several ways:
  567. * NTK (Apple Newton ToolKit) (the screen shot is in the desktop clipboard)
  568. * X-Port (the screen shot remains on the Newton)
  569. <http://www.landware.com/products/xport/xportps.html>
  570. * NPDS, the Newton WebServer <http://homepage.mac.com/LightyearMedia/NPDS/>
  571. * EETransfer from EasterEggs <http://www.easter-eggs.com/newton/index.html>
  572. * RCU from Revelar Software <http://www.revelar.com/rcu.html>
  573. * NewtVNC by Steve Weyer (in server mode) <http://www.kagi.com/weyer/#VNC>
  574. * Daniel Padilla's Screen Shooter. It lets you take shots and send them by
  575. e-mail with SimpleMail. <http://dev.newtontalk.net/~dpadilla/progs.htm>
  576.  
  577. 8) Where can I find my Newton's ID?
  578.  
  579. Since NewtonOS 2.0, each Newton have a hardware unique NewtonID which is
  580. accessible from software. The easiest way to get it is to use Adam Tow's
  581. NewtonID software at <http://www.tow.com/software/newton.shtml>.
  582. The Newton ID has no (direct) link with the Newton's serial number, but it
  583. uniquely identifies the unit nevertheless, and even if the serial number
  584. sticker is removed.
  585. On the 2.1 devices, the Newton ID is stored in a specialized chip, the
  586. Dallas Semiconductor DS2401 Serial Number ROM. If Apple changes your
  587. motherboard, your Newton ID will be changed as well.
  588.  
  589. 9) Storage space arithmetic
  590.  
  591. This is an answer to the following questions:
  592. * When I add up Free space and Used space, I don't get the size of the
  593. internal store/card?
  594. * The Newton tells me the internal store/card is full while it also says I
  595. have hundreds of KB free?
  596. * Is it true that the storage can be fragmented and unfragmenting it will
  597. speed up the transfer?
  598. Storage space arithmetic is very close to Bistromathics. It is completely
  599. unrelated to Peano's axioms or anything else you could have learnt in
  600. school.
  601. The NewtonOS storage space arithmetic shares with conventional filesystems
  602. storage arithmetic its weirdness. However, even if these rules remain a
  603. complete mystery for the human minds, they are very different.
  604. There are actually two values returned by the system:
  605. * The used space
  606. * The total space
  607. When the Extras drawer (or anything else) gives a value of the free space,
  608. it is just total minus used.
  609. One can also compute/find other values, such as the nominal size of a store
  610. (what is written on a card or what you will find in the hardware section of
  611. the FAQ for the internal store), the sum of the size of all objects that a
  612. program can access and other similar things. Beware, don't mix up System
  613. RAM installed and the internal store size, see question IIID3b
  614. All these values give you an idea of the situation, but you can't simply
  615. add or substract values, here are a coule of reasons:
  616. * The internal flash (4 MB on MP2x00s) is not entirely reserved for the
  617. internal store. Part of it contains the system update, the calibration
  618. (tablet and temperature) data, etc.
  619. * NewtonOS storage system is transactional, which means that to make a
  620. change, the system writes a copy and then commits the change. This means
  621. that some space is to be reserved for transaction, and if not enough space
  622. for the transaction can be found, the transaction fails and the Newton will
  623. display the storage full alert
  624. * Flash chips used are divided in 64 KB blocks that can only be erased at
  625. once (individual bits can be muted from one state, say 0, to the other, say
  626. 1 -  0 and 1 could be exchanged here, depends on the chips). For some
  627. reason, the NewtonOS also divides SRAM in 64 KB blocks and consider them
  628. just like flash blocks.
  629. * Originally, objects could not be included into more than one block. And
  630. in fact, soup entries had to fit one 64 KB block. To have bigger objects,
  631. there is a special kind of objects, Large Binary Objects, that are divided
  632. into several blocks. If a store is nearly full, a newly large binary object
  633. is divided into many blocks. This is what can be called fragmentation.
  634. * A store includes more data than what some software counts as the used
  635. space. There is some information on the store (including its name, ID,
  636. kind, password (this is partly implemented in the OS, the missing part is
  637. the slip to set it/ask for it). The store also can have some information
  638. associated to it (see the programmer's doc for details). And finally, we
  639. have the soups. Each soup can have information associated (idem), such as
  640. the last time it was backuped, and some information to identify them (name,
  641. what is indexed). Data includes the indexes and the entries of course.
  642. Finally, a store used size can temporarily include the VBOs.
  643. * NewtonOS stores are garbaged collected, which isn't surprising for a
  644. persistent object store. There is a single persistence root for the
  645. curious, a special object with an ID that is determined by the system (it
  646. is 0x27 for flash stores, another fixed value for Package Store (0 AFAIR)
  647. and some variable value for ATA stores).
  648. Note: Linear and ATA stores follow different arithmetics.
  649. To end with these arithmetics, note that probably the most serious website
  650. about storage cards, Carsten Lemmen's
  651. (http://www.mac3.de/sig/newton/memory_cards.html) relies on Nick's Test It
  652. speed values. While the time spent to do the test is probably the best
  653. comparison tool, even if it can change a lot due to various factors
  654. including pen input, software installed, etc., the speed given by Nick's
  655. Test It does not mean much.
  656. Indeed, Nick's Test It creates a temporary soup (hence with at least an
  657. index on the unique ID) and then creates 335 entries with the following
  658. frame:{ s : "ABC..YZabc...wxABC..YZabc...wxABC..YZabc...wxABC..YZabc...wx"
  659. }
  660. which is 452 bytes; therefore if we count out the index, and the unique ID
  661. slot, we have 148 KB of useful data transferred.
  662. Additionally, on a flash store, creating an entry actually means creating a
  663. transaction, i.e. copying 64 KB of data. So copying 335 entries means much
  664. more than 100 KB. I also think that if the store is nearly empty, the 64 KB
  665. aren't copied when possible, hence the much higher value for freshly
  666. formatted cards.
  667. Finally, defragmenting can be done by doing a full backup, erasing all data
  668. and restoring the backup. Since backups never hurt, defragmenting cannot
  669. hurt. Whether it helps getting some bytes back/improving speed depends on
  670. your belief.
  671.  
  672. 10) Is there any virus on NewtonOS?
  673.  
  674. There is no known virus on NewtonOS.
  675. ---------------------------------------------------------------------------
  676.  
  677.  
  678. C) Troubleshooting
  679.  
  680.  
  681. 1) Is the Newton Y2K compliant?
  682.  
  683. Apparently so:
  684. <http://docs.info.apple.com/article.html?orig=til&artnum=30338>
  685. However, different date/time related problems might occur starting in 2010,
  686. 2099 and 2924 (should you be so lucky to be alive, with a functioning
  687. Newton). These problems are discussed here:
  688. <http://members.home.net/saweyer/newton/newtscape/exs/times.htm#Description
  689. >
  690. And Avi Drissman made an experimental fix for that: 
  691. <http://www.drissman.com/avi/newton/Fix2010/>
  692.  
  693. 2) Are there known bugs in the Newton OS?
  694.  
  695.  
  696. a) I've heard about the nasty -10061 error on MP2x and eMate -- how can I
  697. reduce/prevent this?
  698.  
  699. This only happens on devices with 4MB DRAM memory (upgr eMate and 2100 or
  700. upgr 2000).
  701. Information can be found in an article by Frank Wegener translated by
  702. George Oehl: <http://home.k-town.de/~oehl/newton/10061.html> or
  703. <http://pobox.com/~oehl/newton/10061.html>.
  704. There are fixes such as:
  705. * '61 Memory Fix v1.0 by Avi Drissman - the first fixing tool:
  706. <http://www.drissman.com/avi/newton/61MemoryFix/>
  707. * Richard Li's SysPatch avoids -10061 by Power off scan and regular scans
  708. on activated packages: <http://www.ee.cityu.edu.hk/~clli/syspatch.html>
  709. * Auto61 Fix (Don Vollum). Available at
  710. <http://resources.pdadash.com/newtund/NU/extras.shtml>
  711. * -10061 Utilitiy - automatically pops up and offers a reboot or FIX 61
  712. <http://home.t-online.de/home/Alessandro.Soldo/NU_10061.html>
  713. * Heaven or Hell - checks on demand, when the Newton is idle, on power on
  714. and power off
  715. <http://www.saryo.org/basuke/software/heaven-or-hell-101.sit.hqx>
  716. Since these programs take different approaches to fixing the -10061
  717. problem, there are generally no conflicts even if you have several of the
  718. fixes installed at the same time.
  719.  
  720. b) What is the Dates/Find bug?
  721.  
  722. From Avi's pages:
  723. This bug only happens on Newton OS 2.1. The bug is easy to see. Open up the
  724. Dates app, tap Find, and do a search for something that will be found in
  725. your dates (e.g. the letter "e"). From the list of results, select several
  726. and try to print them. Or fax them. Or even preview. It cannot be done. It
  727. has been fixed in System Update 710031 for US MP2x00. It is also fixed by
  728. Dates/Find Bugfix for eMates and German MP2x00:
  729. <http://www.drissman.com/avi/newton/DatesFindBugfix/>
  730.  
  731. c) When I write, sometimes pen strokes either do not appear or disappear.
  732.  
  733. This is a known bug. However, as far as I know, nobody has fixed it yet.
  734.  
  735. d) When I do a find with NewtWorks, the free memory amount falls.
  736.  
  737. This is a bug in Newton OS 2.1 protoTXViewFinder.FindString method. It is
  738. in ROM. However, a workaround fix exists (for Works only). It has been
  739. designed by Paul Guyot and can be freely downloaded from Kallisys website:
  740. <http://www.kallisys.com/newton/rustines/>.
  741.  
  742. e) What are these -16022 errors every time I try to use my modem?
  743.  
  744. [From Victor Rehorst: <chuma@chuma.org>]
  745. There is a bug in NewtonOS 2.1 where the system is unable to detect which
  746. slot a modem is inserted in.  To fix this error, first choose a slot where
  747. you will always have your modem inserted.  Then, go to the Prefs panel from
  748. Extras and tap on Modem.  Change the Connect Using setting ro either Right
  749. PC Card or Left PC Card, depending on the slot you've chosen.
  750.  
  751. f) When I insert a memory card, I get a -10582 error. What's wrong?
  752.  
  753. The -10582 error is kError_ATA_No_Partition. It is triggered when the
  754. built-in ATA card handler cannot find a Master Boot Record. Actually, it
  755. won't find it, even if the card was DOS formatted, because the driver in
  756. the ROM always reads zeroes. And even if it worked, the card handler isn't
  757. finished either.
  758. The consequence is that you cannot use ATA cards with the Newton without a
  759. third-party driver. See which memory cards work with your Newton (IIB1).
  760.  
  761. g) When I insert a flash memory card, my MP2x00 tells me the battery in the
  762. card needs to be replaced.
  763.  
  764. This is a known bug. Your card probably doesn't have any battery. Install
  765. the latest system patch for your MP2x00 (see IIIA2a).
  766.  
  767. h) I installed a new version of the backdrop application I'm using and I
  768. can't see it.
  769.  
  770. This is a known bug discovered by Victor Rehorst. Technically, you can on
  771. NewtonOS have two packages with the same signature provided that they're
  772. not on the same store. Normally, in such a case, the system shows the
  773. secondly loaded package with a big cross on it, to tell you that it hasn't
  774. been activated. Additionally, the system doesn't show the backdrop
  775. application in the Extras Drawer.
  776. The bug is that it actually doesn't show any package with the same
  777. signature than the backdrop application, and therefore, if you have two
  778. packages with the same signature and one is the backdrop application
  779. (therefore on the internal store), the other one (on a card) will be
  780. filtered nevertheless. The solution is to make another application (e.g.
  781. the Extras Drawer) the backdrop application, and then you'll see both
  782. packages. This isn't a very painful bug (on the contrary to the -10061),
  783. but I found it worth it to mention that there is another bug that was left
  784. in the OS ;)
  785.  
  786. 3) Packages on other platforms
  787.  
  788.  
  789. a) On my Mac, the icon of a .pkg file is plain, and NPI refuses it.
  790.  
  791. The file's type and creator are not set properly. To fix it, you can use
  792. ResEdit and change the settings to "pkg " for the type and "pkgX" for the
  793. creator. (this is NPI creator. Some of your packages can have another
  794. creator, such as NTK creator code).
  795. Steve Weyer wrote a simple program, PackType, that does that: 
  796. <http://members.home.net/saweyer/newton/#PackType>
  797. If you don't want this to happen again with your zipped packages or with
  798. the packages that you may download, you must add/correct the .pkg entry in
  799. the files mappings of Internet Config or Internet Control Panel in the
  800. latest MacOS.
  801.  
  802. b) When I download a .pkg via my Newton web browser, it's not recognized as
  803. a package.
  804.  
  805. Assuming the package was properly uploaded as a binary file, then the
  806. likely explanation is that the server is not providing the correct MIME
  807. type. You can ask the server administrator to use this Content-Type in MIME
  808. table: application/x-newton-compatible-pkg or you can contact your browser
  809. vendor to support additional MIME types.
  810.  
  811. c) I can't expand StuffIt archives (on both platform).
  812.  
  813. Aladdin published a new version of StuffIt Tools (5.x) which doesn't
  814. produce compatible archives with older tools. If you bought these tools,
  815. just get the expander which you'll find at <http://www.aladdinsys.com/>
  816.  
  817. d) I have problems with a package on Windows
  818.  
  819. If you have an error using Windows unstuff utilities where file does not
  820. appear to be package format, set the CROSS PLATFORM preference to NEVER for
  821. 'Convert Text files to Windows format' and set to NEVER for 'Save Macintosh
  822. files in MacBinary format'. (Otherwise, Mac resource fork is left in).
  823. If you have unzipped a .pkg file on a PC and it isn't recognized/installed
  824. properly, it might be because it is macbinary-encoded. You may be able to
  825. strip the MacBinary header using Pkg Stripper by Roger Milne:
  826. <http://roger.trideja.com/newton/pkgstrip.html>
  827.  
  828. 4) Why does the I/O Box always open to outbox? Can I change that?
  829.  
  830. There was a problem in older versions of Newt's Cape (2.0a, 1.5) -- if you
  831. selected a mailto: link, it created a message in your Outbox and opened to
  832. that directly.
  833. Some other softwares could have also changed the default setting which is
  834. to open to inbox.
  835. <http://mywebpages.comcast.net/saweyer/newton/newtscape/exs/ioboxfix.htm>
  836. describes a fix that you can make from a soup editor (or just run the
  837. example in Newt's Cape).
  838.  
  839. 5) Why does the available memory decrease when the Newton is idle?
  840.  
  841. This kind of memory usage is perfectly normal in a system like Newton that
  842. does automatic memory management (also similar to Smalltalk, Lisp, Java).
  843. As the event loop runs or even idles, the Newton creates temporary objects.
  844. (ala Heisenberg, just observing the state of the Newton in order to update
  845. time or amount of heap, uses heap). When this gets to a certain threshhold,
  846. the Newton reclaims memory by tracing/discarding items that aren't being
  847. referenced anymore by any other object (aka "garbage collection"). [From a
  848. developer's perspective, not having to worry about allocating and
  849. deallocating memory is great, compared to traditional language environments
  850. like C; things just eventually disappear if you stop referencing/using
  851. them]
  852. A real "leak" happens if most of the heap isn't reclaimed. This could
  853. happen if an application hangs onto extra, unnecessary stuff even when
  854. closed. And this sometimes can happen also during soup (database)
  855. processing when the heap becomes partitioned/fragemented (an unfortunate
  856. memory management bug that Apple never got around to fixing...)
  857. ---------------------------------------------------------------------------
  858.  
  859.  
  860. D) Miscellaneous
  861.  
  862.  
  863. 1) Where can I find informations about Easter Eggs?
  864.  
  865. There are plenty of Easter Eggs in the Newton. Best known are Rosetta!,
  866. eclipse, dates prefs, Groom Lake, About Newton?, Egg Freckles & hidden
  867. games.
  868. Here are some links:
  869. * Oliver Fross' Easter Egg page: <http://www.oof.org/newton/>
  870. * A 2.x easter egg package [if it is the one I have (by Emmanuel Raviart),
  871. it enables the Poker & the Patience]
  872. <ftp://ftp.amug.org/newton/games-educ/2.x/easter-eggs.sit.hqx>
  873. * To replay an the Eclipse, there's a package 2.x package:
  874. <ftp://ftp.amug.org//newton/calendars-clocks/2.x/eclipse.sit.hqx>
  875. * Avi's Egg Freckles Enabler:
  876. <http://www.drissman.com/avi/newton/EggFrecklesEnabler/>
  877.  
  878. 2) How are packages compressed? (The story of the compression bits)
  879.  
  880. Packages are compressed when loaded on the Newton (i.e. when transfered
  881. from a desktop computer). They are uncompressed on the fly when mapped on
  882. the Virtual Memory. This may result in a (little) slow down. The Newton OS
  883. compresses packages according to a flag called the compression bit. This
  884. flag is set by the programmer in NTK (NDE offers the same option). But it
  885. can be set on some packages that were not designed to be compressed.
  886. Moreover, NOS 2.x packages also have a fast compression bit. Having it set
  887. reduces the compression gain, but it is said to speed up things. I have
  888. never felt an important change, however.
  889. Some packages must not be compressed (so wrote Apple's guys in Newton
  890. Formats) because they need to be resident. This is very rare, so you may
  891. want to compress the uncompressed packages. To do so, you can use a
  892. software for MacOS called PackageFlag Changer 0.1a2 that can be found at:
  893. <http://www.murata.sip.or.jp/~tmurai/freeware/newton/jfont/newtonfont.html>
  894. Victor Rehorst wrote a software to change the flags of Newton Packages on
  895. Windows, NewtPackageFlags. It can be found on his website:
  896. <http://www.chuma.org/code/newton/pkgflags/>.
  897. Kip from Prism Research enabled compression on some usual uncompressed
  898. packages: <http://homestead.dejanews.com/user.prism2/downloads.html>
  899.  
  900. 3) How it all works
  901.  
  902.  
  903. a) Newton Process Management
  904.  
  905. There are two kinds of processes on the Newton.  First, there are
  906. lower-level operating system processes (such as handwriting recognition or
  907. the NewtonScript interpreter).    Such processes are usually written in C++,
  908. though some have been written in assembly code.  As of NewtonOS 2.0,
  909. third-party developers can write some (but not all) of their program code
  910. in this low-level C++ fashion as well.
  911. The other kind of process is a "NewtonScript application". NewtonScript
  912. applications are not actually applications -- they're better thought of as
  913. plug-ins to the NewtonScript interpreter.  Just like Java applications on
  914. other platforms, NewtonScript applications can be in a pcode format to be
  915. interpreted by the interpreter (slow), or can be compiled directly into
  916. machine code.  The Newton even has a compiler built-in; it's possible to
  917. use this compiler to build NewtonScript applications directly on the Newton
  918. without ever using another computer. Nearly all the icons you see in the
  919. Extras Drawer are NewtonScript applications.  There's a lot of NewtonScript
  920. stuff in the background too.
  921. Does the Newton multitask?  Yes and no.  As we understand it, the Newton's
  922. underlying operating system has a preemptive multithreaded process manager;
  923. the inker, handwriting recognition, low-level I/O, and NewtonScript
  924. interpreter all run in separate processes. However, NewtonScript
  925. "applications" (like the Note Pad, or a third-party calculator, or the
  926. Button Bar, etc.) are not multitasked in any sense of the term.  In fact,
  927. they are in essence different functions in the same big computer program
  928. hosted by the NewtonScript interpreter.  They all share the same memory and
  929. run together in a single process.  Any one application can hog all the
  930. processor power if it wants to.  From a user's perspective, no, the Newton
  931. doesn't have preemptive multitasking. However, when two cards are inserted
  932. at the same time, maybe two NS tasks run at the same time.
  933. The main way that NewtonScript applications "share" processor time is using
  934. an *event model*.  Events (keystrokes, pen taps,incoming serial port
  935. information, etc.) are piled up at a low level into an event queue where
  936. they await processing by appropriate applications. NewtonScript
  937. applications register *callback functions* to be called when certain events
  938. occur that are germane to that application. NewtonScript calls these
  939. functions "scripts".  When a callback function has been called and has
  940. completed its work, the processor is released from duty and some callback
  941. function is called for the next event in the queue. When no events are in
  942. the queue, the processor sleeps.  Applications may register for timer
  943. events which occur periodically (once an hour, week, day, etc.). 
  944. Applications may also register for "idle" events -- if there is no event
  945. presently in the queue, the processor every once in a while queues up an
  946. "idle" event and hands it off to a registered callback function.  This
  947. allows applications to do work in the background all by themselves.
  948. Besides, since there is only one Event Loop, the system stops when there is
  949. nothing to do, awaiting for any event (including a clock change) which will
  950. wake it up. This allows the Newton to consume very few power.
  951.  
  952. b) Newton Memory Organization
  953.  
  954. The Newton Processor can access memory for 32 bits, i.e. 4 GB. All this
  955. memory is not used. There is globally five chunks dedicated to specific
  956. tasks:
  957. * Page zero is for some interrupts. It cannot be read except when an
  958. interrupt occurs.
  959. * The ROM. MP2x00 have 8 megs of ROM. It is read only.
  960. * The Patchable Tables. It is a zone in DRAM but locked and updated at
  961. startup from the update which is saved into the Internal Store Block 0. It
  962. includes tables to elements which are in the ROM at a ROM dependent place.
  963. There are other tables which we don't know how to patch (yet).
  964. * The RAM. The whole memory is divided into heaps, the DRAM is divided into
  965. at least two heaps (we are sure that there are two heaps, although there
  966. may be more, and programs can create some):
  967.   + A large hunk of DRAM of unknown size is reserved to hold the actual
  968. computer code and some read-only resources for running C++ and NewtonScript
  969. applications.  Another chunk of memory, in DRAM, probably about 200K in
  970. size on an MP2000, is where C++ programs and the operating system allocate
  971. memory as necessary.  This includes the window management and graphics
  972. system, handwriting recognition, low-level runnning of the NewtonScript
  973. interpreter, the file system, etc.  It also includes the Newton Internet
  974. Enabler, which is why for example the MP2000 will often hang if you open or
  975. close windows while running NIE (both need C++ memory, and there isn't
  976. enough to go around).  MacinTalk and the sound subsystem also use this
  977. space, as do the C++ parts of various third-party applications.  These two
  978. areas of DRAM are roughly equivalent to a typical computer's RAM in that
  979. they hold the application code and allocated memory state.
  980.   + The most famous chunk of memory, the NewtonScript heap or "frames
  981. heap", is where the NewtonScript interpreter manages memory for various
  982. NewtonScript applications.  On an MP2000, this space is about 150K in size
  983. and resides in DRAM.  All NewtonScript applications, including the built-in
  984. ones and nearly everything written by third parties, share this memory
  985. space when they're open.  Even when closed, some applications hang on to
  986. small parts of this memory to "remember" certain things related to
  987. process-to-process interaction -- for example, Newt's Cape hangs on to a
  988. small chunk of global memory in which is registered all of its plug-ins.
  989. NIE also holds on to quite a large chunk of memory to manage its interface
  990. to various NewtonScript internet applications.    The Newton also maintains a
  991. small piece of NewtonScript memory for every unfrozen application,
  992. containing pointers to its name and icon, as well as small NewtonScript
  993. functions ("scripts") which get run when the application's card is removed
  994. or installed, or when the application is deleted.  The more applications
  995. you have unfrozen, the smaller your NewtonScript heap will be.
  996. * A virtual zone where virtual binary objects are stored. This zone
  997. contains the activated packages locked there.
  998. The last area of memory is where the Newton's "File System" (so to speak)
  999. is managed. This area consists of internal DRAM on some early units,
  1000. internal Flash RAM on others, and of course all of the Flash or DRAM on
  1001. inserted RAM cards.  Flash RAM is not useful for the other chunks of
  1002. memory, because it is far too slow to hold executing computer code or
  1003. dynamic memory allocation.  Flash RAM also can only be accessed in hunks of
  1004. (16K) memory at a time, similar to a hard disk's sectors.  But Flash RAM is
  1005. excellent for storing archival information, since it does not require
  1006. battery backup.
  1007. When the user presses the reset button on a Newton, certain chunks of the
  1008. DRAM are wiped clean and the system is restarted.  This basically means the
  1009. RAM which holds the executing computer code, the allocated C++ memory, and
  1010. the NewtonScript heap.    The low-level system areas and the "file system"
  1011. storage of course remain intact.
  1012.  
  1013. c) The Newton 'File System'
  1014.  
  1015. The Newton does not have a file system per se.    It has a shallow database
  1016. system. The newton considers its internal storage, and each inserted card,
  1017. as a separate "store" (a volume).  On any store may be placed either
  1018. read/write "soups" (databases), or read-only objects called "packages".
  1019. Packages are roughly equivalent to application programs, though they may
  1020. also be storage areas or plug-ins.  They consist of bundles of "parts".  A
  1021. "part" might be a chunk of executable computer code, a set of large binary
  1022. objects, a read-only embedded soup,etc. Packages can be stored in
  1023. compressed or uncompressed format on the Newton. They are always
  1024. uncompressed on desktop computers.
  1025. A soup is a simple one-table database of "entries" which may be indexed in
  1026. many ways and over which a variety of queries may be made. Various soups
  1027. store the Newton's equivalent of "documents" or "files". The newton has a
  1028. rich set of indexing and querying mechanisms for soups.  One important
  1029. index is the "tags" index.  Soup entries may be "tagged" with some
  1030. user-defined string; applications use these tags to give the illusion of
  1031. filing entries into "folders", one folder per user-defined string. This is
  1032. for example the case when filing programs in the Extras Drawer.
  1033. Soups have an accompanying ID symbol which represents a soup of that
  1034. "kind"; this ID is assigned to a soup by the application which created it
  1035. and uses it.  For example, Hemlock maintains two soups, each with a
  1036. different ID.  One soup holds Hemlock's search engines, and the other holds
  1037. Hemlock's current query results.
  1038. Soups on different stores may have the same ID, meaning that they are the
  1039. same kind of soup, just spread out on different cards.    When applications
  1040. access soups, they usually do so by querying and accessing a "union soup"
  1041. object.  From an application's perspective, union soups merge all the soups
  1042. of a given ID on different stores into one unified soup for that ID.  This
  1043. happens dynamically; when a user adds or removes cards, the union soup
  1044. changes automatically, each application is notified, and they update their
  1045. presentation to the user to reflect this.  For example, when the user yanks
  1046. a card containing a Note Pad soup, the appropriate soup entries (hence
  1047. "notes") in the Note Pad's union soup automatically disappear, the Note Pad
  1048. is notified, and its display is updated to show that these entries are now
  1049. gone.  It is this general philosophy of treating documents as database
  1050. entries in a global union soup which is why the Newtons are so graceful at
  1051. handling multiple cards yanked and inserted while applications are running.
  1052. There are a few global soups which all applications use; the most important
  1053. one is the "System" Soup, which stores global information for applications,
  1054. commmonly application preferences.  When applications are installed they
  1055. often will insert an entry into this soup to store their preferences, but
  1056. when they are deleted they very often forget to remove this entry.  As a
  1057. result the System soup grows and grows.  Some users have reported a bloated
  1058. System soup as a key culprit in the "squiggles", a Newton condition where
  1059. the Newton cannot properly register the location of the pen.
  1060.