TweetFollow Us on Twitter

Nov 90 Letters
Volume Number:6
Issue Number:11
Column Tag:Letters

SteveForth Corrections

By Kirk Chase, Editor, MacTutor

SteveForth Correction

Steve Hawley

Mountain View, CA

Recently I discovered that SteveForth, a FORTH system that I wrote, had been given a brief write-up in MacTutor Magazine by Jörg Langowski [April 1990-ed.]. I am elated that my work has received a certain measure of exposure in your journal, and I am grateful for the positive marks from Mr. Langowski.

I am at the same time distressed because SteveForth is also misrepresented in the very first paragraph. Mr. Langowski write: “There is a new public domain Forth available in NetLand: SteveForth ” I would like to point out that SteveForth is NOT public domain, nor is it shareware. It is currently in Beta release and is not entirely stable. I do not feel it is ready for a general release, which is why the following paragraph appears in the documentation:

“Thanks for volunteering to beta-test SteveForth. I really appreciate it, and as a token of my appreciation, I have made the source code available to you. I must point out that I do not want SteveForth to be given away until it has been thrashed sufficiently by you. I wrote SteveForth in the space of a semester completely by myself along with a full course load. There’s no possible way it could be completely stable. I’d like to know who my beta-testers are so I can provide them with patches and bug fixes as soon as possible. Giving SteveForth to someone else at this stage isn’t fair to who you give it to, and it isn’t fiar to me, so please don’t do it.”

I am dismayed that Mr. Langowski completely ignored this paragraph (although it is apparent he read the documentation), and offered to give SteveForth away himself without contacting me for approval.

SteveForth is currently on the back burner, as I am busy with other projects and no longer have the convenient access to a Macintosh for development. I anticipate that it will be ready for shareware release sometime in 1991.

Steve Hawley

hawley@adobe.com

Tool Window Manager - Pascal

Brendan Murphy

Palatine, IL 60067

