TweetFollow Us on Twitter

Jul 89 Mousehole
Volume Number:5
Issue Number:7
Column Tag:Mousehole Report

Mousehole Report

By Rusty Hodge & Larry Nedry, Mousehole BBS

From: Frankh

Re: LSP Pascal

This isn’t really a flame, just an annoyance. I finally got the upgrade to LSP 2.1 from the board, and the operation of the compiler is a lot better; there are fewer crashes now. I realize that the compiler will crash if I don’t allocate enough stack and zone memory, but that’s something the compiler should warn me about in a nice way - not by crashing. The other gripe is with the debugger. It’s fine if you have a small program you wish to debug (or if you have a LOT (>2 meg) of ram), but it’s useless for intermediate to large programs. It would be better if the debugger was separate (as in LSC) or at least an option (I know its a menu option - I mean a real option; you select it, and its there. Deselect it and its gone - out of ram). LSP has many nice features, but I don’t trust it. I hate wondering if the latest bug in my program is real, or an artifact from the compiler. A compiler should be as bug free as possible; at the very least, it should be robust enough not to crash without warning. I would rather use LSP, but I find myself writing important code with TML; it has yet to crash on me. [Gee, I guess you don't want me to tell you that you need to buy 2 Megs of RAM to begin to use System 7.0! -Ed]

From: Wesm

Re: Allegro Apple Crisped

Today my darkest suspicions were confirmed about Apple’s purchase of Coral Software. Used to be that one could call up the nice folks at Coral and ask most any question at all about their products, and they’d be happy to talk. Today, I wanted to find out how I could simulate timer interrupts in Allegro, so I called Coral, only to be told that they could no longer provide technical support over the phone--orders from Apple. Now, it seems reasonable to me that, if I have invested nearly $1000 in a piece of software, I should be able to receive technical support.

One of the reasons I chose this particular Lisp was the flavors add-on module, so that my wife could work on her thesis at home, and port it to the TIs at school. We were both very upset. So I called Apple Customer Relations...Hah! It seems that now, whenever I have a question about my $1000 Lisp, I’m supposed to call up an Apple ***DEALER***, and they’ll get the answer back to me off of AppleLink, pronto, you betcha. Being a mere academic type, not a certified developer, I don’t have access to AppleLink myself. How many dealers do you think can answer my questions about Apple Allegro Common Lisp? That’s OK, take your time, I can wait. Have you ever heard of such ******? It’s a crying shame. Allegro is a nice piece of work, the people at Coral always seemed genuinely interested in hearing from me. Do other companies also treat their customers this poorly? I’d be interested to hear any comments. [That's nothing. You think that is bad? Look what happened to APDA when Apple took that over! And that is supposed to service certified developers. At the recent Developer conference, the APDA booth was only occupied from the hours of 4 pm to 6 pm and you couldn't buy anything there, only place orders! APDA always was poor on technical support, but now poor looks fantastic in comparison. And I never did get my MPW 3.0 final! When Apple takes over, you can forget technical service! -Ed]

From: Rguerra

Re: cdev “shell”

It occurs to me that writing and debugging cdev’s would be greatly simplified if the programmer could simply place the cdev unit into a supporting shell program that would emulate the function of the control panel. This shell would send the appropriate cdev messages to the user’s cdev unit. The programmer using LSC, LSP, or even SADE could step through the instructions of the cdev as per usual with an application. Has anyone ever seen such a beast? If so, would you be willing to share it with the rest of us? If one doesn’t exist yet, what would go into writing one? Any comments? Rich

From: Ctli

Re: Res Error Proc (Fw by Sysop)

Anybody know how to redirect ResErrProc to a light speed pascal routine? The following code does not work.

ResErrProc = ^ longint;
ResErrProc = pointer($0aF2) ResErrProc^ = Ord4(@MyErrorProc);
Procedure MyErrorProc ;
begin
 Code := 3 ;
end; {by the way Code is  a global variable}

From: Politik

Re: AppParmHandle

Have you ever played with the Finder Info Record, a handle to which is found in AppParmHandle($AEC)? I’m trying to change the record between application launches. Here’s what I’m doing:

AppParmHandle = $AEC;
FinfoRec = record
 mymez: Integer;
 mycount: Integer;
 volref: Integer;
 mytype: LongInt;
 versnum: Byte;
 notused: Byte;
 namelen: Byte;
 myname: string[30];
end;
FInfoRecPtr = ^FInfoRec;
FInfoRecHndl = ^FInfoRecPtr;
myParms := Handle(AppParmHandle);
{ $AEC - low mem glob }
HLock(Handle(myParms));
myF := FInfoRecHndl(myParms);
myF^^.mymez := 0;
myF^^.mycount := 1;
myF^^.myname := ‘Jean’;
etc....
HUnLock(Handle(myParms));

I can see everything changing in Lightsbug, but for some reason it crashes after the volref is changed Any ideas? Help appreciated...

From: Ctli

Re: ResErrProc

Redirection of the ResErrProc pointer needs to be a longint instead of just an integer. Also, in Lightspeed Pascal, any file function such as Reset,Rewrite or write doesn’t seem to behave nicely. If the disk is locked, there is no invalid return, rather you are dumped out to the system with a id=08.

From: Asc

Re: Debugging with MPW SADE

Does any body knows how to debug MPW tools using SADE? I look at the documentation and can’t figure it out. Any hints would be appreciated. Thanks.

From: Apage

Re: Debugging with MPW SADE

It is possible, don't get discouraged, there are switches on both the compilers and the linker that have to be set, and then getting over in SADE is a bit of a hassle. As yet my need for SADE has been limited, but if you’re in a real bind I can review my work, and you can give me a call if interested. My Address here is APAGE, GEnie A.PAGE, MacNet AEPAGE.

From: Vicf

Re: repair of hard disk assembly

I have a 20mb Jasmine hard disk drive whose media seems to have seen better days. Can the hard disk assembly (media) be repaired, and if so by whom? I can buy a bare hard disk assembly for $329 from vendors, but is this the only recourse I have for fixing my hard disk drive?

From: Butchb

Re: repair of hard disk assembly

I have had luck using “leftover” 20mb drives from IBM PC xD (*** GASP ***) upgrades. I’ve used Seagate drives with Photon cases from Mirror Technologies. Usually the cost is under $100, but if you don’t have access to the drives, you have to buy the whole assembly.

From: Davidw

Re: repair of hard disk assembly

I have heard of a company in Irvine that repairs hard drives. The charge is $95 if the repair does not involve opening the case, and $149 if it does. Another alternative is to call up Seagate and ask them for a repair -- I believe they charge $175 to repair a Seagate 225 drive -- this involves replacing it with a rebuilt one.

From: Brian

Re: Think C bug

This may not affect many people, but if you are using Suitcase II (or Font/Da Juggler, etc.) and have loaded umpteen fonts with it, Think C will crash when you select the popup menu to change fonts in its editor. Surprising...

From: Gus

Re: HELP!!!!

Hello I just started programming in LSC I have been programming in Pascal before this. I have a problem. On my disk I have LSC and the stdio.h file. But when I attempt to run this program:

#include <stdio.h>
main()
{    printf(‘hello’);    }

I get the can’t open #include files error message. What is wrong am I missing more include files??? I would deeply appreciate any help I can get this has beeen driving me nuts ever since I got LSC. (I need to use stdio.h stuff because I hook up to a VAX mainframe running Unix and C.)

From: Noisy To:

Re: HELP!!!!

Gus: Question #1: WHERE is your stdio.h file in relation to the THINK C application? THINK C expects some type of hierarchical organization of it’s sub-files, which means that if stdio.h is not in the same folder (or in a folder in the same folder...etc) THINK C won’t find it. Pages 8-11 of the manual for v3.0x will give you the technical details...You can ignore the suggested folder names, but not the suggested folder organization! Best of luck, and remember: What you C is not always what you get. Cheers! Noisy

From: Nicks

Re: My Cdev is a little confused.

I’m writing a cdev in LightSpeed C, and having a weird problem. If I try to change the state of the Pen with a PenPat or PenNormal call, the pen pattern gets set to garbage. A short sample might be:

PenPat(grey);
FrameRect(&anyRect);

- This will fill the specified rectangle w/ garbage. I assume that the problem has to do w/ the fact that I’m running this code inside a DA, and I can’t get to the QuickDraw globals? Or am I on the wrong track completely? Thanks in advance.

From: Batista

Re: My Cdev is a little confused.

The problem is that you are trying to use a QuickDraw global when in fact you don’t have it. When Think C runs it allocates these globals for QuickDraw and you initialize them when you do the InitGraf(&thePort); in a cdev there is no such a thing, therefore when you do the PenPat(&gray) you are dereferencing who knows what. What you have to do is make up your own pattern.

/* 1 */

Pattern myGray;
myGray[0] = myGray[2] = myGray[4] = myGray[6] = 170;
myGray[1] = myGray[3] = myGray[5] = myGray[7] = 85;

Then do a PenPat(myGray); and you’ll get the result you want. Ricardo

From: Nicks

Re: My Cdev is a little confused.

Thanks for the info. I assumed that it had to be something like that. Questions: Does this affect other things besides PenPat? Is there a way to “find” the QD Globals that the Control Panel is using and address those? Where in IM is all this addressed? Thanks again.

From: Rdclark

Re: My Cdev is a little confused.

A better way to fix the “bad patterns” problem is to set up A5 at the start of your code and restore it when you’re done. If you do this, A5 will point to the start of the current Application’s globals, and the end of the current QD globals -- which is exactly where it should be when you need to use QD. ...Richard

From: Nicks

Re: My Cdev is a little confused.

Yeah, that’s what I was assuming. BUT: I’m a bit new a this “where’s my globals” stuff. How do I get the right value of a5? Get it from CurrentA5, then use in-line assembly (which I have no clue how to write)? Or can I use SetupA5 & RestoreA5? IM says these are for interrupt handlers only. Do they have other uses? BTW: my work-around for the original problem was to just use a PICT resource with a grey pattern in it, the use CopyBits to blast that into whatever rectangle or whatever I needed to use it in. Ugly, huh?

From: Orourke

Re: SE30 DISK ERRORS

Has anyone had any problems with the New drives in the SE30? I have had several disk fail to initialize (Sony and Maxell). Also I know of another new owner who has had similar problems.(Fuji disks) Hope this isn’t a pattern.

From: Apage

Re: 512K SCSI

Has anyone out there had any experiance with adding a SCSI port to a Mac 512KE? If so what were the results and some of your experiences with the process?

From: Wildman

Re: 512K SCSI

I have had a couple of experiences. My current Mac has a 2MB Levco Monstermac memory/SCSI upgrade. I’ve had it for a few years, and love it. One feature I choose to add is the use of 50pin header connectors and shielded twisted pair cables instead of those apple DB-25s. Cuts down the TV interference enormously. I have put Dove and Warp9 SCSI port only cards in. In general there are two approaches: a) A really cute AMP connector that clips onto the 68000; and b) using the ROM sockets. Both work, the clip is really easy (10 mins) but requires reseating every 6-9 months if you use your machine all day. I think the heat (even with fans) is just too much for the feelers. Sockes have never failed me, but that guy doesn’t use his Mac as much so there might not be any real difference. Personally, I prefer the soldered in approch of the Levco mods. It may take more nerve than you have to take an iron to your Mac, and the clips and stuff can be removed to take your machine in for service. One soldered mod and you have a Frankintosh that may be harder to get fixed. I haven’t had any problems, but I think it has a lot to do with your electronics background.

From: Jck

Re: SE/30

Recently, a new company called Generation X has announced a SE-30 color card that only drives the Apple 13" color monitor. It sells for $995.

From: Jbac

Re: help!!-max2 ram upgrade!!!

Is there anyone on the board who can help me? I have a Mac Memories max2 ram upgrade board and need to know what switches to chang and/or what slips to cut to let it regognize the 3rd and 4th megabyte. xDthanks!! jbac...

From: Skaros

Re: SE/30

Raster Ops is now shipping a card for the SE30 ~1800bucks color etc. E machines will also start shipping a color card bundled with a monitor the cheapest being ~4500 dineros for the card and 16" Sony monitor. I bet that Apple will be coming out with a card though later this summer, I don’t know though how all this is going to fit in with 32 bit Quickdraw. Keep looking.

From: Noisy

Re: Any TCP/IP Hackers out there?

Greetings one and all! Am I the only hardy soul hacking away at the ISO protocol suite a la Mac, or are there others out there too? Drop me a bulletin here...Cheers!!

From: Davidw

Re: high speed modems

Can anyone give advice on which of the high speed modems is the best value? Thanks, David

From: Noisy

Re: high speed modems

David: If you can scrape up the $$$’s needed, the U.S.Robotics 9600 baud modem is a Good Thing. I used one over several months and experienced few problems (i.e. I can’t remember any), plus it looks neat. Best Feature: DIP switch settings are printed on bottom of modem. Worst Feature: external power supply the size of Manhattan. Price: no idea...but not cheap. Cheers! Noisy

