Aug 89 Mousehole
Volume Number: 5
Issue Number: 8
Column Tag: Mousehole Report
Mousehole Report 
By Rusty Hodge & Larry Nedry, Mousehole BBS
From: Caro
Subject: mac logic board
I have a problem with my Mac+ logic board (I already KNOW it’s not RAM or any
peripheral)
--on power-up it puts up a black screen and sad Mac
--doesn’t even get as far as the RAM test
--and posts an error code of 030020.
Apple doesn’t support chip level repair, and I really don’t want to pay 350 plus trade
in for what is probably a 2.00 chip. Any Mac hardware hackers out there? I’m a
programmer and my boss is equally expert with hardware and software. Anyone know
what this error message means? Other handy hints? Where to get a complete
schematic?
From: Smugwimp
Subject: mac logic board
The chances are it is one of your ROM chips. You should have snap in chips as far as
the ROM goes. Call “Pre-Owned Electronics” (sorry I don’t have #). They have ads in
the “Computer Shopper” and sell them for around $125 a set. If you do change them
yourself
a) Be certain you are out of warranty
b) is Applecare not an answer ?
c) if you DO IT, be SURE to observe anti-Static procedures so as not to blow the rest of
your Mac replacing one section. --> SmugWimp
From: Ctli
Subject: Extended Keyboard
I’m writing an application that will use the extended keyboard. How can I tell if F1 -
F4 is pressed in the event loop? Values returned by GetNextEvent are 27A10, 27810,
26310, 27610 respectively. In a dialog hook routine, when F1 - F4 are pressed,
Item contains the value $1010.
From: Shunt
Subject: Xcmds and code greater than 32K
HELP!!
I’m in the process of writing a series of XCMDs for HyperCard; having got right
through to the 49th - now I’ve have run into problems.
The code for this particular command is too large for a standard 32767 byte segment
and, on linking, I have a stream of error 48 messages whereby the PC-relative edit
offset is out of range (jump table calls greater than 32k away). I have tried
reorganizing the procedures, functions and include files- unfortunately I cannot strip
out any more of the code. I can set the segment size to accommodate the code OK, and
have tried -srt option on linking and -b option on compiling: All to no avail.
Any suggestions please! These Xcmds will also be duplicated as 4D Externals so any
Help on this front would also be greatly appreciated.
Many thanks Doug Hunter.
From: Craigk
Subject: Xcmds and code greater than 32K
I had a similar problem programming the Manhattan ZIP Code Locator. In trying to
handle over 800 streets and thousands of addresses, I just resorted to 3 XCMDS. If
what I wanted didn’t get done in the first one, I just called the next one. I realize that
this is not a direct answer to your question, but that is how I worked around the 32K
limit.
From: Spud
Subject: XCMDs with CODE?
I was about to write an XCMD that calls an external CODE resource, when someone
informed me that HyperCard can’t do that!!! Is it true?!?
From: Rguerra
Subject: KeyCode Question
I need to translate a keyCode (obtained from the EventRecord message field using the
KeyCodemask and BitAnd) BACK into an ASCII character. I can’t just get it from the
Event message because modifier keys will give you strange characters and I just want
exactly what’s on the key that was pressed. I tried using KeyTrans but I can’t seem to
make it work. Can anyone help me with this!?!? I’m up against a deadline and I need to
get this problem solved. Thanks!
Rich
From: Rguerra
Subject: KEYTRANS AGAIN
As it turns out, the solution to my keyCode back to ASCII conversion question is simple:
The trick is to save the value of the “State” variable after calling KeyTrans the first
time.
KeyTrans(transData, keycode, state);
This call returns a LONGINT that contains (among other things) the ASCII code of the
key you’ve just pressed. No more problems!
Rich
From: Wenbrown