📄 rxdos.asm
字号:
TITLE 'rxdos - Copyright, 1990 1997 Api Software'
PAGE 59, 132
.LALL
;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';
; Real Time Dos ;
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -;
; ;
; This material was created as a published version of a DOS ;
; equivalent product. This program logically functions in ;
; the same way as MSDOS functions and it is internal data ;
; structure compliant with MSDOS 6.0 ;
; ;
; This product is distributed AS IS and contains no warranty ;
; whatsoever, including warranty of merchantability or ;
; fitness for a particular purpose. ;
; ;
; ;
; (c) Copyright 1990, 1997. Api Software and Mike Podanoffsky ;
; All Rights Reserved Worldwide. ;
; ;
; This product is protected under copyright laws and may not ;
; be reproduced in whole or in part, in any form or media, ;
; included but not limited to source listing, facsimile, data ;
; transmission, cd-rom, or floppy disk without the expressed ;
; written consent of the author. ;
; ;
; License for distribution for commercial use or resale ;
; required from: ;
; ;
; Api Software ;
; 12 South Walker Street ;
; Lowell, MA 01851 ;
; ;
; internet: mikep@world.std.com ;
; ;
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -;
; Compile with MASM 5.1 ;
;...............................................................;
;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';
; Comments ;
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -;
; ;
; DOS file system is divided into the following layers: ;
; ;
; ;
; Named File System ;
; ;
; Uses the handle or FCB for file requests based on file ;
; name and file position. A file pointer navigates thru ;
; file. ;
; ;
; Redirector ;
; ;
; Passes file requests to a file redirector layer that ;
; handles any proprietary file system requests, special ;
; or networked file calls. ;
; ;
; FAT File System ;
; ;
; Maps file requests to clusters using the cluster chain ;
; in the FAT (File Access Table). ;
; ;
; Device Driver ;
; ;
; Performs the actual disk (int 13) i/o. ;
; ;
;...............................................................;
include rxdosmac.asm
include rxdosdef.asm
public RxDOS_start
public DaysInMonthTable
public AccumDaysPerMonthTable
public sizeInvFnChars
public sizeShiftTable
public _bitShiftTable
public _CallDOS
public _mul32
public _div32
public _Interrupt_20
public _Interrupt_21
public _Interrupt_23
public _Interrupt_24
public _Interrupt_25
public _Interrupt_26
public _Interrupt_27
public _Interrupt_28
public _Interrupt_2a
public _Interrupt_2f
public _IRet
public _invalidFnCharacters
public _RetCallersStackFrame
public stdDeviceAssignTable
public _DebugInterruptTrap
public _TerminateProcess
public _RxDOS_CurrentSeg
public _RxDOS_SharedBuffer
public _RxDOS_UserCodePage
public _RxDOS_SystemCodePage
public _RxDOS_CurrCountryInfo
public _RxDOS_AllocStrategy
public _RxDOS_bCtrlBreakCheck
public _RxDOS_bLastDrive
public _RxDOS_bNumJoinDev
public _RxDOS_BootDrive
public _RxDOS_bSwitchChar
public _RxDOS_BufferList
public _RxDOS_Buffers
public _RxDOS_CommandShell
public _RxDOS_CurrentDrive
public _RxDOS_CurrentInstance
public _RxDOS_CurrentPSP
public _RxDOS_data
public _RxDOS_DOSProgramName
public _RxDOS_DOSVersion
public _RxDOS_ExtendedMem
public _RxDOS_INDOSFlag
public _RxDOS_StackLongJump
public _RxDOS_MaxMemory
public _RxDOS_nProtFCBs
public _RxDOS_NULLDev
public _RxDOS_pCDS
public _RxDOS_pCLOCKdriver
public _RxDOS_pCONdriver
public _RxDOS_pDPB
public _RxDOS_pDTA
public _RxDOS_pFCBs
public _RxDOS_pFT
public _RxDOS_bNumBlockDev
public _RxDOS_pStartMemBlock
public _RxDOS_ShareRetry
public _RxDOS_ShareDelay
public _RxDOS_Verify
public _RxDOS_wMaxBlock
public _RxDOS_wSpecialNames
public RxDOS_USA_DefaultUpperCaseFunction
public _RxDOS_AbortInProgress
public RxDOS_StackTop
public RxDOS_StackTemp
public RxDOS_StackProtect
public _RxDOS_CurrentStackTop
public _RxDOS_TabPosition
public SDAInt24_SPSave
public SDAFirstName
public SDASecondName
public SDApCurrentCDS
public SDAExtendedSwapArea
public pexterrInvalidFunction
public pexterrFileNotFound
public pexterrPathNotFound
public pexterrIllegalName
public pexterrNoHandlesAvailable
public pexterrAccessDenied
public pexterrInvalidHandle
public pexterrArenaTrashed
public pexterrNotEnoughMemory
public pexterrInvalidBlock
public pexterrInvalidAccess
public pexterrInvalidDrive
public pexterrCurrentDirectory
public pexterrNoMoreFiles
public pexterrFileExists
; defined in rxdosccb
extrn CCBChanged : near
extrn linkBegCCB : near
extrn locateCCBPHeader : near
extrn readBuffer : near
extrn unlinkCCB : near
extrn updateAllChangedCCBBuffers : near
extrn updateDriveBuffers : near
; defined in rxdosdev
extrn DefineDPB : near
extrn getDPB : near
extrn getSysDate : near
extrn setSysDate : near
extrn getExpandedDateTime : near
extrn getExpandedDate : near
extrn DevRead : near
extrn DevWrite : near
extrn readConsoleIn : near
extrn writeConsoleOut : near
extrn initReqBlock : near
extrn CharDevRequest : near
extrn devCharRead : near
extrn devCharReadLine : near
; defined in rxdosexe
extrn loadProgram : near
extrn copyCurrentPSP : near
; defined in rxdosfat
extrn AllocateInitCluster : near
extrn AmountFreeSpace : near
extrn ReleaseClusterChain : near
extrn _FATReadRandom : near
; defined in rxdosfcb
extrn initFCBfromSFT : near
extrn buildFindFromFCB : near
extrn buildDTAfcbFind : near
; defined in rxdosfil
extrn blankinitDirName : near
extrn initdiskAccess : near
extrn compareDirEntries : near
extrn computeLogSectorNumber : near
extrn ExpandFileName : near
extrn LocateFile : near
extrn LocateFreeDirSlot : near
extrn LocateFileByAttribute : near
extrn GetActualDrive : near
extrn getCurrDirCluster : near
extrn getDevice : near
extrn getDrive : near
extrn getWhereInDir : near
; defined in rxdosifs
extrn Interrupt2F : far
; defined in rxdosini
extrn RxDOS_initialize : near
extrn LogTraceInt21Calls : near
; defined in rxdosmem
extrn _initializeMemoryBlock : near
extrn _collectMemoryBlocks : near
extrn _releaseOwnerMemoryBlocks : near
extrn _allocateUpperMB : near
extrn _allocateConvMB : near
extrn _modifyMemBlock : near
; defined in rxdossft
extrn createSFTEntry : near
extrn FindAvailableSFTHandle : near
extrn findmatchingFCBSFT : near
extrn FindSFTbyHandle : near
extrn MapAppToSFTHandle : near
extrn MapSFTtoAppHandle : near
extrn releaseSFT : near
extrn VerifyAvailableHandle : near
extrn TestIfMoveHandleTable : near
extrn _SFTReadLine : near
extrn _SFTReadFile : near
extrn _SFTWriteFile : near
extrn _SFTOpenFile : near
extrn _SFTCreateFile : near
extrn _SFTCloseFile : near
extrn _SFTCloseAllFiles : near
extrn _SFTCommitFile : near
; defined in rxdosstr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -