From 3870f1010deacef64d1945d8b0633e8e2f795bfb Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Wed, 20 Mar 2019 22:47:51 +0800 Subject: [PATCH] Rip info from the Tiger BlueBox All 68k code that calls a BAL* procedure (via the FE22 trap) declares the number of arguments in the upper word of the d0 selector. This code was found in the following places, and used to refine our list of signatures. - the BlueBox ROM - the UniversalForks files (Classic Enabler etc) --- blue_abstraction_calls.txt | 254 ++++++++++++++++++------------------- 1 file changed, 127 insertions(+), 127 deletions(-) diff --git a/blue_abstraction_calls.txt b/blue_abstraction_calls.txt index 40bc755..023208f 100644 --- a/blue_abstraction_calls.txt +++ b/blue_abstraction_calls.txt @@ -1,65 +1,65 @@ -0001 ? BALDeleteScratchFileMapping -0002 ? BALCreateScratchFileMapping +0001 2 BALDeleteScratchFileMapping +0002 3 BALCreateScratchFileMapping 0003 ? BALReleaseUnusedBufPtr 0004 ? BALGetPhysicalRAMSize 0005 ? BALGetSysZoneMemorySize -0006 ? BALCreateBufPtrRegion +0006 2 BALCreateBufPtrRegion 0007 ? BALApplMaxMem -0008 ? BALCreateProcessMgrZone -0009 ? BALFMGlobals -000A ? BALVMWriteProtect +0008 2 BALCreateProcessMgrZone +0009 2 BALFMGlobals +000A 2 BALVMWriteProtect 000B ? BALVMUnWriteProtect -000C ? BALIncreaseFileIDs -000D ? BALCreateFileMapping -0100 ? BALFSDispatch -0101 ? BALDiskOpen +000C 1 BALIncreaseFileIDs +000D 3 BALCreateFileMapping +0100 4 BALFSDispatch +0101 4 BALDiskOpen 0102 ? BALDiskDiscoverAll -0103 ? BALDiskDiscoverOne -0104 ? BALDiskPrime -0105 ? BALDiskEject +0103 1 BALDiskDiscoverOne +0104 3 BALDiskPrime +0105 2 BALDiskEject 0106 ? BALDiskSetEvents 0107 ? BALDiskClearEvents 0108 ? BALDiskInsertInterruptBegin -0109 ? BALDiskInsertInterruptGetNextNewDrive -010A ? BALDiskInsertInterruptEnd +0109 1 BALDiskInsertInterruptGetNextNewDrive +010A 0 BALDiskInsertInterruptEnd 010B ? BALDiskIOInterruptBegin 010C ? BALDiskIOInterruptEnd -010D ? BALDiskControl -010E ? BALDiskStatus -010F ? BALDiskIsSharedDriveNum -0110 ? BALSharedDiskInterruptBegin +010D 3 BALDiskControl +010E 3 BALDiskStatus +010F 1 BALDiskIsSharedDriveNum +0110 1 BALSharedDiskInterruptBegin 0111 ? BALSharedDiskInterruptEnd -0112 ? BALDiskMatchBootPRAM -0113 ? BALDiskCDROMBootCheck +0112 1 BALDiskMatchBootPRAM +0113 1 BALDiskCDROMBootCheck 0114 ? BALDiskIsSharedVCB -0115 ? BALSharedDiskSaveDTFakeRefNum -0116 ? BALSharedDiskGetDTFakeRefNum -0117 ? BALDiskFreeDrvQEl +0115 2 BALSharedDiskSaveDTFakeRefNum +0116 1 BALSharedDiskGetDTFakeRefNum +0117 1 BALDiskFreeDrvQEl 0118 ? BALDesktopDBRebuild 0119 ? BALDesktopDBGetRebuildStatus 011A ? BALDesktopDBCancelRebuild -011B ? BALDiskIsDQEOneOfOurs -011C ? BALDiskGetStartupDiskFromPrefs -011D ? BALAFPClientBypassEntry -011E ? BALFSMountDiskImage -011F ? BALFSEnqueueVCB -0120 ? BALDiskFinishDiskChanged +011B 1 BALDiskIsDQEOneOfOurs +011C 1 BALDiskGetStartupDiskFromPrefs +011D 2 BALAFPClientBypassEntry +011E 2 BALFSMountDiskImage +011F 1 BALFSEnqueueVCB +0120 1 BALDiskFinishDiskChanged 0121 ? BALEnsureWritePermissions -0122 ? BALDiskFindDQEByCarbonVRefNum +0122 1 BALDiskFindDQEByCarbonVRefNum 0200 ? BALGetNativeProcessorType -0201 ? BALWritePRAMByte -0202 ? BALReadPRAMByte -0203 ? BALReadTime -0204 ? BALWriteTime -0205 ? BALReadNVRAMByte -0206 ? BALWriteNVRAMByte +0201 2 BALWritePRAMByte +0202 1 BALReadPRAMByte +0203 1 BALReadTime +0204 1 BALWriteTime +0205 1 BALReadNVRAMByte +0206 2 BALWriteNVRAMByte 0207 ? BALGetDispatchInfoPtr -0208 ? BALGetVersionString -0209 ? BALIsBoxless -020A ? BALChkEnabler -020B ? BALGetMachineType -020C ? BALGetCDFL -020D ? BALGestalt +0208 2 BALGetVersionString +0209 0 BALIsBoxless +020A 2 BALChkEnabler +020B 0 BALGetMachineType +020C 0 BALGetCDFL +020D 2 BALGestalt 0300 ? BALCreateInterrupt 0301 ? BALDeleteInterrupt 0302 ? BALSetInterrupt @@ -72,8 +72,8 @@ 030A ? BALGetPendingInterrupt 030C ? BALPrioritizeInterrupts 0400 ? BALSerialException -0401 ? BALSerialInit -0402 ? BALSerialSetSCCInts +0401 1 BALSerialInit +0402 1 BALSerialSetSCCInts 0403 ? BALSerialOpen 0404 ? BALSerialClose 0405 ? BALSerialReadRegister @@ -87,47 +87,47 @@ 040D ? BALSerialReadReq 040E ? BALSerialControlReading 040F ? BALSerialBytesAvail -0410 ? BALSerialClearESInt -0500 ? BALSoundOpenOutput -0501 ? BALSoundCloseOutput -0502 ? BALSoundStartOutput -0503 ? BALSoundStopOutput -0504 ? BALSoundWriteOutput -0505 ? BALClearSoundOutInterrupt -0506 ? BALSoundComponentOpen -0507 ? BALSoundSetInfo -0508 ? BALSoundGetInfo -0509 ? BALSoundInOpen -050A ? BALSoundInPrime -050B ? BALSoundInDone -050C ? BALSoundInClose -050D ? BALGetSoundInputDeviceInfo -050E ? BALSetSoundInputDeviceInfo +0410 1 BALSerialClearESInt +0500 2 BALSoundOpenOutput +0501 0 BALSoundCloseOutput +0502 0 BALSoundStartOutput +0503 0 BALSoundStopOutput +0504 2 BALSoundWriteOutput +0505 0 BALClearSoundOutInterrupt +0506 1 BALSoundComponentOpen +0507 1 BALSoundSetInfo +0508 1 BALSoundGetInfo +0509 2 BALSoundInOpen +050A 2 BALSoundInPrime +050B 0 BALSoundInDone +050C 1 BALSoundInClose +050D 4 BALGetSoundInputDeviceInfo +050E 3 BALSetSoundInputDeviceInfo 050F ? BALSysBeep -0510 ? BALSleepSound -0511 ? BALWakeSound -0512 ? BALSoundInLock -0513 ? BALSoundInUnlock -0603 ? BALInitializeTiming -0604 ? BALMicroseconds +0510 0 BALSleepSound +0511 0 BALWakeSound +0512 0 BALSoundInLock +0513 0 BALSoundInUnlock +0603 1 BALInitializeTiming +0604 1 BALMicroseconds 0605 ? BALNanoseconds 0607 ? BALStopTime 0608 ? BALStartTime -0609 ? BALGetPendingTimer -060A ? BALInsTime -060B ? BALPrimeTime -060C ? BALRmvTime +0609 1 BALGetPendingTimer +060A 2 BALInsTime +060B 2 BALPrimeTime +060C 1 BALRmvTime 060D ? BALUserAppStatus 060E ? BALForceSleep 060F ? BALGetTimeBaseInfo -0700 ? BALInitUserInput +0700 2 BALInitUserInput 0701 ? BALCloseUserInput -0702 ? BALSendADBRequest -0703 ? BALClearUserInputInterrupt -0704 ? BALPollUserInputInterrupt -0706 ? BALDebugEnter -0707 ? BALDebugExit -0708 ? BALInitEventInterrupt +0702 3 BALSendADBRequest +0703 0 BALClearUserInputInterrupt +0704 0 BALPollUserInputInterrupt +0706 0 BALDebugEnter +0707 0 BALDebugExit +0708 3 BALInitEventInterrupt 0709 ? BALUnusedUserInputSelector 070A ? BALGetExposeEventData 070B ? BALClearExposeEventData @@ -144,8 +144,8 @@ 0716 ? BALCompleteServiceReq 0717 ? BALLaunchProcess 0718 ? BALDoServiceRequests -0719 ? BALInitProgressBar -071A ? BALDrawProgressBar +0719 3 BALInitProgressBar +071A 0 BALDrawProgressBar 071B ? BALAEDisposeDesc 071C ? BALGetEventNotifierData 071D ? BALClearEventNotifierData @@ -153,14 +153,14 @@ 071F ? BALRegisterScrollWheelCallback 0720 ? BALGetScrollEventData 0721 ? BALClearScrollEventData -0722 ? BALTabletProc +0722 3 BALTabletProc 0723 ? BALGetCurrentProcess -0724 ? BALDoNotifyForProcess -0725 ? BALCancelNotifyForProcess -0726 ? BALMouseMoveCheck -0727 ? BALMouseDataRegisterUserData -0728 ? BALMouseDataGet -0729 ? BALMouseDataComplete +0724 3 BALDoNotifyForProcess +0725 2 BALCancelNotifyForProcess +0726 0 BALMouseMoveCheck +0727 1 BALMouseDataRegisterUserData +0728 3 BALMouseDataGet +0729 1 BALMouseDataComplete 072A ? BALHIDBuildDeviceList 072B ? BALHIDReleaseDeviceList 072C ? BALHIDHaveDeviceList @@ -183,25 +183,25 @@ 073D ? BALHIDDeviceGetID 073E ? BALGetIconSuite 073F ? BALReleaseIconSuite -0800 ? BALVIA1Init +0800 1 BALVIA1Init 0801 ? BALVIA1Exception -0904 ? BALVDisplayCount -0905 ? BALVResetIndex -0906 ? BALVSetGlobals -0907 ? BALVUpdateRects +0904 1 BALVDisplayCount +0905 2 BALVResetIndex +0906 5 BALVSetGlobals +0907 2 BALVUpdateRects 0908 ? BALVUpdateRectAsync 0909 ? BALVUpdateCursorRect 090A ? BALVUpdateAll 090B ? BALVBlueDebugStr -090C ? BALVUseYellowCursor -090D ? BALVRequestNewClutHandling -090E ? BALVFullscreenToggleBegin -090F ? BALVFullscreenToggleEnd -0910 ? BALVGetOrigin -0911 ? BALVSetOrigin -0912 ? BALVGetNewMode -0913 ? BALVGetDisplayNumber -0914 ? BALVGetDisplayIsColor +090C 1 BALVUseYellowCursor +090D 2 BALVRequestNewClutHandling +090E 1 BALVFullscreenToggleBegin +090F 0 BALVFullscreenToggleEnd +0910 3 BALVGetOrigin +0911 3 BALVSetOrigin +0912 5 BALVGetNewMode +0913 2 BALVGetDisplayNumber +0914 2 BALVGetDisplayIsColor 0A00 ? BALVDOpen 0A01 ? BALVDClose 0A02 ? BALVDCtlSetMode @@ -256,11 +256,11 @@ 0B18 ? BALVIStatusGetVideoParameters 0B19 ? BALVIStatusSupportsHardwareCursor 0B1A ? BALVIStatusGetHardwareCursorDrawState -0C00 ? BALShutDown -0C01 ? BALReStart +0C00 0 BALShutDown +0C01 0 BALReStart 0C02 ? BALResetStartupDiskFlag -0C03 ? BALEnablerVersionCheck -0C04 ? BALReportMiscError +0C03 2 BALEnablerVersionCheck +0C04 0 BALReportMiscError 0D00 ? BALEtherOpen 0D01 ? BALEtherClose 0D02 ? BALEtherGetAddr @@ -360,21 +360,21 @@ 1300 ? BALMPDelayUntilSys 1301 ? BALMPDelayForSys 1302 ? BALSetProcessID -1400 ? BALDebugStr +1400 1 BALDebugStr 1401 ? BALDebugData 1402 ? BALDebugAddItemToDebugRec -1403 ? BALDebug_PString -1404 ? BALDebug_CString -1405 ? BALDebug_HexInt -1406 ? BALDebug_DecInt +1403 1 BALDebug_PString +1404 1 BALDebug_CString +1405 1 BALDebug_HexInt +1406 1 BALDebug_DecInt 1407 ? BALDebug_OSType -1408 ? BALDebug_NewLine +1408 0 BALDebug_NewLine 1409 ? BALDebug_System 140A ? BALDebugCStr 140B ? BALDebug_Microseconds 140C ? BALLogStr 140D ? BALLog_PString -140E ? BALLog_CString +140E 1 BALLog_CString 140F ? BALLog_HexInt 1410 ? BALLog_DecInt 1411 ? BALLog_OSType @@ -389,7 +389,7 @@ 150F ? BAL_CheckQueueForPendingEvents 1510 ? BAL_MessageHeaderHLE 1511 ? BAL_MessageBody -1512 ? BAL_PreflightAppleEvent +1512 1 BAL_PreflightAppleEvent 1513 ? BAL_GetConnectionType 1600 ? BAL_CGSInitialize 1601 ? BAL_CGSNewConnection @@ -435,7 +435,7 @@ 162A ? BALIgnoreDirtyAllWindows 162B ? BAL_CGSHardwareCursorActive 162C ? BALDoesClassicHaveFocus -162D ? BALMiscUtils +162D 3 BALMiscUtils 162E ? BAL_CGSDisplayCanHWCopy 162F ? BAL_CGSDisplayCanHWFill 1630 ? BAL_CGSDisplayHWFill @@ -460,7 +460,7 @@ 1643 ? BAL_VABFlush 1644 ? BAL_VABGetVars 1645 ? BALAnnounceMenuBarShape -1646 ? BALOpenStartupScreen +1646 0 BALOpenStartupScreen 1647 ? BALCoreDockGetRect 164A ? BALAnnounceMenuBarShape2 164B ? BAL_CGCaptureAllDisplays @@ -473,13 +473,13 @@ 1652 ? BALDBClassic_GetVisibleRegion 1653 ? BAL_CGSNewEmptyRegion 1654 ? BAL_CGSSetWindowAlpha -1655 ? BALDBClassic_IsOn -1656 ? BALDisplayInfoUpdate +1655 0 BALDBClassic_IsOn +1656 0 BALDisplayInfoUpdate 1657 ? BALDisplayReconfigureBegin 1658 ? BALDisplayReconfigureEnd 1659 ? BAL_CGSGetWindowAutofill -1660 ? BALAlertWindowOpen -1661 ? BALAlertWindowClose +1660 1 BALAlertWindowOpen +1661 1 BALAlertWindowClose 1662 ? BALWindowGetGLContextRegion 1700 ? BALUSBMisc 1701 ? BALUSBInitialize @@ -531,9 +531,9 @@ 1806 ? BALGetCoreDragDropLocation 1807 ? BALSetCoreDragDropLocation 1808 ? BALDragEndDrag -1900 ? BALFindFolder -1901 ? BALInitFindFolder -1902 ? BALAskToPopulateRedirectedFolders +1900 7 BALFindFolder +1901 3 BALInitFindFolder +1902 1 BALAskToPopulateRedirectedFolders 1A00 ? BAL_aglChoosePixelFormat 1A01 ? BAL_aglDestroyPixelFormat 1A02 ? BAL_aglNextPixelFormat @@ -589,14 +589,14 @@ 1B12 ? BALICSendGURLEvent 1B13 ? BALICMapFilename 1B14 ? BALICMapTypeCreator -1B15 ? BAL_DisposeCarbonCoreHandle -1C00 ? BALCopyObject +1B15 1 BAL_DisposeCarbonCoreHandle +1C00 3 BALCopyObject 1C01 ? BALDeleteObject 1D00 ? BALGetCurrentXPrinter 1D01 ? BALReleasePrinterDesc -1D02 ? BALPrinterIsAuthorized +1D02 1 BALPrinterIsAuthorized 1D03 ? BALGetCurrentXPrinterClientName -1E01 ? BALResolveAliasFile +1E01 4 BALResolveAliasFile 1E02 ? BALMatchAlias 1E03 ? BALNewAlias -1E04 ? BALUpdateAlias +1E04 7 BALUpdateAlias