home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
mac
/
hypercar
/
xcmd
/
getadd.sit
< prev
next >
Wrap
Internet Message Format
|
1992-11-05
|
9KB
From: Thomas Fruin <thomas@heraldo.apple.cl>
Organization: Apple Chile
Date: Tue, 07 Jul 92 14:23:57 EST
Subject: GetAddressingMode XFCN - tells if Mac is in 24 or 32 bit mode
Some time back I asked the net for an XFCN to determine if a machine is
running with 24-bit addressing or 32-bit addressing. As Dan LaSota already
pointed out in an earlier digest, the GestaltLook! set of XFCNs include
that functionality.
While browsing on AppleLink I also found the GetAddressingMode external.
GetAddressingMode does exactly what its name implies and fills the above-
mentioned need. It's also shareware, so I'm submitting it to the archives.
-- Thomas Fruin Santiago, Chile thomas@heraldo.apple.cl
(This file must be converted with BinHex 4.0)
:&8GPG%&NC(*PFh0TEQG0Ef4P,R0TG!"6593K8dP8)3!!!!!AEJ!!!!$M890*9#%
!!3!!&fjb6'&e!3!!!!!!!!!#!KT(CA4"C'4bCA0cD@jR6@pNC5"B4N01)$%Z-2m
!!`$r!2m!r`$r!Fa@&J(*IL3"c,r#!m)"#J!G!!%!!!(-9M"69%&,9dP-4!%!Sef
E,UCHA-m!!!Jr!!!L!!!!"Y!!!"!B3*PfV3!!!!!!!%Q!!!!%#!MJ3+L!"Ji'p!6
RJ*3bFiDmJC2()85*&"d1!B'N$*Z'$b01e(#N$*dJC-M)J6JRMCXc6Gk3!#N$!SZ
4)8j!a(!"ii`!JN#$#Ke+&+JT,eaq""4"%-%2"R"NR2)J!XN%2J"qGXMbk!@2*81
3!%J4FLB'[hrr&RK+"HV&K6-"4D@5"1),U"3MS!#JB1,VN!!J8)5im@G-X$pQ3Gc
p!p!#L6pKH!#B4DZ@UpFP63#6r4"%)&ZhCRa!HD5%b"N#2`LNdT6B(b`TD!"`!-9
JM34EU!#!-11ZbL-NEKB("&3d)#L#HJ2#)AKF)*L!`)J(#!F-`!!Ca!eX#-MJQ3-
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