yagsdisasm/NList.Data.TXT

2517 lines
69 KiB
Plaintext
Raw Permalink Normal View History

2016-05-26 03:34:19 +00:00
fff9 | NLIST Data File: Last mod 17-Oct-93 DAL (Loma Prieta + 4)
fffa | Based on Apple IIgs System Disk 6.0.1+UserTool#1,2
fffb | Dave Lyons
fffc | dlyons@apple.com
0040 P8:ALLOC_INTERRUPT(2:IntNum/1,CodePtr)
0041 P8:DEALLOC_INTERRUPT(1:IntNum/1)
0042 P8:ATLK:AppleTalk(Async/1,Cmd/1,Result,...)
0043 P8:ATLK:SpecialOpenFork(4or84:pn,ioBuff,Ref/1,Mode/1)
0044 P8:ATLK:ByteRangeLock(4:Ref/1,Flag/1,Off/3,Len/3)
0065 P8:QUIT(4:Type/1,Path,zz/1,zz)
0080 P8:READ_BLOCK(3:Unit/1,Buff,BlkNum)
0081 P8:WRITE_BLOCK(3:Unit/1,Buff,BlkNum)
0082 P8:GET_TIME()
00C0 P8:CREATE(7:pn,acc/1,type/1,aux,stt/1,cD,cT)
00C1 P8:DESTROY(1:pn)
00C2 P8:RENAME(2:pn1,pn2)
00C3 P8:SetFileInfo(7:pn,a/1,t/1,aux,nul/3,mD,mT)
00C4 P8:GetFileInfo(10:pn,a/1,t/1,x,s/1,b,mDTcDT)
00C5 P8:ONLINE(2:UnitNum/1,Buff)
00C6 P8:SET_PREFIX(1:pn)
00C7 P8:GET_PREFIX(1:Buff)
00C8 P8:OPEN(3:pn,ioBuff,Ref/1)
00C9 P8:NEWLINE(3:Ref/1,Mask/1,Char/1)
00CA P8:READ(4:Ref/1,Where,reqCount,xfrCount)
00CB P8:WRITE(4:Ref/1,Where,reqCount,xfrCount)
00CC P8:CLOSE(1:Ref/1)
00CD P8:FLUSH(1:Ref/1)
00CE P8:SET_MARK(2:Ref/1,Position/3)
00CF P8:GET_MARK(2:Ref/1,Position/3)
00D0 P8:SET_EOF(2:Ref/1,Position/3)
00D1 P8:GET_EOF(2:Ref/1,Position/3)
00D2 P8:SET_BUF(2:Ref/1,ioBuff)
00D3 P8:GET_BUF(2:Ref/1,ioBuff)
* ProDOS 16 / GS/OS
0001 P16:CREATE(@Path,Acc,Typ,Aux/4,StT,CrD,CrT)
0002 P16:DESTROY(@Path)
0004 P16:CHANGE_PATH(@Path1,@Path2)
0005 P16:SET_FILE_INFO(@P,a,t,xt/4,z,cD,cT,mD,mT)
0006 P16:GET_FILE_INFO(@P,a,t,xt/4,s,cDT,mDT,b/4)
0008 P16:VOLUME(@DevN,@VolN,Blks/4,FreeBlks/4,fsID)
0009 P16:SET_PREFIX(Pfx#,@Prefix)
000A P16:GET_PREFIX(Pfx#,@Buff)
000B P16:CLEAR_BACKUP_BIT(@Path)
0010 P16:OPEN(Ref,@Path,xxx/4)
0011 P16:NEWLINE(Ref,Mask,Char)
0012 P16:READ(Ref,@Where,Count/4,xfCount/4)
0013 P16:WRITE(Ref,@Where,Count/4,xfCount/4)
0014 P16:CLOSE(Ref)
0015 P16:FLUSH(Ref)
0016 P16:SET_MARK(Ref,Pos/4)
0017 P16:GET_MARK(Ref,Pos/4)
0018 P16:SET_EOF(Ref,EOF/4)
0019 P16:GET_EOF(Ref,EOF/4)
001A P16:SET_LEVEL(Level)
001B P16:GET_LEVEL(Level)
001C P16:GET_DIR_ENTRY(Ref#,z,Bs,Dis,@Bf,dEnt/36)
0020 P16:GET_DEV_NUM(@DevName,Dev#)
0021 P16:GET_LAST_DEV(Dev#)
0022 P16:READ_BLOCK(Dev#,@Where,Blk#/4)
0023 P16:WRITE_BLOCK(Dev#,@Where,Blk#/4)
0024 P16:FORMAT(@DevName,@VolName,fsID)
0025 P16:ERASE_DISK(@DevName,@VolName,fsID)
0027 P16:GET_NAME(@Buff)
0028 P16:GET_BOOT_VOL(@Buff)
0029 P16:QUIT(@Path,Flags)
002A P16:GET_VERSION(Version)
002C P16:D_INFO(Dev#,@DevName)
0031 P16:ALLOC_INTERRUPT(Int#,@Code)
0032 P16:DEALLOCATE_INTERRUPT(Int#)
0101 Shell:Get_LInfo (...)
0102 Shell:Set_LInfo (...)
0103 Shell:Get_Lang(Lang)
0104 Shell:Set_Lang(Lang)
0105 Shell:Error(Error)
0106 Shell:Set_Variable(@VarName,Val/4)
0107 Shell:Version(Vers/4)
0108 Shell:Read_Indexed(@VarName,Val/4,Index)
0109 Shell:Init_Wildcard(@File,Flags)
010A Shell:Next_Wildcard(@NextFile)
010B Shell:Read_Variable(@VarName,Value/4)
010C Shell:ChangeVector(res,vec,@proc,@old)
010D Shell:Execute(Flag,@CmdStr)
010E Shell:FastFile(act,ind,flg,H,L/4,@n,...)
010F Shell:Direction(Dev,Direct)
0110 Shell:Redirect(Dev,ApndFlg,@File)
0113 Shell:Stop(StopFlag)
0114 Shell:ExpandDevices(@name)
0115 Shell:UnsetVariable(@var)
0116 Shell:Export(@var,flags)
0117 Shell:PopVariables()
0118 Shell:PushVariables()
0119 Shell:SetStopFlag(stopFlag)
011A Shell:ConsoleOut(Char)
011B Shell:SetIODevices(OutT,@out,ErrT,@err,InT,@in)
011C Shell:GetIODevices(OutT,@out,ErrT,@err,InT,@in)
011D Shell:GetCommand(idx,restart,rsv,cmd,name/16)
2001 GS/OS:Create(1-7:@P,Acc,Typ,Aux/4,Stg,EOF/4,rEOF/4)
2002 GS/OS:Destroy(1:@P)
2003 GS/OS:OSShutdown(1:Flags)
2004 GS/OS:ChangePath(2-3:@P1,@P2,TrustMeFlag)
2005 GS/OS:SetFileInfo(2-12:@P,A,T,X/4,,c/8,m/8,@Opt,,,,)
2006 GS/OS:GetFileInfo(2-12:@P,A,T,X/4,S,c/8,m/8,@Opt,EOF/4,B/4,rEOF/4,rB/4)
2007 GS/OS:JudgeName(3-6:fileSysID,Descr,@Rules,MaxLen,@Path,Result)
2008 GS/OS:Volume(2-8:@DevN,@vnOut,blks/4,free/4,fSys,BlkSz,char,devID)
2009 GS/OS:SetPrefix(1-2:pfxNum,@Pfx)
200A GS/OS:GetPrefix(2:pfxNum,@Pfx)
200B GS/OS:ClearBackup(1:@P)
200C GS/OS:SetSysPrefs(1:prefs)
200D GS/OS:Null(0:)
200E GS/OS:ExpandPath(2-3:@InPath,@OutPath,UpcaseFlg)
200F GS/OS:GetSysPrefs(1:prefs)
2010 GS/OS:Open(2-15:ref,@P,Acc,fork,gotAcc,+GET_FILE_INFO)
2011 GS/OS:NewLine(4:ref,ANDmask,NumChars,@NLtable)
2012 GS/OS:Read(4-5:ref,@buff,count/4,xfer/4,cacheFlg)
2013 GS/OS:Write(4-5:ref,@buff,count/4,xfer/4,cacheFlg)
2014 GS/OS:Close(1:ref)
2015 GS/OS:Flush(1-2:ref,flags)
2016 GS/OS:SetMark(3:ref,base,displ/4)
2017 GS/OS:GetMark(2:ref,pos/4)
2018 GS/OS:SetEOF(3:ref,base,displ/4)
2019 GS/OS:GetEOF(2:ref,eof/4)
201A GS/OS:SetLevel(1-2:level,levelMode)
201B GS/OS:GetLevel(1-2:level,levelMode)
201C GS/OS:GetDirEntry(5-17:rf,fl,bs,ds,@n,n,T,EOF/4,b/4,c/8,m/8,A,X/4,FS,@o,resEOF/4,resBk/4)
201D GS/OS:BeginSession(0:)
201E GS/OS:EndSession(0:)
201F GS/OS:SessionStatus(1:status)
2020 GS/OS:GetDevNumber(2:@DevN,devnum)
2024 GS/OS:Format(1-6:@DevN,@VolN,gotFS,wantFS,flags,realVolName)
2025 GS/OS:EraseDisk(1-6:@DevN,@VolN,gotFS,wantFS,flags,realVolName)
2026 GS/OS:ResetCache(0:)
2027 GS/OS:GetName(1:@n)
2028 GS/OS:GetBootvol(1:@n)
2029 GS/OS:Quit(0-2:@P,flags)
202A GS/OS:GetVersion(1:version)
202B GS/OS:GetFSTInfo(2-7:n,fs,@n,ver,attr,bSz,mxV/4,mxF/4)
202C GS/OS:DInfo(2-10:n,@n,chr,B/4,sl,unit,ver,dTyp,@hd,@nx)
202D GS/OS:DStatus(5:n,statusReq,@statList,count/4,xfer/4)
202E GS/OS:DControl(5:n,code,@ctlList,count/4,xfer/4)
202F GS/OS:DRead(6:n,@bf,count/4,blk/4,blkSz,xfer/4)
2030 GS/OS:DWrite(6:n,@bf,count/4,blk/4,blkSz,xfer/4)
2031 GS/OS:BindInt(3:IntNum,VecRefNum,@handler)
2032 GS/OS:UnbindInt(1:IntNum)
2033 GS/OS:FSTSpecific(2+...)
2034 GS/OS:AddNotifyProc(1:@proc)
2035 GS/OS:DelNotifyProc(1:@proc)
2036 GS/OS:DRename(2:n,@newName)
2037 GS/OS:GetStdRefNum(2:pfxNum,refNum)
2038 GS/OS:GetRefNum(2-6:@path,ref,acc,res,case,disp)
2039 GS/OS:GetRefInfo(2-5:ref,acc,@path,resNum,level)
203A GS/OS:SetStdRefNum(2:pfxNum,refNum)
* System tools
0000 === System Tools ===
0001 === tool locator ===
0101 TLBootInit()
0201 TLStartUp()
0301 TLShutDown()
0401 TLVersion():Vers
0501 TLReset()
0601 TLStatus():ActFlg
0901 GetTSPtr(SysFlg,TS#):@FPT
0A01 SetTSPtr(SysFlg,TS#,@FPT)
0B01 GetFuncPtr(SysFlg,Func):@Func
0C01 GetWAP(SysFlg,TS#):@WAP
0D01 SetWAP(SysFlg,TS#,@WAP)
0E01 LoadTools(@ToolTable)
0F01 LoadOneTool(TS#,MinVers)
1001 UnloadOneTool(TS#)
1101 TLMountVolume(X,Y,@L1,@L2,@B1,@B2):Btn#
1201 TLTextMountVolume(@L1,@L2,@B1,@B2):Btn#
1301 SaveTextState():StateH
1401 RestoreTextState(StateH)
1501 MessageCenter(Action,Type,MsgH)
1601 SetDefaultTPT()
1701 MessageByName(CreateF,@inpRec):Created,Type
1801 StartUpTools(MemID,ssDesc,ssRef/4):ssRef/4
1901 ShutDownTools(ssDesc,ssRef/4)
1A01 GetMsgHandle(Flags,MsgRef/4):H
1B01 AcceptRequests(@NameStr,UserID,@ReqProc)
1C01 SendRequest(ReqCode,How,Target/4,@In,@Out)
0002 === memory manager ===
0102 MMBootInit()
0202 MMStartUp():MemID
0302 MMShutDown(MemID)
0402 MMVersion():Vers
0502 MMReset()
0602 MMStatus():ActFlg
0902 NewHandle(Size/4,MemID,Attr,@loc):H
0A02 ReAllocHandle(Size/4,MemID,Attr,@loc,H)
0B02 RestoreHandle(H)
0C02 AddToOOMQueue(@header)
0D02 RemoveFromOOMQueue(@header)
1002 DisposeHandle(H)
1102 DisposeAll(MemID)
1202 PurgeHandle(H)
1302 PurgeAll(MemID)
1802 GetHandleSize(H):Size/4
1902 SetHandleSize(Size/4,H)
1A02 FindHandle(@byte):H
1B02 FreeMem():FreeBytes/4
1C02 MaxBlock():Size/4
1D02 TotalMem():Size/4
1E02 CheckHandle(H)
1F02 CompactMem()
2002 HLock(H)
2102 HLockAll(MemID)
2202 HUnlock(H)
2302 HUnlockAll(MemID)
2402 SetPurge(PrgLvl,H)
2502 SetPurgeAll(PrgLvl,MemID)
2802 PtrToHand(@Src,DestH,Count/4)
2902 HandToPtr(SrcH,@Dest,Count/4)
2A02 HandToHand(SrcH,DestH,Count/4)
2B02 BlockMove(@Source,@Dest,Count/4)
2F02 RealFreeMem():Size/4
3002 SetHandleID(newMemID,theH):oldMemID
0003 === misc tools ===
0103 MTBootInit()
0203 MTStartUp()
0303 MTShutDown()
0403 MTVersion():Vers
0503 MTReset()
0603 MTStatus():ActFlg
0903 WriteBRam(@Buff)
0A03 ReadBRam(@Buff)
0B03 WriteBParam(Data,Parm#)
0C03 ReadBParam(Parm#):Data
0D03 ReadTimeHex():WkDay,Mn&Dy,Yr&Hr,Mn&Sec
0E03 WriteTimeHex(Mn&Dy,Yr&Hr,Mn&Sec)
0F03 ReadAsciiTime(@Buff)
1003 SetVector(Vec#,@x)
1103 GetVector(Vec#):@x
1203 SetHeartBeat(@Task)
1303 DelHeartBeat(@Task)
1403 ClrHeartBeat()
1503 SysFailMgr(Code,@Msg)
1603 GetAddr(Ref#):@Parm
1703 ReadMouse():X,Y,Stat&Mode
1803 InitMouse(Slot)
1903 SetMouse(Mode)
1A03 HomeMouse()
1B03 ClearMouse()
1C03 ClampMouse(Xmn,Xmx,Ymn,Ymx)
1D03 GetMouseClamp():Xmn,Xmx,Ymn,Ymx
1E03 PosMouse(X,Y)
1F03 ServeMouse():IntStat
2003 GetNewID(Kind):MemID
2103 DeleteID(MemID)
2203 StatusID(MemID)
2303 IntSource(Ref#)
2403 FWEntry(A,X,Y,Address):P,A,X,Y
2503 GetTick():Ticks/4
2603 PackBytes(@StartPtr,@Sz,@OutBf,OutSz):Size
2703 UnPackBytes(@Buff,BfSz,@StartPtr,@Sz):Size
2803 Munger(@Dst,@DstL,@t,tL,@Rpl,RplL,@Pad):N
2903 GetIRQEnable():IntStat
2A03 SetAbsClamp(Xmn,Xmx,Ymn,Ymx)
2B03 GetAbsClamp():Xmn,Xmx,Ymn,Ymx
2C03 SysBeep()
2E03 AddToQueue(@newTask,@queueHeader)
2F03 DeleteFromQueue(@task,@queueHeader)
3003 SetInterruptState(@stateRec,NumBytes)
3103 GetInterruptState(@stateRec,NumBytes)
3203 GetIntStateRecSize():Size
3303 ReadMouse2():xPos,yPos,StatMode
3403 GetCodeResConverter():@proc
3503 GetROMResource(???,???/4):???H
3603 ReleaseROMResource(???,???/4)
3703 ConvSeconds(convVerb,Secs/4,@Date):SecondsOut/4
3803 SysBeep2(beepKind)
3903 VersionString(flags,Version/4,@Buffer)
3A03 WaitUntil(WaitFromTime,DelayTime):NewTime
3B03 StringToText(flags,@String,StrLen,@Buffer):ResFlags,PrntLen
3C03 ShowBootInfo(@String,@Icon)
3D03 ScanDevices():DevNum
3E03 AlertMessage(@Table,MsgNum,@Subs):Button
3F03 DoSysPrefs(bitsToClear,bitsToSet):SysPrefs
0004 === QuickDraw II ===
0104 QDBootInit()
0204 QDStartUp(DirPg,MastSCB,MaxWid,MemID)
0304 QDShutDown()
0404 QDVersion():Vers
0504 QDReset()
0604 QDStatus():ActFlg
0904 GetAddress(what):@Table
0A04 GrafOn()
0B04 GrafOff()
0C04 GetStandardSCB():SCB
0D04 InitColorTable(@Table)
0E04 SetColorTable(Tab#,@SrcTab)
0F04 GetColorTable(Tab#,@DestTbl)
1004 SetColorEntry(Tab#,Ent#,NewCol)
1104 GetColorEntry(Tab#,Ent#):Color
1204 SetSCB(Line#,SCB)
1304 GetSCB(Line#):SCB
1404 SetAllSCBs(SCB)
1504 ClearScreen(Color)
1604 SetMasterSCB(SCB)
1704 GetMasterSCB():SCB
1804 OpenPort(@Port)
1904 InitPort(@Port)
1A04 ClosePort(@Port)
1B04 SetPort(@Port)
1C04 GetPort():@Port
1D04 SetPortLoc(@LocInfo)
1E04 GetPortLoc(@LocInfo)
1F04 SetPortRect(@Rect)
2004 GetPortRect(@Rect)
2104 SetPortSize(w,h)
2204 MovePortTo(h,v)
2304 SetOrigin(h,v)
2404 SetClip(RgnH)
2504 GetClip(RgnH)
2604 ClipRect(@Rect)
2704 HidePen()
2804 ShowPen()
2904 GetPen(@Pt)
2A04 SetPenState(@PenSt)
2B04 GetPenState(@PenSt)
2C04 SetPenSize(w,h)
2D04 GetPenSize(@Pt)
2E04 SetPenMode(Mode)
2F04 GetPenMode():Mode
3004 SetPenPat(@Patt)
3104 GetPenPat(@Patt)
3204 SetPenMask(@Mask)
3304 GetPenMask(@Mask)
3404 SetBackPat(@Patt)
3504 GetBackPat(@Patt)
3604 PenNormal()
3704 SetSolidPenPat(Color)
3804 SetSolidBackPat(Color)
3904 SolidPattern(Color,@Patt)
3A04 MoveTo(h,v)
3B04 Move(dh,dv)
3C04 LineTo(h,v)
3D04 Line(dh,dv)
3E04 SetPicSave(Val/4)
3F04 GetPicSave():Val/4
4004 SetRgnSave(Val/4)
4104 GetRgnSave():Val/4
4204 SetPolySave(Val/4)
4304 GetPolySave():Val/4
4404 SetGrafProcs(@GrafProcs)
4504 GetGrafProcs():@GrafProcs
4604 SetUserField(Val/4)
4704 GetUserField():Val/4
4804 SetSysField(Val/4)
4904 GetSysField():Val/4
4A04 SetRect(@Rect,left,top,right,bot)
4B04 OffsetRect(@Rect,dh,dv)
4C04 InsetRect(@Rect,dh,dv)
4D04 SectRect(@R1,@R2,@DstR):nonEmptyF
4E04 UnionRect(@Rect1,@Rect2,@UnionRect)
4F04 PtInRect(@Pt,@Rect):Flag
5004 Pt2Rect(@Pt1,@Pt2,@Rect)
5104 EqualRect(@Rect1,@Rect2):Flag
5204 NotEmptyRect(@Rect):Flag
5304 FrameRect(@Rect)
5404 PaintRect(@Rect)
5504 EraseRect(@Rect)
5604 InvertRect(@Rect)
5704 FillRect(@Rect,@Patt)
5804 FrameOval(@Rect)
5904 PaintOval(@Rect)
5A04 EraseOval(@Rect)
5B04 InvertOval(@Rect)
5C04 FillOval(@Rect,@Patt)
5D04 FrameRRect(@Rect,OvalW,OvalHt)
5E04 PaintRRect(@Rect,OvalW,OvalHt)
5F04 EraseRRect(@Rect,OvalW,OvalHt)
6004 InvertRRect(@Rect,OvalW,OvalHt)
6104 FillRRect(@Rect,OvalW,OvalHt,@Patt)
6204 FrameArc(@Rect,Ang1,ArcAng)
6304 PaintArc(@Rect,Ang1,ArcAng)
6404 EraseArc(@Rect,Ang1,ArcAng)
6504 InvertArc(@Rect,Ang1,ArcAng)
6604 FillArc(@Rect,Ang1,ArcAng,@Patt)
6704 NewRgn():RgnH
6804 DisposeRgn(RgnH)
6904 CopyRgn(SrcRgnH,DestRgnH)
6A04 SetEmptyRgn(RgnH)
6B04 SetRectRgn(RgnH,left,top,right,bot)
6C04 RectRgn(RgnH,@Rect)
6D04 OpenRgn()
6E04 CloseRgn(RgnH)
6F04 OffsetRgn(RgnH,dh,dv)
7004 InsetRgn(RgnH,dh,dv)
7104 SectRgn(Rgn1H,Rgn2H,DstRgnH)
7204 UnionRgn(Rgn1H,Rgn2H,UnionRgnH)
7304 DiffRgn(Rgn1H,Rgn2H,DstRgnH)
7404 XorRgn(Rgn1H,Rgn2H,DstRgnH)
7504 PtInRgn(@Pt,RgnH):Flag
7604 RectInRgn(@Rect,RgnH):Flag
7704 EqualRgn(Rgn1H,Rgn2H):Flag
7804 EmptyRgn(RgnH):Flag
7904 FrameRgn(RgnH)
7A04 PaintRgn(RgnH)
7B04 EraseRgn(RgnH)
7C04 InvertRgn(RgnH)
7D04 FillRgn(RgnH,@Patt)
7E04 ScrollRect(@Rect,dh,dv,UpdtRgnH)
7F04 PaintPixels(@ppParms)
8004 AddPt(@SrcPt,@DestPt)
8104 SubPt(@SrcPt,@DstPt)
8204 SetPt(@Pt,h,v)
8304 EqualPt(@Pt1,@Pt2):Flag
8404 LocalToGlobal(@Pt)
8504 GlobalToLocal(@Pt)
8604 Random():N
8704 SetRandSeed(Seed/4)
8804 GetPixel(Hor,Vert):Pixel
8904 ScalePt(@Pt,@SrcRect,@DstRect)
8A04 MapPt(@Pt,@SrcRect,@DstRect)
8B04 MapRect(@Rect,@SrcRect,@DstRect)
8C04 MapRgn(MapRgnH,@SrcRect,@DstRect)
8D04 SetStdProcs(@StdProcRec)
8E04 SetCursor(@Curs)
8F04 GetCursorAdr():@Curs
9004 HideCursor()
9104 ShowCursor()
9204 ObscureCursor()
9304 SetMouseLoc ???
9404 SetFont(FontH)
9504 GetFont():FontH
9604 GetFontInfo(@InfoRec)
9704 GetFontGlobals(@FGRec)
9804 SetFontFlags(Flags)
9904 GetFontFlags():Flags
9A04 SetTextFace(TextF)
9B04 GetTextFace():TextF
9C04 SetTextMode(TextM)
9D04 GetTextMode():TextM
9E04 SetSpaceExtra(SpEx/4f)
9F04 GetSpaceExtra():SpEx/4f
A004 SetForeColor(Color)
A104 GetForeColor():Color
A204 SetBackColor(BackCol)
A304 GetBackColor():BackCol
A404 DrawChar(Char)
A504 DrawString(@Str)
A604 DrawCString(@cStr)
A704 DrawText(@Text,Len)
A804 CharWidth(Char):Width
A904 StringWidth(@Str):Width
AA04 CStringWidth(@cStr):Width
AB04 TextWidth(@Text,Len):Width
AC04 CharBounds(Char,@Rect)
AD04 StringBounds(@Str,@Rect)
AE04 CStringBounds(@cStr,@Rect)
AF04 TextBounds(@Text,Len,@Rect)
B004 SetArcRot(ArcRot)
B104 GetArcRot():ArcRot
B204 SetSysFont(FontH)
B304 GetSysFont():FontH
B404 SetVisRgn(RgnH)
B504 GetVisRgn(RgnH)
B604 SetIntUse(Flag)
B704 OpenPicture(@FrameRect):PicH
B804 PicComment(Kind,DataSz,DataH)
B904 ClosePicture()
BA04 DrawPicture(PicH,@DstRect)
BB04 KillPicture(PicH)
BC04 FramePoly(PolyH)
BD04 PaintPoly(PolyH)
BE04 ErasePoly(PolyH)
BF04 InvertPoly(PolyH)
C004 FillPoly(PolyH,@Patt)
C104 OpenPoly():PolyH
C204 ClosePoly()
C304 KillPoly(PolyH)
C404 OffsetPoly(PolyH,dh,dv)
C504 MapPoly(PolyH,@SrcRect,@DstRect)
C604 SetClipHandle(RgnH)
C704 GetClipHandle():RgnH
C804 SetVisHandle(RgnH)
C904 GetVisHandle():RgnH
CA04 InitCursor()
CB04 SetBufDims(MaxW,MaxFontHt,MaxFBRext)
CC04 ForceBufDims(MaxW,MaxFontHt,MaxFBRext)
CD04 SaveBufDims(@SizeInfo)
CE04 RestoreBufDims(@SizeInfo)
CF04 GetFGSize():FGSize
D004 SetFontID(FontID/4)
D104 GetFontID():FontID/4
D204 SetTextSize(TextSz)
D304 GetTextSize():TextSz
D404 SetCharExtra(ChEx/4f)
D504 GetCharExtra():ChEx/4f
D604 PPToPort(@SrcLoc,@SrcRect,X,Y,Mode)
D704 InflateTextBuffer(NewW,NewHt)
D804 GetRomFont(@Rec)
D904 GetFontLore(@Rec,RecSize):Size
DA04 Get640Colors():@PattTable
DB04 Set640Color(color)
0005 === desk manager ===
0105 DeskBootInit()
0205 DeskStartUp()
0305 DeskShutDown()
0405 DeskVersion():Vers
0505 DeskReset()
0605 DeskStatus():ActFlg
0905 SaveScrn()
0A05 RestScrn()
0B05 SaveAll()
0C05 RestAll()
0E05 InstallNDA(ndaH)
0F05 InstallCDA(cdaH)
1105 ChooseCDA()
1305 SetDAStrPtr(AltDispH,@StrTbl)
1405 GetDAStrPtr():@StrTbl
1505 OpenNDA(ItemID):Ref#
1605 CloseNDA(Ref#)
1705 SystemClick(@EvRec,@Wind,fwRes)
1805 SystemEdit(eType):Flag
1905 SystemTask()
1A05 SystemEvent(Mods,Where/4,When/4,Msg/4,What):F
1B05 GetNumNDAs():N
1C05 CloseNDAbyWinPtr(@Wind)
1D05 CloseAllNDAs()
1E05 FixAppleMenu(MenuID)
1F05 AddToRunQ(@taskHeader)
2005 RemoveFromRunQ(@taskHeader)
2105 RemoveCDA(cdaH)
2205 RemoveNDA(ndaH)
2305 GetDeskAccInfo(flags,daRef/4,BufSize,@Buffer)
2405 CallDeskAcc(flags,daRef/4,Action,Data/4):Result
2505 GetDeskGlobal(selector):Value/4
0006 === event manager ===
0106 EMBootInit()
0206 EMStartUp(DirPg,qSz,Xmn,Xmx,Ymn,Ymx,MemID)
0306 EMShutDown()
0406 EMVersion():Vers
0506 EMReset()
0606 EMStatus():ActFlg
0906 DoWindows():DirPg
0A06 GetNextEvent(evMask,@EvRec):Flag
0B06 EventAvail(evMask,@EvRec):Flag
0C06 GetMouse(@Pt)
0D06 Button(Btn#):DownFlg
0E06 StillDown(Btn#):Flag
0F06 WaitMouseUp(Btn#):Flag
1006 TickCount():Ticks/4
1106 GetDblTime():Ticks/4
1206 GetCaretTime():Ticks/4
1306 SetSwitch()
1406 PostEvent(code,Msg/4):Flag
1506 FlushEvents(evMask,StopMask):F
1606 GetOSEvent(evMask,@EvRec):Flag
1706 OSEventAvail(evMask,@EvRec):Flag
1806 SetEventMask(evMask)
1906 FakeMouse(ChFlg,Mods,X,Y,BtnStat)
1A06 SetAutoKeyLimit(NewLimit)
1B06 GetKeyTranslation():kTransID
1C06 SetKeyTranslation(kTransID)
0007 === scheduler ===
0107 SchBootInit()
0207 SchStartUp()
0307 SchShutDown()
0407 SchVersion():Vers
0507 SchReset()
0607 SchStatus():ActFlg
0907 SchAddTask(@Task):Flag
0A07 SchFlush()
0008 === sound manager ===
0108 SoundBootInit()
0208 SoundStartUp(DirPg)
0308 SoundShutDown()
0408 SoundVersion():Vers
0508 SoundReset()
0608 SoundToolStatus():ActFlg
0908 WriteRamBlock(@Src,DOCStart,Count)
0A08 ReadRamBlock(@Dest,DOCStart,Count)
0B08 GetTableAddress():@JumpTbl
0C08 GetSoundVolume(Gen#):Vol
0D08 SetSoundVolume(Vol,Gen#)
0E08 FFStartSound(GenN&mode,@Parms)
0F08 FFStopSound(GenMask)
1008 FFSoundStatus():ActFlg
1108 FFGeneratorStatus(Gen#):Stat
1208 SetSoundMIRQV(@IntHandler)
1308 SetUserSoundIRQV(@NewIRQ):@OldIRQ
1408 FFSoundDoneStatus(Gen#):Stat
1508 FFSetUpSound(ChannelGen,@Parms)
1608 FFStartPlaying(GenWord)
1708 SetDocReg(@DocRegParms)
1808 ReadDocReg(@DocRegParms)
0009 === desktop bus ===
0109 ADBBootInit()
0209 ADBStartUp()
0309 ADBShutDown()
0409 ADBVersion():Vers
0509 ADBReset()
0609 ADBStatus():ActFlg
0909 SendInfo(NumB,@Data,Cmd)
0A09 ReadKeyMicroData(NumB,@Data,Cmd)
0B09 ReadKeyMicroMemory(@DataOut,@DataIn,Cmd)
0C09 [resynch--don't call]
0D09 AsyncADBReceive(@CompVec,Cmd)
0E09 SyncADBReceive(InputWrd,@CompVec,Cmd)
0F09 AbsOn()
1009 AbsOff()
1109 RdAbs():Flag
1209 SetAbsScale(@DataOut)
1309 GetAbsScale(@DataIn)
1409 SRQPoll(@CompVec,ADBreg)
1509 SRQRemove(ADBreg)
1609 ClearSRQTable()
FF09 [OBSOLETE: Use 09FF]
000A === SANE ===
010A SANEBootInit()
020A SANEStartUp(DirPg)
030A SANEShutDown()
040A SANEVersion():Vers
050A SANEReset()
060A SANEStatus():ActFlg
090A FPNum (...)
0A0A DecStrNum (...)
0B0A ElemNum (...)
FF0A [OBSOLETE: USE $0AFF]
000B === integer math ===
010B IMBootInit()
020B IMStartUp()
030B IMShutDown()
040B IMVersion():Vers
050B IMReset()
060B IMStatus():ActFlg
090B Multiply(A,B):Prod/4
0A0B SDivide(Num,Den):Rem,Quot
0B0B UDivide(Num,Den):Rem,Quot
0C0B LongMul(A/4,B/4):Prod/8
0D0B LongDivide(Num/4,Denom/4):Rem/4,Quot/4
0E0B FixRatio(Numer,Denom):fxRatio/4
0F0B FixMul(fx1/4,fx2/4):fxProd/4
100B FracMul(fr1/4,fr2/4):frRes/4
110B FixDiv(Quot/4,Divisor/4):fxRes/4
120B FracDiv(Quot/4,Divisor/4):frRes/4
130B FixRound(fxVal/4):Int
140B FracSqrt(frVal/4):frRes/4
150B FracCos(fxAngle/4):frRes/4
160B FracSin(fxAngle/4):frRes/4
170B FixATan2(In1/4,In2/4):fxArcTan/4
180B HiWord(Long/4):Int
190B LoWord(Long/4):Int
1A0B Long2Fix(Long/4):fxRes/4
1B0B Fix2Long(Fix/4):Long/4
1C0B Fix2Frac(fxVal/4):Frac/4
1D0B Frac2Fix(frVal/4):fxRes/4
1E0B Fix2X(Fix/4,@Extended)
1F0B Frac2X(frVal/4,@Extended)
200B X2Fix(@Extended):fxRes/4
210B X2Frac(@Extended):frRes/4
220B Int2Hex(Int,@Str,Len)
230B Long2Hex(Long/4,@Str,Len)
240B Hex2Int(@Str,Len):Int
250B Hex2Long(@Str,Len):Long/4
260B Int2Dec(Int,@Str,Len,SgnFlg)
270B Long2Dec(Long/4,@Str,Len,SgnFlg)
280B Dec2Int(@Str,Len,SgnFlg):Int
290B Dec2Long(@Str,Len,SgnFlg):Long/4
2A0B HexIt(Int):Hex/4
000C === text tools ===
010C TextBootInit()
020C TextStartUp()
030C TextShutDown()
040C TextVersion():Vers
050C TextReset()
060C TextStatus():ActFlg
090C SetInGlobals(ANDmsk,ORmsk)
0A0C SetOutGlobals(ANDmsk,ORmsk)
0B0C SetErrGlobals(ANDmsk,ORmsk)
0C0C GetInGlobals():ANDmsk,ORmsk
0D0C GetOutGlobals():ANDmsk,ORmsk
0E0C GetErrGlobals():ANDmsk,ORmsk
0F0C SetInputDevice(Type,@drvr|Slot/4)
100C SetOutputDevice(Type,@drvr|Slot/4)
110C SetErrorDevice(Type,@drvr|Slot/4)
120C GetInputDevice():Type,@drvr|Slot/4
130C GetOutputDevice():Type,@drvr|Slot/4
140C GetErrorDevice():Type,@drvr|Slot/4
150C InitTextDev(dev)
160C CtlTextDev(dev,code)
170C StatusTextDev(dev,request)
180C WriteChar(Char)
190C ErrWriteChar(Char)
1A0C WriteLine(@Str)
1B0C ErrWriteLine(@Str)
1C0C WriteString(@Str)
1D0C ErrWriteString(@Str)
1E0C TextWriteBlock(@Text,Offset,Len)
1F0C ErrWriteBlock(@Text,Offset,Len)
200C WriteCString(@cStr)
210C ErrWriteCString(@cStr)
220C ReadChar(EchoFlg):Char
230C TextReadBlock(@Buff,Offset,Size,EchoFlg)
240C ReadLine(@Buff,Max,EOLch,EchoFlg):Count
000D === reserved ===
000E === window manager ===
010E WindBootInit()
020E WindStartUp(MemID)
030E WindShutDown()
040E WindVersion():Vers
050E WindReset()
060E WindStatus():ActFlg
090E NewWindow(@Parms):@Wind
0A0E CheckUpdate(@EvRec):Flag
0B0E CloseWindow(@Wind)
0C0E Desktop(Oper,param/4):result/4
0D0E SetWTitle(@Title,@Wind)
0E0E GetWTitle(@Wind):@Title
0F0E SetFrameColor(@NewColTbl,@Wind)
100E GetFrameColor(@Table,@Wind)
110E SelectWindow(@Wind)
120E HideWindow(@Wind)
130E ShowWindow(@Wind)
140E SendBehind(@BehindWho,@Wind)
150E FrontWindow():@Wind
160E SetInfoDraw(@Proc,@Wind)
170E FindWindow(@WindVar,X,Y):Where
180E TrackGoAway(X,Y,@Wind):Flag
190E MoveWindow(X,Y,@Wind)
1A0E DragWindow(Grid,X,Y,Grace,@bRect,@Wind)
1B0E GrowWindow(mnW,mnH,X,Y,@Wind):nSize/4
1C0E SizeWindow(w,h,@Wind)
1D0E TaskMaster(evMask,@TaskRec):Code
1E0E BeginUpdate(@Wind)
1F0E EndUpdate(@Wind)
200E GetWMgrPort():@Port
210E PinRect(X,Y,@Rect):Point/4
220E HiliteWindow(Flag,@Wind)
230E ShowHide(Flag,@Wind)
240E BringToFront(@Wind)
250E WindNewRes()
260E TrackZoom(X,Y,@Wind):Flag
270E ZoomWindow(@Wind)
280E SetWRefCon(Refcon/4,@Wind)
290E GetWRefCon(@Wind):Refcon/4
2A0E GetNextWindow(@Wind):@Wind
2B0E GetWKind(@Wind):Flag
2C0E GetWFrame(@Wind):Frame
2D0E SetWFrame(Frame,@Wind)
2E0E GetStructRgn(@Wind):StructRgnH
2F0E GetContentRgn(@Wind):ContRgnH
300E GetUpdateRgn(@Wind):UpdateRgnH
310E GetDefProc(@Wind):@Proc
320E SetDefProc(@Proc,@Wind)
330E GetWControls(@Wind):CtrlH
340E SetOriginMask(Mask,@Wind)
350E GetInfoRefCon(@Wind):Refcon/4
360E SetInfoRefCon(Val/4,@Wind)
370E GetZoomRect(@Wind):@zRect
380E SetZoomRect(@zRect,@Wind)
390E RefreshDesktop(@Rect)
3A0E InvalRect(@Rect)
3B0E InvalRgn(RgnH)
3C0E ValidRect(@Rect)
3D0E ValidRgn(RgnH)
3E0E GetContentOrigin(@Wind):Origin/4
3F0E SetContentOrigin(X,Y,@Wind)
400E GetDataSize(@Wind):DataSize/4
410E SetDataSize(w,h,@Wind)
420E GetMaxGrow(@Wind):MaxGrow/4
430E SetMaxGrow(maxWidth,maxHeight,@Wind)
440E GetScroll(@Wind):Scroll/4
450E SetScroll(h,v,@Wind)
460E GetPage(@Wind):Page/4
470E SetPage(h,v,@Wind)
480E GetContentDraw(@Wind):@Proc
490E SetContentDraw(@Proc,@Wind)
4A0E GetInfoDraw(@Wind):@Proc
4B0E SetSysWindow(@Wind)
4C0E GetSysWFlag(@Wind):Flag
4D0E StartDrawing(@Wind)
4E0E SetWindowIcons(NewFontH):OldFontH
4F0E GetRectInfo(@InfoRect,@Wind)
500E StartInfoDrawing(@iRect,@Wind)
510E EndInfoDrawing()
520E GetFirstWindow():@Wind
530E WindDragRect(@a,@P,X,Y,@R,@lR,@sR,F):M/4
540E Private01():@func [GetDragRectPtr]
550E DrawInfoBar(@Wind)
560E WindowGlobal(Flags):Flags
570E SetContentOrigin2(ScrollFlag,X,Y,@Wind)
580E GetWindowMgrGlobals():@Globals
590E AlertWindow(AlertDesc,@SubArray,AlertRef/4):Btn
5A0E StartFrameDrawing(@Wind)
5B0E EndFrameDrawing()
5C0E ResizeWindow(hidden,@ContRect,@Wind)
5D0E TaskMasterContent
5E0E TaskMasterKey
5F0E TaskMasterDA(evMask,@bigTaskRec):taskCode
600E CompileText(subType,@subs,@text,size):H
610E NewWindow2(@T,RC/4,@draw,@def,pDesc,pRef/4,rType):@W
620E ErrorWindow(subType,@subs,ErrNum):Button
630E GetAuxWindInfo(@Wind):@Info
640E DoModalWindow(@Event,@Update,@EvHook,@Beep,Flags):Result/4
650E MWGetCtlPart():Part
660E MWSetMenuProc(@NewMenuProc):@OldMenuProc
670E MWStdDrawProc()
680E MWSetUpEditMenu()
690E FindCursorCtl(@CtrlH,x,y,@Wind):PartCode
6A0E ResizeInfoBar(flags,newHeight,@Wind)
6B0E HandleDiskInsert(flags,devNum):resFlags,resDevNum
6C0E UpdateWindow(flags,@Wind)
000F === menu manager ===
010F MenuBootInit()
020F MenuStartUp(MemID,DirPg)
030F MenuShutDown()
040F MenuVersion():Vers
050F MenuReset()
060F MenuStatus():ActFlg
090F MenuKey(@TaskRec,BarH)
0A0F GetMenuBar():BarH
0B0F MenuRefresh(@RedrawProc)
0C0F FlashMenuBar()
0D0F InsertMenu(MenuH,AfterWhat)
0E0F DeleteMenu(MenuID)
0F0F InsertMItem(@Item,AfterItem,MenuID)
100F DeleteMItem(ItemID)
110F GetSysBar():BarH
120F SetSysBar(BarH)
130F FixMenuBar():Height
140F CountMItems(MenuID):N
150F NewMenuBar(@Wind):BarH
160F GetMHandle(MenuID):MenuH
170F SetBarColors(BarCol,InvCol,OutCol)
180F GetBarColors():Colors/4
190F SetMTitleStart(hStart)
1A0F GetMTitleStart():hStart
1B0F GetMenuMgrPort():@Port
1C0F CalcMenuSize(w,h,MenuID)
1D0F SetMTitleWidth(w,MenuID)
1E0F GetMTitleWidth(MenuID):TitleWidth
1F0F SetMenuFlag(Flags,MenuID)
200F GetMenuFlag(MenuID):Flags
210F SetMenuTitle(@Title,MenuID)
220F GetMenuTitle(MenuID):@Title
230F MenuGlobal(Flags):Flags
240F SetMItem(@Str,ItemID)
250F GetMItem(ItemID):@ItemName
260F SetMItemFlag(Flags,ItemID)
270F GetMItemFlag(ItemID):Flag
280F SetMItemBlink(Count)
290F MenuNewRes()
2A0F DrawMenuBar()
2B0F MenuSelect(@TaskRec,BarH)
2C0F HiliteMenu(Flag,MenuID)
2D0F NewMenu(@MenuStr):MenuH
2E0F DisposeMenu(MenuH)
2F0F InitPalette()
300F EnableMItem(ItemID)
310F DisableMItem(ItemID)
320F CheckMItem(Flag,ItemID)
330F SetMItemMark(MarkCh,ItemID)
340F GetMItemMark(ItemID):MarkChar
350F SetMItemStyle(TextStyle,ItemID)
360F GetMItemStyle(ItemID):TextStyle
370F SetMenuID(New,Old)
380F SetMItemID(New,Old)
390F SetMenuBar(BarH)
3A0F SetMItemName(@Str,ItemID)
3B0F GetPopUpDefProc():@proc
3C0F PopUpMenuSelect(SelID,left,top,flag,MenuH):id
3D0F [DrawPopUp(SelID,Flag,right,bottom,left,top,MenuH)]
3E0F NewMenu2(RefDesc,Ref/4):MenuH
3F0F InsertMItem2(RefDesc,Ref/4,After,MenuID)
400F SetMenuTitle2(RefDesc,TitleRef/4,MenuID)
410F SetMItem2(RefDesc,Ref/4,Item)
420F SetMItemName2(RefDesc,Ref/4,Item)
430F NewMenuBar2(RefDesc,Ref/4,@Wind):BarH
450F HideMenuBar()
460F ShowMenuBar()
470F SetMItemIcon(IconDesc,IconRef/4,ItemID)
480F GetMItemIcon(ItemID):IconRef/4
490F SetMItemStruct(Desc,StructRef/4,ItemID)
4A0F GetMItemStruct(ItemID):ItemStruct/4
4B0F RemoveMItemStruct(ItemID)
4C0F GetMItemFlag2(ItemID):ItemFlag2
4D0F SetMItemFlag2(newValue,ItemID)
4F0F GetMItemBlink():Count
500F InsertPathMItems(flags,@Path,devnum,MenuID,AfterID,StartID,@Results)
0010 === control manager ===
0110 CtlBootInit()
0210 CtlStartUp(MemID,DirPg)
0310 CtlShutDown()
0410 CtlVersion():Vers
0510 CtlReset()
0610 CtlStatus():ActFlg
0910 NewControl(@W,@R,@T,F,V,P1,P2,@p,r/4,@C):cH
0A10 DisposeControl(CtrlH)
0B10 KillControls(@Wind)
0C10 SetCtlTitle(@Title,CtrlH)
0D10 GetCtlTitle(CtrlH):@Title
0E10 HideControl(CtrlH)
0F10 ShowControl(CtrlH)
1010 DrawControls(@Wind)
1110 HiliteControl(Flag,CtrlH)
1210 CtlNewRes()
1310 FindControl(@CtrlHVar,X,Y,@Wind):Part
1410 TestControl(X,Y,CtrlH):Part
1510 TrackControl(X,Y,@ActProc,CtrlH):Part
1610 MoveControl(X,Y,CtrlH)
1710 DragControl(X,Y,@LimR,@slR,Axis,CtrlH)
1810 SetCtlIcons(FontH):OldFontH
1910 SetCtlValue(Val,CtrlH)
1A10 GetCtlValue(CtrlH):Val
1B10 SetCtlParams(P2,P1,CtrlH)
1C10 GetCtlParams(CtrlH):P1,P2
1D10 DragRect(@acPr,@P,X,Y,@drR,@l,@slR,F):M/4
1E10 GrowSize():Size/4
1F10 GetCtlDpage():DirPg
2010 SetCtlAction(@ActProc,CtrlH)
2110 GetCtlAction(CtrlH):Action/4
2210 SetCtlRefCon(Refcon/4,CtrlH)
2310 GetCtlRefCon(CtrlH):Refcon/4
2410 EraseControl(CtrlH)
2510 DrawOneCtl(CtrlH)
2610 FindTargetCtl():CtrlH
2710 MakeNextCtlTarget():CtrlH
2810 MakeThisCtlTarget(CtrlH)
2910 SendEventToCtl(TgtOnly,@Wind,@eTask):Accepted
2A10 GetCtlID(CtrlH):CtlID/4
2B10 SetCtlID(CtlID/4,CtrlH)
2C10 CallCtlDefProc(CtrlH,Msg,Param/4):Result/4
2D10 NotifyCtls(Mask,Msg,Param/4,@Wind)
2E10 GetCtlMoreFlags(CtrlH):Flags
2F10 SetCtlMoreFlags(Flags,CtrlH)
3010 GetCtlHandleFromID(@Wind,CtlID/4):CtrlH
3110 NewControl2(@Wind,InKind,InRef/4):CtrlH
3210 CMLoadResource(rType,rID/4):resH
3310 CMReleaseResource(rType,rID/4)
3410 SetCtlParamPtr(@SubArray)
3510 GetCtlParamPtr():@SubArray
3710 InvalCtls(@Wind)
3810 [reserved]
3910 FindRadioButton(@Wind,FamilyNum):WhichRadio
3A10 SetLETextByID(@Wind,leID/4,@PString)
3B10 GetLETextByID(@Wind,leID/4,@PString)
3C10 SetCtlValueByID(Value,@Wind,CtlID/4)
3D10 GetCtlValueByID(@Wind,CtlID/4):Value
3E10 InvalOneCtlByID(@Wind,CtlID/4)
3F10 HiliteCtlByID(Hilite,@Wind,CtlID/4)
0011 === loader ===
0111 LoaderBootInit()
0211 LoaderStartUp()
0311 LoaderShutDown()
0411 LoaderVersion():Vers
0511 LoaderReset()
0611 LoaderStatus():ActFlg
0911 InitialLoad(MemID,@path,F):dpsSz,dps,@l,MemID
0A11 Restart(MemID):dpsSz,dps,@loc,MemID
0B11 LoadSegNum(MemID,file#,seg#):@loc
0C11 UnloadSegNum(MemID,file#,seg#)
0D11 LoadSegName(MemID,@path,@segn):@loc,MemID,file#,sg#
0E11 UnloadSeg(@loc):seg#,file#,MemID
0F11 GetLoadSegInfo(MemID,file#,seg#,@buff)
1011 GetUserID(@Pathname):MemID
1111 LGetPathname(MemID,file#):@path
1211 UserShutDown(MemID,qFlag):MemID
1311 RenamePathname(@path1,@path2)
2011 InitialLoad2(MemID,@in,F,Type):dpsSz,dps,@l,MemID
2111 GetUserID2(@path):MemID
2211 LGetPathname2(MemID,file#):@path
0012 === QuickDraw Aux ===
0112 QDAuxBootInit()
0212 QDAuxStartUp()
0312 QDAuxShutDown()
0412 QDAuxVersion():Vers
0512 QDAuxReset()
0612 QDAuxStatus():ActFlg
0912 CopyPixels(@sLoc,@dLoc,@sRect,@dRct,M,MskH)
0A12 WaitCursor()
0B12 DrawIcon(@Icon,Mode,X,Y)
0C12 SpecialRect(@Rect,FrameColor,FillColor)
0D12 SeedFill(@sLoc,@sR,@dLoc,@dR,X,Y,Mode,@Patt,@Leak)
0E12 CalcMask(@sLoc,@sR,@dLoc,@dR,Mode,@Patt,@Leak)
0F12 GetSysIcon(flags,value,aux/4):@Icon
1012 PixelMap2Rgn(@srcLoc,bitsPerPix,colorMask):RgnH
1312 IBeamCursor()
1412 WhooshRect(flags/4,@smallRect,@bigRect)
1512 DrawStringWidth(Flags,Ref/4,Width)
1612 UseColorTable(tableNum,@Table,Flags):ColorInfoH
1712 RestoreColorTable(ColorInfoH,Flags)
0013 === print manager ===
0113 PMBootInit()
0213 PMStartUp(MemID,DirPg)
0313 PMShutDown()
0413 PMVersion():Vers
0513 PMReset()
0613 PMStatus():ActFlg
0913 PrDefault(PrRecH)
0A13 PrValidate(PrRecH):Flag
0B13 PrStlDialog(PrRecH):Flag
0C13 PrJobDialog(PrRecH):Flag
0D13 PrPixelMap(@LocInfo,@SrcRect,colorFlag)
0E13 PrOpenDoc(PrRecH,@Port):@Port
0F13 PrCloseDoc(@Port)
1013 PrOpenPage(@Port,@Frame)
1113 PrClosePage(@Port)
1213 PrPicFile(PrRecH,@Port,@StatRec)
1313 PrControl [obsolete]
1413 PrError():Error
1513 PrSetError(Error)
1613 PrChoosePrinter():DrvFlag
1813 PrGetPrinterSpecs():Type,Characteristics
1913 PrDevPrChanged(@PrinterName)
1A13 PrDevStartup(@PrinterName,@ZoneName)
1B13 PrDevShutDown()
1C13 PrDevOpen(@compProc,Reserved/4)
1D13 PrDevRead(@buffer,reqCount):xferCount
1E13 PrDevWrite(@compProc,@buff,bufLen)
1F13 PrDevClose()
2013 PrDevStatus(@statBuff)
2113 PrDevAsyncRead(@compPr,bufLen,@buff):xferCount
2213 PrDevWriteBackground(@compProc,bufLen,@buff)
2313 PrDriverVer():Vers
2413 PrPortVer():Vers
2513 PrGetZoneName():@ZoneName
2813 PrGetPrinterDvrName():@Name
2913 PrGetPortDvrName():@Name
2A13 PrGetUserName():@Name
2B13 PrGetNetworkName():@Name
3013 PrDevIsItSafe():safeFlag
3113 GetZoneList [obsolete?]
3213 GetMyZone [obsolete?]
3313 GetPrinterList [obsolete?]
3413 PMUnloadDriver(whichDriver)
3513 PMLoadDriver(whichDriver)
3613 PrGetDocName():@pStr
3713 PrSetDocName(@pStr)
3813 PrGetPgOrientation(PrRecH):Orientation
0014 === line edit ===
0114 LEBootInit()
0214 LEStartUp(MemID,DirPg)
0314 LEShutDown()
0414 LEVersion():Vers
0514 LEReset()
0614 LEStatus():ActFlg
0914 LENew(@DstRect,@ViewRect,MaxL):leH
0A14 LEDispose(leH)
0B14 LESetText(@Text,Len,leH)
0C14 LEIdle(leH)
0D14 LEClick(@EvRec,leH)
0E14 LESetSelect(Start,End,leH)
0F14 LEActivate(leH)
1014 LEDeactivate(leH)
1114 LEKey(Key,Mods,leH)
1214 LECut(leH)
1314 LECopy(leH)
1414 LEPaste(leH)
1514 LEDelete(leH)
1614 LEInsert(@Text,Len,leH)
1714 LEUpdate(leH)
1814 LETextBox(@Text,Len,@Rect,Just)
1914 LEFromScrap()
1A14 LEToScrap()
1B14 LEScrapHandle():ScrapH
1C14 LEGetScrapLen():Len
1D14 LESetScrapLen(NewL)
1E14 LESetHilite(@HiliteProc,leH)
1F14 LESetCaret(@CaretProc,leH)
2014 LETextBox2(@Text,Len,@Rect,Just)
2114 LESetJust(Just,leH)
2214 LEGetTextHand(leH):TextH
2314 LEGetTextLen(leH):TxtLen
2414 GetLEDefProc():@proc
2514 LEClassifyKey(@Event):Flag
0015 === dialog manager ===
0115 DialogBootInit()
0215 DialogStartUp(MemID)
0315 DialogShutDown()
0415 DialogVersion():Vers
0515 DialogReset()
0615 DialogStatus():ActFlg
0915 ErrorSound(@SoundProc)
0A15 NewModalDialog(@bR,vis,refcon/4):@Dlog
0B15 NewModelessDialog(@R,@T,@b,fr,rf/4,@zR):@D
0C15 CloseDialog(@Dlog)
0D15 NewDItem(@Dlog,dItem,@R,ty,Des/4,V,F,@Col)
0E15 RemoveDItem(@Dlog,dItem)
0F15 ModalDialog(@FilterProc):Hit
1015 IsDialogEvent(@EvRec):Flag
1115 DialogSelect(@EvRec,@Dlog,@Hit):Flag
1215 DlgCut(@Dlog)
1315 DlgCopy(@Dlog)
1415 DlgPaste(@Dlog)
1515 DlgDelete(@Dlog)
1615 DrawDialog(@Dlog)
1715 Alert(@AlertTmpl,@FiltProc):Hit
1815 StopAlert(@AlertTmpl,@FiltProc):Hit
1915 NoteAlert(@AlertTmpl,@FiltProc):Hit
1A15 CautionAlert(@AlertTmpl,@FiltProc):Hit
1B15 ParamText(@P0,@P1,@P2,@P3)
1C15 SetDAFont(FontH)
1E15 GetControlDItem(@Dlog,dItem):CtrlH
1F15 GetIText(@Dlog,dItem,@Str)
2015 SetIText(@Dlog,dItem,@Str)
2115 SelectIText(@Dlog,dItem,start,end)
2215 HideDItem(@Dlog,dItem)
2315 ShowDItem(@Dlog,dItem)
2415 FindDItem(@Dlog,Point/4):Hit
2515 UpdateDialog(@Dlog,UpdtRgnH)
2615 GetDItemType(@Dlog,dItem):type
2715 SetDItemType(type,@Dlog,dItem)
2815 GetDItemBox(@Dlog,dItem,@Rect)
2915 SetDItemBox(@Dlog,dItem,@Rect)
2A15 GetFirstDItem(@Dlog):dItem
2B15 GetNextDItem(@Dlog,dItem):dItem
2C15 ModalDialog2(@FilterProc):HitInfo/4
2E15 GetDItemValue(@Dlog,dItem):Val
2F15 SetDItemValue(val,@Dlog,dItem)
3215 GetNewModalDialog(@DlogTmpl):@Dlog
3315 GetNewDItem(@Dlog,@ItemTmpl)
3415 GetAlertStage():Stage
3515 ResetAlertStage()
3615 DefaultFilter(@Dlog,@EvRec,@Hit):Flag
3715 GetDefButton(@Dlog):dItem
3815 SetDefButton(BtnID,@Dlog)
3915 DisableDItem(@Dlog,dItem)
3A15 EnableDItem(@Dlog,dItem)
0016 === scrap manager ===
0116 ScrapBootInit()
0216 ScrapStartUp()
0316 ScrapShutDown()
0416 ScrapVersion():Vers
0516 ScrapReset()
0616 ScrapStatus():ActFlg
0916 UnloadScrap()
0A16 LoadScrap()
0B16 ZeroScrap()
0C16 PutScrap(Count/4,Type,@Src)
0D16 GetScrap(DestH,Type)
0E16 GetScrapHandle(Type):ScrapH
0F16 GetScrapSize(Type):Size/4
1016 GetScrapPath():@Pathname
1116 SetScrapPath(@Pathname)
1216 GetScrapCount():Count
1316 GetScrapState():State
1416 GetIndScrap(Index,@buffer)
1516 ShowClipboard(flags,@rect):@Wind
0017 === standard file ===
0117 SFBootInit()
0217 SFStartUp(MemID,DirPg)
0317 SFShutDown()
0417 SFVersion():Vers
0517 SFReset()
0617 SFStatus():ActFlg
0917 SFGetFile(X,Y,@Prmpt,@FPrc,@tL,@Reply)
0A17 SFPutFile(X,Y,@Prompt,@DfltName,mxL,@Reply)
0B17 SFPGetFile(X,Y,@P,@FPrc,@tL,@dTmp,@dHk,@Rp)
0C17 SFPPutFile(X,Y,@P,@Df,mxL,@dTmpl,@dHk,@Rply)
0D17 SFAllCaps(Flag)
0E17 SFGetFile2(X,Y,prDesc,prRef/4,@fProc,@tList,@rep)
0F17 SFPutFile2(X,Y,prDesc,prRef/4,nmDesc,nmRef/4,@rep)
1017 SFPGetFile2(X,Y,@draw,prD,prRf/4,@fP,@tL,@d,@hk,@rep)
1117 SFPPutFile2(X,Y,@draw,prD,prRf/4,nmD,nmRf/4,@d,@hk,@rep)
1217 SFShowInvisible(InvisState):OldState
1317 SFReScan(@filterProc,@typeList)
1417 SFMultiGet2(X,Y,prDesc,prRef/4,@fP,@tL,@rep)
1517 SFPMultiGet2(X,Y,@draw,prD,prRf/4,@fP,@tL,@d,@hk,@rep)
0019 === note synthesizer ===
0119 NSBootInit()
0219 NSStartUp(Rate,@UpdProc)
0319 NSShutDown()
0419 NSVersion():Vers
0519 NSReset()
0619 NSStatus():ActFlg
0919 AllocGen(Priority):Gen#
0A19 DeallocGen(Gen#)
0B19 NoteOn(Gen#,Semitone,Vol,@Instr)
0C19 NoteOff(Gen#,Semitone)
0D19 AllNotesOff()
0E19 NSSetUpdateRate(NewRate):OldRate
0F19 NSSetUserUpdateRtn(@New):@Old
001A === note sequencer ===
011A SeqBootInit()
021A SeqStartUp(DirPg,Mode,Rate,Incr)
031A SeqShutDown()
041A SeqVersion():Vers
051A SeqReset()
061A SeqStatus():ActFlg
091A SetIncr(Increment)
0A1A ClearIncr():OldIncr
0B1A GetTimer():Tick
0C1A GetLoc():Phrase,Patt,Level
0D1A SeqAllNotesOff()
0E1A SetTrkInfo(Priority,InstIndex,TrkNum)
0F1A StartSeq(@ErrRtn,@CompRtn,SeqH)
101A StepSeq()
111A StopSeq(NextFlag)
121A SetInstTable(TableH)
131A StartInts()
141A StopInts()
151A StartSeqRel(@errHndlr,@CompRtn,SeqH)
001B === font manager ===
011B FMBootInit()
021B FMStartUp(MemID,DirPg)
031B FMShutDown()
041B FMVersion():Vers
051B FMReset()
061B FMStatus():ActFlg
091B CountFamilies(FamSpecs):Count
0A1B FindFamily(Specs,Pos,@Name):FamNum
0B1B GetFamInfo(FamNum,@Name):FamStats
0C1B GetFamNum(@Name):FamNum
0D1B AddFamily(FamNum,@Name)
0E1B InstallFont(ID/4,Scale)
0F1B SetPurgeStat(FontID/4,PrgStat)
101B CountFonts(ID/4,Specs):N
111B FindFontStats(ID/4,Specs,Pos,@FStatRec)
121B LoadFont(ID/4,Specs,Pos,@FStatRec)
131B LoadSysFont()
141B AddFontVar(FontH,NewSpecs)
151B FixFontMenu(MenuID,StartID,FamSpecs)
161B ChooseFont(CurrID/4,Famspecs):NewID/4
171B ItemID2FamNum(ItemID):FamNum
181B FMSetSysFont(FontID/4)
191B FMGetSysFID():SysID/4
1A1B FMGetCurFID():CurID/4
1B1B FamNum2ItemID(FamNum):ItemID
1C1B InstallWithStats(ID/4,Scale,@ResultRec)
001C === List Manager ===
011C ListBootInit()
021C ListStartUp()
031C ListShutDown()
041C ListVersion():Vers
051C ListReset()
061C ListStatus():ActFlg
091C CreateList(@Wind,@ListRec):CtrlH
0A1C SortList(@CompareProc,@ListRec)
0B1C NextMember(@Member,@ListRec):@NxtMemVal
0C1C DrawMember(@Member,@ListRec)
0D1C SelectMember(@Member,@ListRec)
0E1C GetListDefProc():@Proc
0F1C ResetMember(@ListRec):NxtMemVal/4
101C NewList(@Member,@ListRec)
111C DrawMember2(itemNum,CtrlH)
121C NextMember2(itemNum,CtrlH):itemNum
131C ResetMember2(CtrlH):itemNum
141C SelectMember2(itemNum,CtrlH)
151C SortList2(@CompareProc,CtrlH)
161C NewList2(@draw,start,ref/4,refKind,size,CtrlH)
171C ListKey(flags,@EventRec,CtrlH)
181C CompareStrings(flags,@String1,@String2):Order
001D === Audio Compression/Expansion ===
011D ACEBootInit()
021D ACEStartUp(DirPg)
031D ACEShutDown()
041D ACEVersion():Vers
051D ACEReset()
061D ACEStatus():ActFlg
071D ACEInfo(Code):Value/4
091D ACECompress(SrcH,SrcOff/4,DestH,DestOff/4,Blks,Method)
0A1D ACEExpand(SrcH,SrcOff/4,DestH,DestOff/4,Blks,Method)
0B1D ACECompBegin()
0C1D ACEExpBegin()
0D1D GetACEExpState(@Buffer)
0E1D SetACEExpState(@Buffer)
001E === Resource Manager ===
011E ResourceBootInit()
021E ResourceStartUp(MemID)
031E ResourceShutDown()
041E ResourceVersion():Vers
051E ResourceReset()
061E ResourceStatus():ActFlag
091E CreateResourceFile(aux/4,fType,Access,@n)
0A1E OpenResourceFile(reqAcc,@mapAddr,@n):fileID
0B1E CloseResourceFile(fileID)
0C1E AddResource(H,Attr,rType,rID/4)
0D1E UpdateResourcefile(fileID)
0E1E LoadResource(rType,rID/4):H
0F1E RemoveResource(rType,rID/4)
101E MarkResourceChange(changeFlag,rType,rID/4)
111E SetCurResourceFile(fileID)
121E GetCurResourceFile():fileID
131E SetCurResourceApp(MemID)
141E GetCurResourceApp():MemID
151E HomeResourceFile(rType,rID/4):fileID
161E WriteResource(rType,rID/4)
171E ReleaseResource(PurgeLevel,rType,rID/4)
181E DetachResource(rType,rID/4)
191E UniqueResourceID(IDrange,rType):rID/4
1A1E SetResourceID(newID/4,rType,oldID/4)
1B1E GetResourceAttr(rType,rID/4):Attr
1C1E SetResourceAttr(rAttr,rType,rID/4)
1D1E GetResourceSize(rType,rID/4):Size/4
1E1E MatchResourceHandle(@buffer,H)
1F1E GetOpenFileRefNum(fileID):RefNum
201E CountTypes():Num
211E GetIndType(tIndex):rType
221E CountResources(rType):Num/4
231E GetIndResource(rType,rIndex/4):rID/4
241E SetResourceLoad(Flag):oldFlag
251E SetResourceFileDepth(Depth):oldDepth
261E GetMapHandle(fileID):MapH
271E LoadAbsResource(@loc,MaxSize/4,rType,rID/4):Size/4
281E ResourceConverter(@proc,rType,logFlags)
291E LoadResource2(flag,@AttrBuff,rType,rID/4):H
2A1E RMFindNamedResource(rType,@name,@fileID):rID/4
2B1E RMGetResourceName(rType,rID/4,@nameBuffer)
2C1E RMLoadNamedResource(rType,@name):H
2D1E RMSetResourceName(rType,rID/4,@name)
2E1E OpenResourceFileByID(reqAcc,userID):oldResApp
2F1E CompactResourceFile(flags,fileID)
0020 === MIDI ===
0120 MidiBootInit()
0220 MidiStartUp(MemID,DirPg)