[comp.sys.mac] System 3.3 & FKEYs

clubmac@runx.UUCP (01/29/87)

Following my posting about the loss of command-shift-digit control of FKEYs,
under System 3.3, a fellow LightspeedC user pointed out that there was a ToolBox
global ScrDmpEnb, a byte at $2F8 indicating whether the ToolBox Event Manager is
handling FKEYs.  To quote Inside Mac Vol. 1, page 258...

"Assembly-language note: You can disable GetNextEvent processing of Command-
Shift-number combinations by setting the global variable ScrDmpEnb ( a byte)
to 0"

Seeing this, I decided to bring the micro debugger up and check the value of
ScrDmpEnb. Now, since FKEYs weren't accessable per Command-Shift-digit, the
value of ScrDmpEnb according to IM Vol. 1 should be zero. 

However, the value was in fact $FF (-1, or TRUE)! So, I set ScrDmpEnb to zero.
Lo and behold! A miracle! FKEYs came back!!!!

Clearly, Inside Macintosh is wrong.

By the way, does anyone know how to bring the microbugger up without using the
interrupt switch?

Jason Haines

clubmac@runx.UUCP (01/30/87)

Correction: Inside Mac Volume I page 258 is correct!

It seems that System 3.3 has reversed it's interpretation of ScrDmpEnb. Setting
ScrDmpEnb to zero does disable FKEY handling on System 3.2 and earlier. 

HOWEVER, on System 3.3, this is not so. Setting ScrDmpEnb to zero *enables*
FKEY handling.

I have checked this with some developers with beta test copies, and they have
found the same.

To solve this problem, I simply wrote an INIT to invert ScrDmpEnb.

TO APPLE: Any reasons why FKEYs are not supported per Command-Shift-digit
combinations? Has AppleShare got anything to do with it?

Thanks,
	Jason Haines

lsr@apple.UUCP (02/11/87)

In article <626@runx.OZ> clubmac@runx.OZ (Sydney University Macintosh Society) writes:
>
>Correction: Inside Mac Volume I page 258 is correct!
>
>It seems that System 3.3 has reversed it's interpretation of ScrDmpEnb. Setting
>ScrDmpEnb to zero does disable FKEY handling on System 3.2 and earlier. 
>
>HOWEVER, on System 3.3, this is not so. Setting ScrDmpEnb to zero *enables*
>FKEY handling.
>

Absolutely wrong!  You must have been using pre-release software.

I tried this with the official System 3.3 that comes with AppleShare and
FKEYs worked fine.  (Both the built in ones and new ones that I installed.)
I checked ScrDmpEnb ($02F8) and it was $FF as it should be.  Setting it to
00 disabled FKEYs.

This points out one of the problems with using pre-release software.  In the
future, you should make it clear which version of software you are using.


-- 
Larry Rosenstein

Object Specialist
Apple Computer

AppleLink: Rosenstein1
UUCP:  {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.CSNET

clubmac@runx.UUCP (02/15/87)

About pre-release Systems...

Larry,
	Shouldn't STR 0 give the correct version info? I read it, and it said
	"System 3.3", nothing more.

	Without an 'a1' or 'b2' suffix, is there any interpretation other than
	the version I am using is release?

	In Australia, the dealer distribution scheme for new versions of
	Finder, System and other System stuff simply DOES NOT WORK. Many
	dealers still don't know about System 3.2! SO, I look around for
	pre-release Apple stuff, otherwise I would never see it.

Jason Haines