From: Sysop

Re: high speed modems

I have been using a Telebit Trailblazer Plus and my phone bill has dropped like a rock. I think it has paid for itself in the last 6 months. Max speed is 19200 baud, and it works great even if you have a bad connection. Larry

From: Noisy

Re: MacPaint II diagnostics

Having recently attacked MacPaint II with MacNosy (the ONLY programmer’s tool), I kept encountering DIAGS everywhere. A rainy Monday evening with the wife at work gave me the time to track it down: it seems that Claris neglected to remove about 4K of diagnostic code, basically because it is thoroughly embedded everywhere. It doesn’t seem to do much, apart from double-check various drawing actions, but it *can* be enabled by patching the application: Using any decent File-Mangler (I used FEdit+) do the following: Replace: 6CE6422D E59349ED with 6CE61B40 E59349ED There should be only one occurrence, and never patch your original, blah, blah. Cheers! Noisy

From: Rguerra

Re: MacTutor Index (Fw by Sysop)

Is there an index for the fourth volume of the collected articles of MacTutor. I’ve got all the original issues but I’d like an index. How about posting one here, or even publishing an index to a volume in the first issue of the succeeding volume?

[MacTutor now sells an index a text with tab fromatting for adding into your favorite database application. It is a nominal fee ($2 plus s/h) especially since all the work I’ve put in to prepare it initially.-KC]

