SMPProgAdd - STRACE - Dos Functions: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{IBM-Reprint}} | |||
{{SMPProgAdd}} | |||
== Dos Functions - 1 of 12 == | == Dos Functions - 1 of 12 == | ||
{| class="wikitable" | {| class="wikitable" | ||
Revision as of 19:44, 20 May 2025
Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation
Dos Functions - 1 of 12
| Major/Minor Code | Event Name |
|---|---|
| 10/01 | DosCreateThread |
| 10/02 | DosWaitChild |
| 10/03 | DosEnterCritSec |
| 10/04 | DosExecPgm |
| 10/05 | DosExit |
| 10/06 | DosExitCritSec |
| 10/07 | DosExitList |
| 10/08 | DosSetPriority |
| 10/09 | DosKillProcess |
| 10/0B | DosResumeThread |
| 10/0C | DosSuspendThread |
| 10/0D | DosSetCp |
| 10/0E | DosDebug |
| 10/0F | Dos32ExitList |
| 10/10 | DosGetInfoSeg |
| 10/11 | DosGetPID |
| 10/12 | DosGetPPID |
| 10/13 | DosGetPrty |
| 10/14 | DosGetInfoBlocks |
| 10/15 | DosR2StackRealloc |
| 10/16 | DosWaitThread |
| 10/17 | DosCallBack |
| 10/18 | Dos32CreateThread |
| 10/19 | DosRetForward |
| 10/1A | TickHandler |
| 10/1B | DosCreateVDM |
| 12/01 | Thread Dispatch |
| 12/02 | ExitList Call |
| 12/03 | IdleTask |
| 13/01 | SpinLock |
| 13/02 | SpinLockRing0 |
| 13/03 | SpinLockSpin |
| 13/04 | SpinLockHold |
| 13/05 | SpinLockRing0Hold |
| 13/06 | SpinLockIPI |
| 13/07 | SpinLockIPISpin |
| 13/09 | SpinLock09Get spin lock |
| 13/0A | SpinLock0AStart to spin on spin lock |
| 13/29 | SpinLock29Release spin lock |
| 13/2A | SpinLock2AStart to spin on spin lock (type II) |
| 13/2B | SpinLock2BGet spin lock (type II) |
| 13/4B | SpinLock4BRelease spin lock (type II) |
| 13/39 | SpinLock39Get spin lock (type III) |
| 13/3B | SpinLock3BRelease spin lock (type III) |
| 13/4B | SpinLock4BStart to spin on spin lock (type III) |
Dos Functions - 2 of 12
| Major/Minor Code | Event Name |
|---|---|
| 14/01 | DosLoadModule |
| 14/02 | DosFreeModule |
| 14/04 | DosQueryModuleHandle |
| 14/05 | DosQueryModuleName |
| 14/06 | DosGetEnv |
| 14/07 | DosGetMachineMode |
| 14/08 | DosGetVersion |
| 14/09 | DosQueryAppType |
| 14/0A | DosScanEnv |
| 14/0B | DosQueryProcAddr |
| 18/01 | DosHoldSignal |
| 18/02 | DosSendSignal |
| 18/03 | DosSetSigHandler |
| 18/04 | DosCreatePipe |
| 18/05 | DosSemClear |
| 18/06 | DosSemRequest |
| 18/07 | DosSemSet |
| 18/08 | DosSemSetWait |
| 18/09 | DosSemWait |
| 18/0A | DosMuxSemWait |
| 18/0B | DosCloseSem |
| 18/0C | DosCreateSem |
| 18/0D | DosOpenSem |
| 18/0F | DosAddMuxWaitSem |
| 18/10 | DosCallNPipe |
| 18/12 | DosCloseEventSem |
| 18/13 | DosCloseMutexSem |
| 18/14 | DosCloseMuxWaitSem |
| 18/15 | DosConnectNPipe |
| 18/16 | DosCreateEventSem |
| 18/17 | DosCreateMutexSem |
| 18/18 | DosCreateMuxWaitSem |
| 18/19 | DosDisconnectNPipe |
| 18/1A | DosCreateNPipe |
| 18/1B | DosOpenEventSem |
| 18/1C | DosOpenMutexSem |
| 18/1D | DosOpenMuxWaitSem |
| 18/1E | DosPeekNPipe |
| 18/1F | DosQueryNPHState |
| 18/20 | DosQueryNPipeInfo |
| 18/21 | DosQueryNPipeSemState |
| 18/23 | DosQueryEventSem |
| 18/24 | DosQueryMutexSem |
| 18/25 | DosQueryMuxWaitSem |
| 18/27 | DosReleaseMutexSem |
| 18/29 | DosRequestMutexSem |
| 18/2B | DosSetNPHState |
| 18/2C | DosSetNPipeSem |
| 18/2D | DosTransactNPipe |
| 18/2E | DosWaitEventSem |
| 18/2F | DosWaitMuxWaitSem |
| 18/30 | DosWaitNPipe |
Dos Functions - 3 of 12
| Major/Minor Code | Event Name |
|---|---|
| 18/31 | DosFSRamSemClear |
| 18/32 | DosFSRamSemRequest |
| 18/33 | DosDeleteMuxWaitSem |
| 18/34 | DosPostEventSem |
| 18/35 | DosRawReadNPipe |
| 18/36 | DosRawWriteNPipe |
| 18/37 | DosResetEventSem |
| 18/39 | DosSetKBDSigFocus |
| 18/40 | SemWaitEventSem |
| 1C/01 | DosError |
| 1C/02 | DosSetVec |
| 1C/05 | DosSysTrace |
| 1C/06 | DosErrClass |
| 1C/07 | DosLogRead |
| 1C/08 | DosLogRegister |
| 1C/09 | DosDynamicTrace |
| 1C/0A | DosRaiseException |
| 1C/0B | DosSetExceptionHandler |
| 1C/0C | DosUnsetExceptionHandler |
| 1C/0D | DosUnwindExceptionHandler |
| 1C/0E | DosSetTraceInfo |
| 1C/0F | DosSystemService |
| 20/11 | VMAllocMem |
| 20/12 | VMFreeMem |
| 20/13 | VMLock |
| 20/14 | VMUnlock |
| 20/15 | VMInitTask |
| 20/16 | VMFreeTask |
| 20/17 | VMAttach |
| 20/18 | VM32ApiAliasMem |
| 20/19 | VM32ApiAllocMem |
| 20/1A | VM32ApiAllocSharedMem |
| 20/1B | VM32ApiGetNamedShared |
| 20/1C | VM32ApiGetSharedMem |
| 20/1D | VM32ApiGiveSharedMem |
| 20/1E | VM32ApiFreeMem |
| 20/1F | VM32ApiSetMem |
| 20/21 | VM32ApiQueryMem |
| 20/22 | PGPageFault |
| 20/24 | PGReloadFrame |
| 20/25 | PGGetPF |
| 20/26 | PGIdle |
| 20/27 | SELInitLDT |
| 20/28 | SELAllocLDT |
| 20/29 | SELFreeLDT |
| 20/2A | SMSwapIn |
| 20/2B | SMSwapOut |
Dos Functions - 4 of 12
| Major/Minor Code | Event Name |
|---|---|
| 24/01 | DosAllocSeg |
| 24/02 | DosAllocShrSeg |
| 24/03 | DosGetShrSeg |
| 24/04 | DosReallocSeg |
| 24/05 | DosFreeSeg |
| 24/06 | DosAllocHuge |
| 24/07 | DosReallocHuge |
| 24/08 | DosCreateCSAlias |
| 24/09 | DosGiveSeg |
| 24/0A | DosAllocMem |
| 24/0B | DosAllocSharedMem |
| 24/0C | DosFreeMem |
| 24/0D | DosGetHugeShift |
| 24/0E | DosGetNamedSharedMem |
| 24/0F | Dos32GetResource |
| 24/10 | DosGetSharedMem |
| 24/11 | DosGetSeg |
| 24/12 | DosGiveSharedMem |
| 24/13 | DosLockSeg |
| 24/16 | DosMemAvail |
| 24/17 | DosQueryMem |
| 24/18 | DosSetMem |
| 24/19 | DosSizeSeg |
| 24/1A | DosUnlockSeg |
| 24/1B | DosSubAlloc |
| 24/1C | Dos32SubAlloc |
| 24/1D | DosSubFree |
| 24/1E | Dos32SubFree |
| 24/1F | DosSubSet |
| 24/20 | Dos32SubSet |
| 24/21 | DosAliasMem |
| 24/22 | DosAllocProtectedMem |
| 24/23 | DosAllocProtHuge |
| 24/24 | DosAllocProtSeg |
| 24/25 | DosAllocShrProtSeg |
| 24/26 | DosQueryMemState |
| 24/27 | DosSubUnSet |
Dos Functions - 5 of 12
| Major/Minor Code | Event Name |
|---|---|
| 30/01 | DosResetBuffer |
| 30/02 | DosSetFilePtr |
| 30/03 | DosClose |
| 30/04 | DosDelete |
| 30/05 | DosDupHandle |
| 30/06 | DosSetFileLocks |
| 30/07 | DosCreateDir |
| 30/08 | DosMove |
| 30/09 | DosSetFileSize |
| 30/0A | DosOpen |
| 30/0B | DosRead |
| 30/0C | DosReadAsync |
| 30/0D | DosDeleteDir |
| 30/0E | DosSetDefaultDisk |
| 30/0F | DosSetFHState |
| 30/10 | DosSetFileMode |
| 30/11 | DosSetVerify |
| 30/12 | DosWrite |
| 30/13 | DosWriteAsync |
| 30/14 | DosSetCurrentDir |
| 30/15 | DosFindClose |
| 30/16 | DosFindFirst |
| 30/17 | DosFindNext |
| 30/18 | DosFindFirst2 |
| 30/19 | DosCreateDir |
| 30/1A | DosOpen2 |
| 30/1B | DosQueryCurrentDir |
| 30/1C | DosQueryCurrentDisk |
| 30/1D | DosQueryFHState |
| 30/1E | DosQueryFileInfo |
| 30/1F | DosQueryFileMode |
| 30/20 | DosQueryFSInfo |
| 30/21 | DosQueryHType |
| 30/22 | DosQueryVerify |
| 30/23 | DosSetFileInfo |
| 30/24 | DosSetFSInfo |
| 30/25 | DosSetMaxFH |
| 30/26 | DosCopy |
| 30/27 | DosSearchPath |
| 30/28 | DosEditName |
| 30/29 | DosFileIO |
Dos Functions - 6 of 12
| Major/Minor Code | Event Name |
|---|---|
| 30/2A | DosFindFromName |
| 30/2B | DosFindNotifyClose |
| 30/2C | DosFindNotifyFirst |
| 30/2D | DosFindNotifyNext |
| 30/2E | DosFSAttach |
| 30/2F | DosFSCtl |
| 30/30 | DosOpLockRelease |
| 30/31 | DosOpLockWait |
| 30/32 | DosQueryFSAttach |
| 30/33 | DosQueryPathInfo |
| 30/34 | DosQuerySysInfo |
| 30/35 | DosSetPathInfo |
| 30/36 | DosForceDelete |
| 30/40 | Dos32Read |
| 30/41 | Dos32Write |
| 30/42 | fscMPStub |
| 32/01 | Cluster Allocate |
| 32/02 | Cluster Deallocate |
| 32/03 | Unlock/Lock File Range |
| 32/04 | AddHash |
| 32/05 | AddLW |
| 32/06 | CCH |
| 32/07 | LazyWriter |
| 32/08 | LazyRead |
| 32/0A | SDW |
| 32/0B | FLW |
| 32/0C | LWWrite |
| 32/13 | SDR |
Dos Functions - 7 of 12
| Major/Minor Code | Event Name |
|---|---|
| 33/01 | AddHash |
| 33/02 | AddLW |
| 33/03 | CCH |
| 33/04 | FindDir |
| 33/05 | LazyWriter |
| 33/06 | LDE |
| 33/07 | RDBufOrGetInBuf |
| 33/08 | ReadDir |
| 33/09 | SDL |
| 33/0A | SDW |
| 33/0B | FLW |
| 33/0D | FSOpen |
| 33/0E | FSRead |
| 33/0F | FSWrite |
| 33/11 | SplitDir |
| 33/12 | Adjust |
| 33/13 | SDR |
| 38/01 | DosGetDateTime |
| 38/02 | DosSetDateTime |
| 38/03 | DosSleep |
| 38/04 | DosTimerAsync |
| 38/05 | DosTimerStart |
| 38/06 | DosStopTimer |
| 38/07 | DosAsyncTimer |
| 38/08 | DosStartTimer |
| 39/01 | DosQueryCp |
| 39/08 | DosMapCase |
| 39/09 | DosQueryCollate |
| 39/0A | DosQueryCtryInfo |
| 39/0B | DosQueryDBCSEv |
| 4F/01 | DOSIntEnter |
| 50/01 | KeyboardInput |
| 50/02 | DisplayOutput |
| 50/05 | PrinterOutput |
| 50/06 | DirectConsoleI/O |
| 50/07 | DirectConsoleInput |
| 50/08 | ConsoleInput |
| 50/09 | DisplayString |
| 50/0A | BufferedKeyboardInput |
| 50/0B | CheckStatus |
| 50/0D | DiskReset |
| 50/0E | SelectDisk |
Dos Functions - 8 of 12
| Major/Minor Code | Event Name |
|---|---|
| 50/0F | FCBOPEN |
| 50/10 | FCBClose |
| 50/11 | FCBFindFirst |
| 50/12 | FCBNextEntry |
| 50/14 | FCBSeqRead |
| 50/15 | FCBSeqWrite |
| 50/16 | FCBCreateFile |
| 50/17 | FCBRenameFile |
| 50/19 | CurrentDisk |
| 50/1A | SetDiskXferAddress |
| 50/1B | AllocTableInfo |
| 50/1C | AllocTableInfoForSpecificDevice |
| 50/21 | FCBRandomRead |
| 50/22 | FCBRandomWrite |
| 50/23 | FCBFileSize |
| 50/24 | FCBLSEEK |
| 50/25 | SetInterruptVector |
| 50/26 | CreateNewProgSegPrefix |
| 50/27 | FCBRandomBlockRead |
| 50/28 | FCBRandomBlockWrite |
| 50/29 | ParseFilename |
| 50/2A | GetDate |
| 50/2B | SetDate |
| 50/2C | GetTime |
| 50/2D | SetTime |
| 50/2F | GetDiskXferAddress |
| 50/35 | GetInterruptVector |
| 50/36 | GetDiskFreeSpace |
| 50/39 | CreateSubdirectory |
| 50/3A | RemoveSubdirectory |
| 50/3B | ChangeCurrentDirectory |
| 50/3C | CREATE |
| 50/3D | OPEN |
| 50/3E | CLOSE |
| 50/3F | READ |
| 50/40 | WRITE |
| 50/41 | DeleteFile |
| 50/42 | LSEEK |
| 50/43 | ChangeFileMode |
| 50/44 | IOCTL |
Dos Functions - 9 of 12
| Major/Minor Code | Event Name |
|---|---|
| 50/45 | DupFileHandle |
| 50/46 | ForceDupFileHandle |
| 50/47 | GetCurrentDirectory |
| 50/48 | AllocateMemorySegment |
| 50/49 | FreeMemorySegment |
| 50/4A | ResizeMemorySegment |
| 50/4B | EXEC |
| 50/4C | ProgTerminate |
| 50/4E | FINDFIRST |
| 50/4F | FINDNEXT |
| 50/56 | RENAMEFile |
| 50/57 | Get/SetFileDate/Time |
| 50/5A | CreateUniqueFile |
| 50/5B | CREATENEW |
| 50/5C | Lock/UnlockFile |
| 50/68 | CommitFile |
| 52/01 | SetSystemTimerTimeCounter |
| 52/02 | ReadRealTimeClockTime |
| 52/03 | SetRealTimeClockTime |
| 52/04 | ReadRealTimeClockDate |
| 52/05 | SetRealTimeClockDate |
| 52/06 | SetRealTimeClockAlarm |
| 52/07 | ResetRealTimeClockAlarm |
| 52/08 | SetRealTimeClock |
| 52/09 | ReadRealTimeClockAlarm |
| 52/0A | ReadSystemTimerDayCounter |
| 52/0B | SetSystemTimerDayCounter |
| 52/7E | ReadSystemTimerTimeCounter |
| 54/01 | SetCursorType |
| 54/02 | SetCursorPosition |
| 54/03 | ReadCursorPosition |
| 54/04 | ReadLightPenPosition |
| 54/05 | SelectActiveDisplayPage |
| 54/06 | ScrollActivePageUp |
| 54/07 | ScrollActivePageDown |
| 54/08 | ReadAttribute/CharacterAtCurrentCursorPos |
| 54/09 | WriteAttribute/CharacterAtCurrentCursorPos |
| 54/0A | WriteCharacterAtCurrentCursorPos |
| 54/0B | SetColorPalette |
Dos Functions - 10 of 12
| Major/Minor Code | Event Name |
|---|---|
| 54/0C | WriteDot |
| 54/0D | ReadDot |
| 54/0E | WriteTeletypetoActivePage |
| 54/0F | ReadCurrentVideoState |
| 54/10 | SetPaletteRegisters |
| 54/11 | CharacterGenerator |
| 54/12 | AlternateSelect |
| 54/13 | WriteString |
| 54/14 | LoadLCDCharacterFont/Set |
| 54/15 | ReturnPhysicalDisplayParameters |
| 54/1A | Read/WriteDisplayCombinationCode |
| 54/1B | ReturnFunctionality/StateInfo |
| 54/1C | Save/RestoreVideoState |
| 54/7E | SetMode |
| 56/01 | KeyboardRead |
| 56/02 | KeyboardStatus |
| 56/03 | ShiftStatus |
| 56/04 | SetTypematicRate |
| 56/05 | KeyboardWrite |
| 56/10 | ExtendedKeyboardRead |
| 56/11 | ExtendedKeyboardStatus |
| 56/12 | ExtendedShiftStatus |
| 56/13 | KeyboardIntercept |
| 56/20 | Extended122KeyboardRead |
| 56/21 | Extended122KeyboardStatus |
| 56/22 | Extended122ShiftStatus |
| 57/01 | InitializeThePrinterPort |
| 57/02 | ReadStatus |
| 57/7E | PrintCharacter |
| 58/01 | ReadStatusOfLastOp |
| 58/02 | ReadDesiredSectors |
| 58/03 | WriteDesiredSectors |
| 58/04 | VerifyDesiredSectors |
| 58/05 | FormatDesiredCylinder |
| 58/06 | FormatDesiredCylinderSetBadSectorFlags |
| 58/07 | FormatDriveStarting |
| 58/08 | ReadDriveParameters |
| 58/09 | InitializeDrivePairChar |
| 58/0C | Seek |
| 58/0D | AlternateDiskReset |
| 58/10 | TestDriveReady |
| 58/11 | Recalibrate |
| 58/15 | ReadDASDType |
| 58/19 | ParkHeads |
| 58/1A | FormatUnit |
| 58/7E | ResetDiskSystem |
Dos Functions - 11 of 12
| Major/Minor Code | Event Name |
|---|---|
| 59/01 | SendAChar |
| 59/02 | ReceiveAChar |
| 59/03 | ReadStatus |
| 59/04 | ExtendedInitialize |
| 59/05 | ExtendedCommPortControl |
| 59/7E | InitTheCommPort |
| 5A/01 | ShowCursor |
| 5A/02 | HideCursor |
| 5A/03 | GetButtonStatusAndMousePos |
| 5A/04 | SetMouseCursorPos |
| 5A/05 | GetButtonPressInfo |
| 5A/06 | GetButtonReleaseInfo |
| 5A/07 | SetMin/MaxHorizontalCursor |
| 5A/08 | SetMin/MaxVerticalCursor |
| 5A/09 | SetGraphicsCursorBlock |
| 5A/0A | SetTextCursor |
| 5A/0B | ReadMouseMotionCounters |
| 5A/0C | SetIntSubrCallMask |
| 5A/0D | LightPenEmulModeOn |
| 5A/0E | LightPenEmulModeOff |
| 5A/0F | SetMickey/PixelRatio |
| 5A/10 | ConditionalOff |
| 5A/11 | SetDoubleSpeedThreshold |
| 5A/12 | SwapInterruptSubroutines |
| 5A/13 | GetMouseDriverState |
| 5A/14 | SaveMouseDriverState |
| 5A/15 | RestoreMouseDriverState |
| 5A/16 | SetAltSubrCallMask |
| 5A/17 | GetUserAltIntAddr |
| 5A/18 | SetMouseSensitivity |
| 5A/19 | GetMouseSensitivity |
| 5A/1A | SetMouseInterruptRate |
| 5A/1B | SetCRTPageNumber |
| 5A/1C | GetCRTPageNumber |
| 5A/1D | DisableMouseDriver |
| 5A/1E | EnableMouseDriver |
| 5A/1F | SoftwareReset |
| 5A/20 | SetLanguageForMsg |
| 5A/21 | GetLanguageNumber |
| 5A/22 | GetDriverVersion |
| 5A/7E | MouseResetAndStatus |
Dos Functions - 12 of 12
| Major/Minor Code | Event Name |
|---|---|
| 5C/01 | ReadStatusOfLastOp |
| 5C/02 | ReadDesiredSectors |
| 5C/03 | WriteDesiredSectors |
| 5C/04 | VerifyDesiredSectors |
| 5C/05 | FormatDesiredTrack |
| 5C/08 | ReadDriveParameters |
| 5C/15 | ReadDASDType |
| 5C/16 | SetDisketteChgLineStatus |
| 5C/17 | SetDASDTypeForFormat |
| 5C/18 | SetMediaTypeForFormat |
| 5C/7E | ResetDisketteSystem |
| 60/01 | DosDevConfig |
| 60/02 | DosDevIOCtl |
| 60/04 | DosMonOpen |
| 60/05 | DosMonClose |
| 60/06 | DosMonReg |
| 60/07 | DosMonRead |
| 60/08 | DosMonWrite |
| 60/09 | DosPhysicalDisk |
| 60/0A | DosDevIOCtl2 |
| 60/0B | DosCLIAccess |
| 60/0C | DosPortAccess |
| 60/81 | DosDevConfig |
| 60/82 | DosDevIOCtl |
| 60/84 | DosMonOpen |
| 60/85 | DosMonClose |
| 60/86 | DosMonReg |
| 60/87 | DosMonRead |
| 60/88 | DosMonWrite |
| 60/89 | DosPhysicalDisk |
| 60/8A | DosDevIOCtl2 |
| 60/8B | DosCLIAccess |
| 60/8C | DosPortAccess |