Included on the source code disk for this month (#62) is a Pascal version of the Tool Window Manager written by Mr. Fruin [for the December 1989 issue. I have also included the source on that source code disk, #39-ed]. It was written in TML Pascal II and I have used it with Think Pascal. I translated it from C to Pascal a month after the article came out. I thought of sending it in, but then I read the comment Mr. Fruin made about a Pascal version being forth coming and decided it was not needed. There are no comments in the file--one of life little pleasures! It seems to be fairly well debugged, but there are some flaws in the original design of the unit. For example, being able to float a modeless dialog. The dialog manager gets in the way. Also it is not flexible enough (makes to many assumptions about how people want to have there windows float). Future enhancements could include multiple layered groupings of windows and a more sophisticated multiple active window scheme. Even though I’ve used this unit, I recommend that people use Think’s Class Library instead because it has floating windows and you gain all of there other classes! Besides, it is a good idea to get on the object-oriented programming band wagon before it runs you over. I highly suggest that MacTutor take a more aggressive role in supporting TCL like MacApp Developers Association supports MacApp. I don’t see TCL competing with MacApp, but filling a need where MacApp would be over kill by a factor of ten (which is most of the time).

Pearl Lisp Update

Stephen E. Miner

Mountain View, CA

Your reader might want to know that my article, “Objects in Pearl Lisp” which appeared in the August 1990 issue of your magazine, was submitted a while ago. Since that time, Apple has acquired Coral and discontinued the Pearl Lisp product. Coral’s Common Lisp product is now known as Macintosh Allegro Common Lisp, and is available from APDA.

Although the current version of Macintosh Allegro Common Lisp (MACL) still uses “Object Lisp” implementation of object-oriented programming, the future belongs to the Common Lisp Object System (CLOS) standard. (See Common Lisp: The Language, Second Edition, by Guy L. Steele, Jr. for more information on the CLOS standard.) Apple promises to implement CLOS in the next version of MACL. In the meantime, an implementation of Portable CommonLoops (PCL), which is evolving towards the CLOS standard, is available by anonymous FTP from Arisia.xerox.com or by ordering through APDA.

On a personal note, I’m now working as a Macintosh software consultant at the Institute for Research on Learning in Palo Alto.

B-Tree References

Melvyn D. Magree

Plymouth, MN

I would like to add some references and thoughts to Clifford Story’s article, Language Translation, Binary Trees.

First, Niklaus Wirth’s Algorithms + Data Structures = Programs has a good discussion of tree structures and includes the procedures in Pascal. He discusses Optimal Trees (which he uses for a compiler example), Balanced Binary Tree, and B-Trees among others.

I used Wirth’s B-Tree algorithms as the starting point for B-Tree HELPER™, extending it with reading and writing pages of the tree to a file, managing keys and records separately, getting and releasing file space in a random file, and searching for keys less than or greater than a given key.

Second, D. Comer’s “The Ubiquitous B-Tree” gives a history, rationale, and explanation of B-Trees. His article appears in ACM Computing Surveys, Vol. 11, No. 2, June 1979. He also includes an extensive bibliography.

Comer also explains B*-Trees and B+-Trees. B*-Trees were named by Donald Knuth in The Art of Computer Programing, Vol. 3, Searching and Sorting. Knuth proposed that B*-Trees had nodes that were at least 2/3 full rather than 1/2 full. Many people use the name B*-Tree for another B-Tree variation proposed by Knuth. Comer says that Knuth did not name this variation, but Comer chooses to call it B+-Tree. B+-Trees have all keys in the leaves of the tree. The leaves are also linked from left-to-right making B+-Tree ideal for sequential search. The disadvantage is that some keys are duplicated several times, but there are ways to reduce the storage requirement. I did not use B+-Trees in B-Tree HELPER.

If any reader is looking for a good research topic for a paper or article, consider doing an update on “The Ubiquitous B-Tree”.

Mac286

Orange Micro, Inc.

1400 N. Lakeview

Anaheim, CA 92807

(714) 779-2772

You can now have the best of both worlds. Orange Micro’s Mac286 is a 8MHz, Intel 08286 board fro the Mac II. It literally is a second computer in your Macintosh. With the Mac286, you can execute DOS applications in one window, while you run Mac Programs in another. The Mac286 makes your Mac a full AT compatible. And since this is a hardware/software solution, you will get higher performance than just software solutions. There is also Mac86, a XT compatible board for the Mac SE.

New Product Compatibility Checklist

Kirk Chase

MacTutor

With Apple’s introduction of new products, Apple sent a compatibility letter over AppleLink. The new CPUs will be running System 6.0.6. For those who are not on AppleLink, here is a brief synopsis of the compatibility check list found in that letter.

1. Your application should not write directly to hardware (especially ADB or SCSI). It should call the appropriate system software managers.

2. Do not assume the presence of a floating point unit (FPU) on 68020 and 68030 machines. Always check for it explicitly. The July 1990 issue of Apple Direct (FYI on page 4) discusses this and has more information about how to check for the presence of an FPU.

3. Do not assume monitor pixel resolution (particularly for the color monitor). Check explicitly for the monitor resolution. See “Inside Macintosh”, Volume V, chapters ‘Color QuickDraw’ and ‘Graphics Devices’ for more information.

4. Do not assume the dimension of a monitor (i.e. 640x480). Check explicitly for the monitor size. Always follow the Apple guidelines and size windows automatically according to Technical Note #2.

5. System Software 6.0.6 and System Software 7.0 share the same Sound Manager. Every effort has been made to keep applications that properly addressed the old Sound Manager from breaking. You should carefully check your application with System 6.0.6 for compatibility. MacinTalk will NOT work with System 6.0.6 or System 7.0. If your application requires Macintalk, you will need to rewrite the sound portion of your application for the new Sound Manager.

5a. There is Sound Manager incompatibility between HyperCard 1.2.5 and the Sound Manager in System Software 6.0.6. This sound incompatibility will exist with the Sound Manager in all System Software releases beginning with System Software 6.0.6. However, HyperCard 1.2.5 can run under System Software 6.0.6 if the sound is set to 0 in the Sound CDEV before starting HyperCard. This incompatibility is fixed in HyperCard 2.0.

6. Macintosh SE/30 expansion card developers need to check for several things:

• Cards should be clock/speed independent

• Cards should take CPUCLK off of pin A38 and take C16M off of pin C38

• Cables should be at least 8.6 inches long

• Cards need to fit the latest form factor guidelines described in “Designing Cards and Drivers for the Macintosh Family, Second Edition”.

7. Nubus expansion card developers need to check for several things:

• Cards should be within the NuBus power specification for ONE slot

• Those cards which exceed the power specification for ONE slot should come with documentation that alerts customers that the card should be used in a machine with multiple slots.

• Cards need to fit the latest form factor guidelines described in “Designing Cards and Drivers for the Macintosh Family, Second Edition”.

• Do not assume that memory is a contiguous physical range. Logical addresses may not be the same as physical addresses. Master NuBus cards that may make accesses to the Macintosh RAM space need to be aware of this and use the appropriate Virtual Memory Manager calls to determine the physical memory locations. See “Inside Macintosh”, Volume VI for more details.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Tokkun Studio unveils alpha trailer for...
We are back on the MMORPG news train, and this time it comes from the sort of international developers Tokkun Studio. They are based in France and Japan, so it counts. Anyway, semantics aside, they have released an alpha trailer for the upcoming... | Read more »
Win a host of exclusive in-game Honor of...
To celebrate its latest Jujutsu Kaisen crossover event, Honor of Kings is offering a bounty of login and achievement rewards kicking off the holiday season early. [Read more] | Read more »
Miraibo GO comes out swinging hard as it...
Having just launched what feels like yesterday, Dreamcube Studio is wasting no time adding events to their open-world survival Miraibo GO. Abyssal Souls arrives relatively in time for the spooky season and brings with it horrifying new partners to... | Read more »
Ditch the heavy binders and high price t...
As fun as the real-world equivalent and the very old Game Boy version are, the Pokemon Trading Card games have historically been received poorly on mobile. It is a very strange and confusing trend, but one that The Pokemon Company is determined to... | Read more »
Peace amongst mobile gamers is now shatt...
Some of the crazy folk tales from gaming have undoubtedly come from the EVE universe. Stories of spying, betrayal, and epic battles have entered history, and now the franchise expands as CCP Games launches EVE Galaxy Conquest, a free-to-play 4x... | Read more »
Lord of Nazarick, the turn-based RPG bas...
Crunchyroll and A PLUS JAPAN have just confirmed that Lord of Nazarick, their turn-based RPG based on the popular OVERLORD anime, is now available for iOS and Android. Starting today at 2PM CET, fans can download the game from Google Play and the... | Read more »
Digital Extremes' recent Devstream...
If you are anything like me you are impatiently waiting for Warframe: 1999 whilst simultaneously cursing the fact Excalibur Prime is permanently Vault locked. To keep us fed during our wait, Digital Extremes hosted a Double Devstream to dish out a... | Read more »
The Frozen Canvas adds a splash of colou...
It is time to grab your gloves and layer up, as Torchlight: Infinite is diving into the frozen tundra in its sixth season. The Frozen Canvas is a colourful new update that brings a stylish flair to the Netherrealm and puts creativity in the... | Read more »
Back When AOL WAS the Internet – The Tou...
In Episode 606 of The TouchArcade Show we kick things off talking about my plans for this weekend, which has resulted in this week’s show being a bit shorter than normal. We also go over some more updates on our Patreon situation, which has been... | Read more »
Creative Assembly's latest mobile p...
The Total War series has been slowly trickling onto mobile, which is a fantastic thing because most, if not all, of them are incredibly great fun. Creative Assembly's latest to get the Feral Interactive treatment into portable form is Total War:... | Read more »

Price Scanner via MacPrices.net

Early Black Friday Deal: Apple’s newly upgrad...
Amazon has Apple 13″ MacBook Airs with M2 CPUs and 16GB of RAM on early Black Friday sale for $200 off MSRP, only $799. Their prices are the lowest currently available for these newly upgraded 13″ M2... Read more
13-inch 8GB M2 MacBook Airs for $749, $250 of...
Best Buy has Apple 13″ MacBook Airs with M2 CPUs and 8GB of RAM in stock and on sale on their online store for $250 off MSRP. Prices start at $749. Their prices are the lowest currently available for... Read more
Amazon is offering an early Black Friday $100...
Amazon is offering early Black Friday discounts on Apple’s new 2024 WiFi iPad minis ranging up to $100 off MSRP, each with free shipping. These are the lowest prices available for new minis anywhere... Read more
Price Drop! Clearance 14-inch M3 MacBook Pros...
Best Buy is offering a $500 discount on clearance 14″ M3 MacBook Pros on their online store this week with prices available starting at only $1099. Prices valid for online orders only, in-store... Read more
Apple AirPods Pro with USB-C on early Black F...
A couple of Apple retailers are offering $70 (28%) discounts on Apple’s AirPods Pro with USB-C (and hearing aid capabilities) this weekend. These are early AirPods Black Friday discounts if you’re... Read more
Price drop! 13-inch M3 MacBook Airs now avail...
With yesterday’s across-the-board MacBook Air upgrade to 16GB of RAM standard, Apple has dropped prices on clearance 13″ 8GB M3 MacBook Airs, Certified Refurbished, to a new low starting at only $829... Read more
Price drop! Apple 15-inch M3 MacBook Airs now...
With yesterday’s release of 15-inch M3 MacBook Airs with 16GB of RAM standard, Apple has dropped prices on clearance Certified Refurbished 15″ 8GB M3 MacBook Airs to a new low starting at only $999.... Read more
Apple has clearance 15-inch M2 MacBook Airs a...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs now available starting at $929 and ranging up to $410 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at... Read more
Apple drops prices on 13-inch M2 MacBook Airs...
Apple has dropped prices on 13″ M2 MacBook Airs to a new low of only $749 in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, now available for $679 for 8-Core CPU/7-Core GPU/256GB models. Apple’s one-year warranty is included, shipping is free, and each... Read more

Jobs Board

Seasonal Cashier - *Apple* Blossom Mall - J...
Seasonal Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Seasonal Fine Jewelry Commission Associate -...
…Fine Jewelry Commission Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) Read more
Seasonal Operations Associate - *Apple* Blo...
Seasonal Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Read more
Hair Stylist - *Apple* Blossom Mall - JCPen...
Hair Stylist - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.