From: Dale

Re: A sick MPW text file??

I’m not sure what category this falls into, but here goes: I’ve just run into the strangest problem with MPW 3.0. It seems that editing the file SANEMacs881.a in the MPW Shell and then trying to Revert the file explicitly causes the Shell to hang. This happens with any copy of the file that’s simply a Finder copy or an MPW Duplicate of the original, but there’s a bizarre way to create a healthy copy: first create an exact copy of the SANEMacs file, then open it and Catenate the text of the original file into the open window. If you save that the Shell will behave normally when you edit it. Interestingly enough, if you simply create the copy with Catenate instead of first copying the entire file, Compare reports that the two files don’t match anywhere! Very strange, since (as far as I know) Catenate simply transfers the data fork and Compare just compares the data forks. What’s even stranger, using Catenate without opening the file first doesn’t work: your copy will hang the Shell as before! Do any of the experts out there have a clue as to what’s going on here?

From: Macrobin

Re: MacTutor Listings Font

This is a preety simple question. What is the Font used for Program Listings in MacTutor. I have been looking for a nice clean sans serif, monospaced Font for a while. MacTutor program Listing appears to be just what I want. What is it and where can I get it. Thanks.

[MacTutor uses a special LaserWriter version of Monoco call Thin Saratoga that was created especially for program listings by Michael Mace, now at Apple Computer. We might let you have it if you promise not to distribute it to our competition! -Ed]

From: Sysop

Re: 380 Meg Hard Disk For Sale

Micropolis 1578 - 380 megabyte SCSI hard disk (NEW) Complete with hardware to mount internally in Mac II $1500 - leave email to sysop if interested

From: Sysop

Re: Modems wanted

