Re: [NTLK] Toshiba PC Card with ATA Support

From: Paul Guyot (pguyot_at_kallisys.net)
Date: Fri Feb 07 2003 - 14:07:05 PST


Ā (At) 09:05 +0200 7/2/03, Eckhart Köppen écrivait (wrote) :
>It goes a bit against the way the Newton was designed, but there is no
>need that programs have to be NewtonScript based and suffer under heap
>constraints. On the C++ side, a 2100 has about 2.5 MB of RAM. I'm
>thinking about moving more parts of my programs into that area: Faster
>and less memory trouble.

There are three drawbacks:
- the MP2000 has very little RAM. Sean was complaining that a very
early version of ATA Support slowed down his MP2000. This old build
was copying itself entirely in memory and I think Sean had the debug
build or something like this. Now, I only copy the smallest part of
the code as possible.
The system uses this RAM for all graphports, and the MP2000 having 16
grays, it means 8 times what it takes on a MP130 plus the size
difference.

- This RAM (hence the slow down experienced by Sean) is used to
decompress and cache packages (aka virtual memory). Taking too much
memory will slow down the Newton.

- This heap isn't garbage collected. Any leak there is definitive.

Paul

-- 
NPDS: http://newton.kallisys.net:8080/
Apache: http://www.kallisys.com/
-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html
Official Newton FAQ: http://www.chuma.org/newton/faq/


This archive was generated by hypermail 2.1.5 : Mon Feb 10 2003 - 10:30:00 PST