[comp.sys.apple] System Error $1101

jearls@polyslo.CalPoly.EDU ( Chumley The Troll ) (09/26/89)

Whatt is System Error $1101?  I know it has something to do with the loader
but the Toolbox Ref doesn't list it.  Also, what is GS/OS Error $0002 ?

Thanks,
- John

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Chumley@Bazaar.Deva.COM           | 
-aka- EARLSJ@AFAL-Edwards.AF.MIL        | If two wrongs don't make a right,
-aka- jearls@polyslo.CalPoly.EDU        | try three...

jonah@amos.ling.ucsd.edu (Jonah Stich) (09/27/89)

In article <1989Sep26.152721.9458@polyslo.CalPoly.EDU> jearls@polyslo.CalPoly.EDU (  Chumley The Troll  ) writes:
>Whatt is System Error $1101?  I know it has something to do with the loader
>but the Toolbox Ref doesn't list it.  Also, what is GS/OS Error $0002 ?

Sysstem error $1101 is a Segment or Entry not found error. Sorry, I can't
help you with the second one.

Jonah

dlyons@Apple.COM (David Lyons) (09/28/89)

In article <1989Sep26.152721.9458@polyslo.CalPoly.EDU> jearls@polyslo.CalPoly.EDU (  Chumley The Troll  ) writes:
>[...] Also, what is GS/OS Error $0002 ?

It means GS/OS couldn't allocate some memory it couldn't continue without.  (If
you're developing a program and getting this consistently, it probably means
you've used a class-0 pathname where you needed a class-1 pathname.)
-- 

 --Dave Lyons, Apple Computer, Inc.          |   DAL Systems
   America--Apple Edition: DAVE.LYONS        |   P.O. Box 875
   America Online: Dave Lyons                |   Cupertino, CA 95015-0875
   GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
   Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons

   My opinions are my own, not Apple's.

jearls@polyslo.CalPoly.EDU ( Stupid ) (09/28/89)

In article <35070@apple.Apple.COM> dlyons@Apple.COM (David Lyons) writes:
>It means GS/OS couldn't allocate some memory it couldn't continue without.  (If
>you're developing a program and getting this consistently, it probably means
>you've used a class-0 pathname where you needed a class-1 pathname.)

Now you've got me confused -- what is a class 0 and class 1 pathname?

> --Dave Lyons, Apple Computer, Inc.          |   DAL Systems
>   America--Apple Edition: DAVE.LYONS        |   P.O. Box 875
>   America Online: Dave Lyons                |   Cupertino, CA 95015-0875
>   GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
>   Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons
>
>   My opinions are my own, not Apple's.


- John

-- 
-------------------------------------------------------------------------------
Stupid@Idiots.Anonymous.Com | There's an explanation for everything. Tis a pity
jearls@polyslo.CalPoly.EDU  | that many of those explanations make no sense.
earlsj@AFAL-EDWARDS.AF.MIL  | - The Teachings of Ebenezum, volume LXIX

dlyons@Apple.COM (David Lyons) (09/28/89)

In article <1989Sep27.225746.23189@polyslo.CalPoly.EDU> jearls@polyslo.CalPoly.EDU (  Stupid  ) writes:
>Now you've got me confused -- what is a class 0 and class 1 pathname?

A class-0 pathname has one byte at the beginning indicating how long the
pathname is.  ProDOS 8 uses this kind of string, and so do all the "class 0"
GS/OS calls (the ones that are there for ProDOS 16 compatibility).

The class 1 GS/OS calls (in the $20xx range) use class 1 strings, which
have *two* bytes at the beginning indicating the length.  If you use a
class 0 string by mistake, GS/OS interprets the first character of your
string as the high-order byte of the length.  For example, "AB" as a
class 0 string is $01 $41 $42; as a class 1 string it's $01 $00 $41 $42.
If you feed GS/OS the first one when it's expecting the second, it sees
a string $4101 bytes long--the first character is "B", and the other
16640 are whatever happens to be in memory following that.

>> --Dave Lyons, Apple Computer, Inc.          |   DAL Systems
>>   America--Apple Edition: DAVE.LYONS        |   P.O. Box 875
     ^^^^^^^^^^^^^^^^^^^^^^

Dang...I caught that a few minutes ago.  It can't be all my fault... :)
somebody must have distracted me yesterday while I was editing my
signature file (changing AppleLink--Personal Edition to America Online).
-- 

 --Dave Lyons, Apple Computer, Inc.          |   DAL Systems
   AppleLink--Apple Edition: DAVE.LYONS      |   P.O. Box 875
   America Online: Dave Lyons                |   Cupertino, CA 95015-0875
   GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
   Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons

   My opinions are my own, not Apple's.

L77@TAUNOS.BITNET (Yoram Ney) (09/28/89)

>A class-0 pathname has one byte at the beginning indicating how long the
>pathname is.  ProDOS 8 uses this kind of string, and so do all the "class 0"
>GS/OS calls (the ones that are there for ProDOS 16 compatibility).

*All* 65C02 oriented prodos's use this kind of string.

                     L77@TAUNOS