I want to buy a couple US Robotics Courier 2400 baud modems. One of mine just died and I also want to add a couple more phone lines. Leave me email if you have one or more to sell.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Posterino 4.4 - Create posters, collages...
Posterino offers enhanced customization and flexibility including a variety of new, stylish templates featuring grids of identical or odd-sized image boxes. You can customize the size and shape of... Read more
Chromium 119.0.6044.0 - Fast and stable...
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web. List of changes available here. Version for Apple... Read more
Spotify 1.2.21.1104 - Stream music, crea...
Spotify is a streaming music service that gives you on-demand access to millions of songs. Whether you like driving rock, silky R&B, or grandiose classical music, Spotify's massive catalogue puts... Read more
Tor Browser 12.5.5 - Anonymize Web brows...
Using Tor Browser you can protect yourself against tracking, surveillance, and censorship. Tor was originally designed, implemented, and deployed as a third-generation onion-routing project of the U.... Read more
Malwarebytes 4.21.9.5141 - Adware remova...
Malwarebytes (was AdwareMedic) helps you get your Mac experience back. Malwarebytes scans for and removes code that degrades system performance or attacks your system. Making your Mac once again your... Read more
TinkerTool 9.5 - Expanded preference set...
TinkerTool is an application that gives you access to additional preference settings Apple has built into Mac OS X. This allows to activate hidden features in the operating system and in some of the... Read more
Paragon NTFS 15.11.839 - Provides full r...
Paragon NTFS breaks down the barriers between Windows and macOS. Paragon NTFS effectively solves the communication problems between the Mac system and NTFS. Write, edit, copy, move, delete files on... Read more
Apple Safari 17 - Apple's Web brows...
Apple Safari is Apple's web browser that comes bundled with the most recent macOS. Safari is faster and more energy efficient than other browsers, so sites are more responsive and your notebook... Read more
Firefox 118.0 - Fast, safe Web browser.
Firefox offers a fast, safe Web browsing experience. Browse quickly, securely, and effortlessly. With its industry-leading features, Firefox is the choice of Web development professionals and casual... Read more
ClamXAV 3.6.1 - Virus checker based on C...
ClamXAV is a popular virus checker for OS X. Time to take control ClamXAV keeps threats at bay and puts you firmly in charge of your Mac’s security. Scan a specific file or your entire hard drive.... Read more

Latest Forum Discussions

See All

‘Monster Hunter Now’ October Events Incl...
Niantic and Capcom have just announced this month’s plans for the real world hunting action RPG Monster Hunter Now (Free) for iOS and Android. If you’ve not played it yet, read my launch week review of it here. | Read more »
Listener Emails and the iPhone 15! – The...
In this week’s episode of The TouchArcade Show we finally get to a backlog of emails that have been hanging out in our inbox for, oh, about a month or so. We love getting emails as they always lead to interesting discussion about a variety of topics... | Read more »
TouchArcade Game of the Week: ‘Cypher 00...
This doesn’t happen too often, but occasionally there will be an Apple Arcade game that I adore so much I just have to pick it as the Game of the Week. Well, here we are, and Cypher 007 is one of those games. The big key point here is that Cypher... | Read more »
SwitchArcade Round-Up: ‘EA Sports FC 24’...
Hello gentle readers, and welcome to the SwitchArcade Round-Up for September 29th, 2023. In today’s article, we’ve got a ton of news to go over. Just a lot going on today, I suppose. After that, there are quite a few new releases to look at... | Read more »
‘Storyteller’ Mobile Review – Perfect fo...
I first played Daniel Benmergui’s Storyteller (Free) through its Nintendo Switch and Steam releases. Read my original review of it here. Since then, a lot of friends who played the game enjoyed it, but thought it was overpriced given the short... | Read more »
An Interview with the Legendary Yu Suzuk...
One of the cool things about my job is that every once in a while, I get to talk to the people behind the games. It’s always a pleasure. Well, today we have a really special one for you, dear friends. Mr. Yu Suzuki of Ys Net, the force behind such... | Read more »
New ‘Marvel Snap’ Update Has Balance Adj...
As we wait for the information on the new season to drop, we shall have to content ourselves with looking at the latest update to Marvel Snap (Free). It’s just a balance update, but it makes some very big changes that combined with the arrival of... | Read more »
‘Honkai Star Rail’ Version 1.4 Update Re...
At Sony’s recently-aired presentation, HoYoverse announced the Honkai Star Rail (Free) PS5 release date. Most people speculated that the next major update would arrive alongside the PS5 release. | Read more »
‘Omniheroes’ Major Update “Tide’s Cadenc...
What secrets do the depths of the sea hold? Omniheroes is revealing the mysteries of the deep with its latest “Tide’s Cadence" update, where you can look forward to scoring a free Valkyrie and limited skin among other login rewards like the 2nd... | Read more »
Recruit yourself some run-and-gun royalt...
It is always nice to see the return of a series that has lost a bit of its global staying power, and thanks to Lilith Games' latest collaboration, Warpath will be playing host the the run-and-gun legend that is Metal Slug 3. [Read more] | Read more »

Price Scanner via MacPrices.net

Clearance M1 Max Mac Studio available today a...
Apple has clearance M1 Max Mac Studios available in their Certified Refurbished store for $270 off original MSRP. Each Mac Studio comes with Apple’s one-year warranty, and shipping is free: – Mac... Read more
Apple continues to offer 24-inch iMacs for up...
Apple has a full range of 24-inch M1 iMacs available today in their Certified Refurbished store. Models are available starting at only $1099 and range up to $260 off original MSRP. Each iMac is in... Read more
Final weekend for Apple’s 2023 Back to School...
This is the final weekend for Apple’s Back to School Promotion 2023. It remains active until Monday, October 2nd. Education customers receive a free $150 Apple Gift Card with the purchase of a new... Read more
Apple drops prices on refurbished 13-inch M2...
Apple has dropped prices on standard-configuration 13″ M2 MacBook Pros, Certified Refurbished, to as low as $1099 and ranging up to $230 off MSRP. These are the cheapest 13″ M2 MacBook Pros for sale... Read more
14-inch M2 Max MacBook Pro on sale for $300 o...
B&H Photo has the Space Gray 14″ 30-Core GPU M2 Max MacBook Pro in stock and on sale today for $2799 including free 1-2 day shipping. Their price is $300 off Apple’s MSRP, and it’s the lowest... Read more
Apple is now selling Certified Refurbished M2...
Apple has added a full line of standard-configuration M2 Max and M2 Ultra Mac Studios available in their Certified Refurbished section starting at only $1699 and ranging up to $600 off MSRP. Each Mac... Read more
New sale: 13-inch M2 MacBook Airs starting at...
B&H Photo has 13″ MacBook Airs with M2 CPUs in stock today and on sale for $200 off Apple’s MSRP with prices available starting at only $899. Free 1-2 day delivery is available to most US... Read more
Apple has all 15-inch M2 MacBook Airs in stoc...
Apple has Certified Refurbished 15″ M2 MacBook Airs in stock today starting at only $1099 and ranging up to $230 off MSRP. These are the cheapest M2-powered 15″ MacBook Airs for sale today at Apple.... Read more
In stock: Clearance M1 Ultra Mac Studios for...
Apple has clearance M1 Ultra Mac Studios available in their Certified Refurbished store for $540 off original MSRP. Each Mac Studio comes with Apple’s one-year warranty, and shipping is free: – Mac... Read more
Back on sale: Apple’s M2 Mac minis for $100 o...
B&H Photo has Apple’s M2-powered Mac minis back in stock and on sale today for $100 off MSRP. Free 1-2 day shipping is available for most US addresses: – Mac mini M2/256GB SSD: $499, save $100 –... Read more

Jobs Board

Licensed Dental Hygienist - *Apple* River -...
Park Dental Apple River in Somerset, WI is seeking a compassionate, professional Dental Hygienist to join our team-oriented practice. COMPETITIVE PAY AND SIGN-ON Read more
Sublease Associate Optometrist- *Apple* Val...
Sublease Associate Optometrist- Apple Valley, CA- Target Optical Date: Sep 30, 2023 Brand: Target Optical Location: Apple Valley, CA, US, 92307 **Requisition Read more
*Apple* / Mac Administrator - JAMF - Amentum...
Amentum is seeking an ** Apple / Mac Administrator - JAMF** to provide support with the Apple Ecosystem to include hardware and software to join our team and Read more
Child Care Teacher - Glenda Drive/ *Apple* V...
Child Care Teacher - Glenda Drive/ Apple ValleyTeacher Share by Email Share on LinkedIn Share on Twitter 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.