├── COMMAND ├── BATCH.C ├── BIN │ ├── BATCH.OBJ │ ├── CMDLIST.OBJ │ ├── COM.OBJ │ ├── COMCPY.OBJ │ ├── COMINT.OBJ │ ├── COMMAND.COM │ ├── COMMAND.EXE │ ├── CONFIG.OBJ │ ├── CRIT.OBJ │ ├── CSTART.OBJ │ ├── CSUP.OBJ │ ├── DOSIF.OBJ │ ├── GLOBAL.OBJ │ ├── HELPSTUB.OBJ │ ├── MESSAGE.OBJ │ ├── PRINTF.OBJ │ ├── RESIDENT.OBJ │ ├── SUPPORT.OBJ │ ├── TXHELP.BIN │ ├── TXHELP.EXE │ └── TXHELP.OBJ ├── CHAR.DEF ├── CMDLIST.C ├── COM.C ├── COMCPY.C ├── COMINT.C ├── COMMAND.H ├── COMMAND.MAP ├── CONFIG.C ├── CRIT.ASM ├── CSTART.ASM ├── CSUP.ASM ├── DEFINES.H ├── DOS.H ├── DOSIF.ASM ├── DOSIF.H ├── DRIVER.EQU ├── F52DATA.DEF ├── GLOBAL.C ├── GLOBAL.H ├── HELP.H ├── HELPSTUB.ASM ├── IDLE.H ├── LOGIN.H ├── MAKE.BAT ├── MESSAGE.ASM ├── MESSAGE.DEF ├── MESSAGE.H ├── MSDOS.EQU ├── MSERROR.EQU ├── MSERROR.H ├── PORTAB.H ├── PRINTF.C ├── RESIDENT.ASM ├── RESIDENT.DEF ├── RESIDENT.H ├── RESP1 ├── RESP2 ├── RESP3 ├── SECURITY.H ├── STRUCT.H ├── SUPPORT.C ├── SUPPORT.H ├── TOUPPER.H ├── TXHELP.ASM ├── TXHELP.DEF ├── TXHELP.H └── TXLOGIN.H ├── DOCS ├── BUGS101.TXT ├── BUGS102.TXT ├── BUGS103.TXT ├── BUGS104.TXT ├── BUGS105.TXT ├── BUGS106.TXT ├── BUGS107.TXT ├── DR70101.DIF ├── DR70102.DIF ├── DR70103.DIF ├── DR70104.DIF ├── DR70105.DIF ├── DR70106.DIF ├── DR70107.DIF ├── HIST101.TXT ├── HIST102.TXT ├── HIST103.TXT ├── HIST104.TXT ├── HIST105.TXT ├── HIST106.TXT ├── HIST107.TXT ├── INST101.TXT ├── INST102.TXT ├── INST103.TXT ├── INST104.TXT ├── INST105.TXT ├── INST106.TXT ├── INST107.TXT ├── NEWFN107.TXT ├── READ101.1ST ├── READ102.1ST ├── READ103.1ST ├── READ104.1ST ├── READ105.1ST ├── READ106.1ST └── READ107.1ST ├── IBMBIO ├── BDOSLDR.A86 ├── BDOSSTUB.A86 ├── BIN │ ├── BDOSLDR.OBJ │ ├── BDOSSTUB.OBJ │ ├── BIOS.MAP │ ├── BIOSGRPS.OBJ │ ├── BIOSINIT.OBJ │ ├── BIOSMSGS.OBJ │ ├── BIOSSTUB.LIB │ ├── CLOCK.OBJ │ ├── CONFIG.OBJ │ ├── CONFSTUB.OBJ │ ├── CONSOLE.OBJ │ ├── DISK.OBJ │ ├── GENERCFG.OBJ │ ├── IBMBIO.COM │ ├── INIT.OBJ │ ├── INITMSGS.OBJ │ ├── NLSFUNC.OBJ │ ├── SERPAR.OBJ │ └── STACKS.OBJ ├── BIOS.LNK ├── BIOSGRPS.ASM ├── BIOSGRPS.EQU ├── BIOSINIT.A86 ├── BIOSMSGS.ASM ├── BIOSMSGS.DEF ├── BIOSMSGS.H ├── BIOSSTUB.LIB ├── BPB.EQU ├── CHAR.DEF ├── CLOCK.ASM ├── CONFIG.A86 ├── CONFIG.EQU ├── CONFSTUB.A86 ├── CONSOLE.ASM ├── COUNTRY.DEF ├── DISK.ASM ├── DOSHNDL.DEF ├── DRIVER.EQU ├── DRMACROS.EQU ├── F52DATA.DEF ├── FDOS.EQU ├── GENERCFG.A86 ├── IBMROS.EQU ├── INIT.ASM ├── INITMSGS.ASM ├── INITMSGS.DEF ├── INITMSGS.H ├── MAKE.BAT ├── MODFUNC.DEF ├── MSDOS.EQU ├── MSERROR.EQU ├── NLSFUNC.A86 ├── PATCH.COD ├── PSP.DEF ├── REQHDR.EQU ├── REQUEST.EQU ├── SERPAR.ASM ├── STACKS.ASM └── UDSC.EQU ├── IBMDOS ├── BDEVIO.A86 ├── BDOS.EQU ├── BIN │ ├── BDEVIO.OBJ │ ├── BUFFERS.OBJ │ ├── CDEVIO.OBJ │ ├── CIO.LST │ ├── CIO.OBJ │ ├── CIO.SYM │ ├── CMDLINE.LST │ ├── CMDLINE.OBJ │ ├── CMDLINE.SYM │ ├── DIRS.OBJ │ ├── DISK.OBJ │ ├── DOSMEM.LST │ ├── DOSMEM.OBJ │ ├── DOSMEM.SYM │ ├── ERROR.LST │ ├── ERROR.OBJ │ ├── ERROR.SYM │ ├── FCBS.LST │ ├── FCBS.OBJ │ ├── FCBS.SYM │ ├── FDOS.OBJ │ ├── FIOCTL.OBJ │ ├── HEADER.OBJ │ ├── HISTORY.LST │ ├── HISTORY.OBJ │ ├── HISTORY.SYM │ ├── IBMDOS.COM │ ├── IBMDOS.INP │ ├── IBMDOS.MAP │ ├── IBMDOS.SYM │ ├── IBMDOS.TMP │ ├── INT2F.OBJ │ ├── IOCTL.OBJ │ ├── MISC.OBJ │ ├── NETWORK.LST │ ├── NETWORK.OBJ │ ├── NETWORK.SYM │ ├── PCMIF.OBJ │ ├── PROCESS.OBJ │ ├── REDIR.OBJ │ ├── SUPPORT.LST │ ├── SUPPORT.OBJ │ └── SUPPORT.SYM ├── BUFFERS.A86 ├── CDEVIO.A86 ├── CHAR.DEF ├── CIO.A86 ├── CMDLINE.A86 ├── CMDLINE.EQU ├── COUNTRY.A86 ├── COUNTRY.DEF ├── DIRS.A86 ├── DISK.A86 ├── DOSHNDL.DEF ├── DOSMEM.A86 ├── DRIVER.EQU ├── ERROR.A86 ├── EXE.DEF ├── F52DATA.DEF ├── FCBS.A86 ├── FDOS.A86 ├── FDOS.DEF ├── FDOS.EQU ├── FIOCTL.A86 ├── FUNCS.FDO ├── HEADER.A86 ├── HISTORY.A86 ├── IBMDOS.INP ├── IBMDOS.MAP ├── IBMDOS.SYM ├── INT2F.A86 ├── IOCTL.A86 ├── MAKE.BAT ├── MISC.A86 ├── MODFUNC.DEF ├── MSDOS.EQU ├── MSERROR.EQU ├── NETWORK.A86 ├── PATCH.COD ├── PCMIF.A86 ├── PCMODE.EQU ├── PROCESS.A86 ├── PSP.DEF ├── REDIR.A86 ├── REDIR.EQU ├── REQHDR.EQU ├── RH.EQU ├── SUPPORT.A86 ├── UTILS.FDO └── VECTORS.DEF ├── LICENSE.TXT ├── LTOOLS ├── BIN2ASC.EXE ├── COMPBDOS.EXE ├── COMPBIOS.EXE ├── CWSDPMI.EXE ├── EXE2BIN.EXE ├── FIXUPP.EXE ├── LINKCMD.EXE ├── PATCH.EXE ├── RASM86.EXE └── RASM_SH.EXE ├── PATCHES ├── DR70101.DIF ├── DR70102.DIF ├── DR70103.DIF ├── DR70104.DIF ├── DR70105.DIF ├── DR70106.DIF └── DR70107.DIF ├── README.TXT ├── README.md └── WIP ├── BUGS.TXT ├── D110721.DIF ├── FUNC7142.TXT ├── HISTORY.TXT ├── INSTALL.TXT ├── NEWFUNCT.TXT ├── README.1ST └── README.WIP /COMMAND/BIN/BATCH.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/BATCH.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/CMDLIST.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/CMDLIST.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/COM.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/COM.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/COMCPY.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/COMCPY.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/COMINT.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/COMINT.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/COMMAND.COM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/COMMAND.COM -------------------------------------------------------------------------------- /COMMAND/BIN/COMMAND.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/COMMAND.EXE -------------------------------------------------------------------------------- /COMMAND/BIN/CONFIG.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/CONFIG.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/CRIT.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/CRIT.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/CSTART.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/CSTART.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/CSUP.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/CSUP.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/DOSIF.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/DOSIF.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/GLOBAL.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/GLOBAL.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/HELPSTUB.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/HELPSTUB.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/MESSAGE.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/MESSAGE.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/PRINTF.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/PRINTF.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/RESIDENT.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/RESIDENT.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/SUPPORT.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/SUPPORT.OBJ -------------------------------------------------------------------------------- /COMMAND/BIN/TXHELP.BIN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/TXHELP.BIN -------------------------------------------------------------------------------- /COMMAND/BIN/TXHELP.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/TXHELP.EXE -------------------------------------------------------------------------------- /COMMAND/BIN/TXHELP.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/BIN/TXHELP.OBJ -------------------------------------------------------------------------------- /COMMAND/CHAR.DEF: -------------------------------------------------------------------------------- 1 | ; File : $CHAR.DEF$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ;************************************************; 35 | ;* *; 36 | ;* Character Definitions *; 37 | ;* *; 38 | ;************************************************; 39 | 40 | CTLA equ 'A' - '@' 41 | CTLB equ 'B' - '@' 42 | CTLC equ 'C' - '@' 43 | CTLD equ 'D' - '@' 44 | CTLE equ 'E' - '@' 45 | CTLF equ 'F' - '@' 46 | CTLG equ 'G' - '@' 47 | BELL equ 'G' - '@' 48 | CTLH equ 'H' - '@' 49 | CTLI equ 'I' - '@' 50 | TAB equ 'I' - '@' 51 | CTLJ equ 'J' - '@' 52 | LF equ 'J' - '@' 53 | CTLK equ 'K' - '@' 54 | CTLM equ 'M' - '@' 55 | CR equ 'M' - '@' 56 | CTLP equ 'P' - '@' 57 | CTLQ equ 'Q' - '@' 58 | CTLR equ 'R' - '@' 59 | CTLS equ 'S' - '@' 60 | CTLT equ 'T' - '@' 61 | CTLU equ 'U' - '@' 62 | CTLV equ 'V' - '@' 63 | CTLW equ 'W' - '@' 64 | CTLX equ 'X' - '@' 65 | CTLY equ 'Y' - '@' 66 | CTLZ equ 'Z' - '@' 67 | ESC equ '[' - '@' 68 | CTLBS equ '\' - '@' 69 | CTLUB equ '_' - '@' 70 | CTLUP equ '^' - '@' 71 | DEL equ 07Fh 72 | RUBOUT equ DEL 73 | 74 | CTL equ '^' 75 | -------------------------------------------------------------------------------- /COMMAND/COMCPY.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/COMCPY.C -------------------------------------------------------------------------------- /COMMAND/CSTART.ASM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/COMMAND/CSTART.ASM -------------------------------------------------------------------------------- /COMMAND/DEFINES.H: -------------------------------------------------------------------------------- 1 | /* 2 | ; File : $Workfile$ 3 | ; 4 | ; Description : 5 | ; 6 | ; Original Author : DIGITAL RESEARCH 7 | ; 8 | ; Last Edited By : $CALDERA$ 9 | ; 10 | ;-----------------------------------------------------------------------; 11 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 12 | ; 13 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 14 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 15 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 16 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 17 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 18 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 19 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 20 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 21 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 22 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 23 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 24 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 25 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 26 | ; CIVIL LIABILITY. 27 | ;-----------------------------------------------------------------------; 28 | ; 29 | ; *** Current Edit History *** 30 | ; *** End of Current Edit History *** 31 | ; 32 | ; $Log$ 33 | ; 34 | ; ENDLOG 35 | */ 36 | 37 | #define DOSPLUS 1 38 | #define BETA 1 39 | -------------------------------------------------------------------------------- /COMMAND/DOS.H: -------------------------------------------------------------------------------- 1 | /* 2 | ; File : $Workfile$ 3 | ; 4 | ; Description : 5 | ; 6 | ; Original Author : DIGITAL RESEARCH 7 | ; 8 | ; Last Edited By : $CALDERA$ 9 | ; 10 | ;-----------------------------------------------------------------------; 11 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 12 | ; 13 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 14 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 15 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 16 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 17 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 18 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 19 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 20 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 21 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 22 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 23 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 24 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 25 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 26 | ; CIVIL LIABILITY. 27 | ;-----------------------------------------------------------------------; 28 | ; 29 | ; *** Current Edit History *** 30 | ; *** End of Current Edit History *** 31 | ; 32 | ; $Log$ 33 | ; 34 | ; ENDLOG 35 | */ 36 | 37 | 38 | #define MS_P_TERMCPM 0x00 39 | #define MS_C_READ 0x01 40 | #define MS_C_WRITE 0x02 41 | #define MS_A_READ 0x03 42 | #define MS_A_WRITE 0x04 43 | #define MS_L_WRITE 0x05 44 | #define MS_C_RAWIO 0x06 45 | #define MS_C_RAWIN 0x07 46 | #define MS_C_NOECHO 0x08 47 | #define MS_C_WRITESTR 0x09 48 | #define MS_C_READSTR 0x0a 49 | #define MS_C_STAT 0x0b 50 | #define MS_C_FLUSH 0x0c 51 | #define MS_DRV_ALLRESET 0x0d 52 | #define MS_DRV_SET 0x0e 53 | #define MS_F_OPEN 0x0f 54 | #define MS_F_CLOSE 0x10 55 | #define MS_F_SFIRST 0x11 56 | #define MS_F_SNEXT 0x12 57 | #define MS_F_DELETE 0x13 58 | #define MS_F_READ 0x14 59 | #define MS_F_WRITE 0x15 60 | #define MS_F_MAKE 0x16 61 | #define MS_F_RENAME 0x17 62 | #define MS_DRV_GET 0x19 63 | #define MS_F_DMAOFF 0x1a 64 | #define MS_DRV_ALLOC 0x1b 65 | #define MS_DRV_ALLOCSPEC 0x1c 66 | #define MS_F_READRAND 0x21 67 | #define MS_F_WRITERAND 0x22 68 | #define MS_F_SIZE 0x23 69 | #define MS_F_RANDREC 0x24 70 | #define MS_S_SETINT 0x25 71 | #define MS_P_MKPSP 0x26 72 | #define MS_F_READBLK 0x27 73 | #define MS_F_WRITEBLK 0x28 74 | #define MS_F_PARSE 0x29 75 | #define MS_T_GETDATE 0x2a 76 | #define MS_T_SETDATE 0x2b 77 | #define MS_T_GETTIME 0x2c 78 | #define MS_T_SETTIME 0x2d 79 | #define MS_F_VERIFY 0x2e 80 | #define MS_F_DMAGET 0x2f 81 | #define MS_S_BDOSVER 0x30 82 | #define MS_P_TERMKEEP 0x31 83 | #define MS_S_BREAK 0x33 84 | #define MS_S_GETINT 0x35 85 | #define MS_DRV_SPACE 0x36 86 | #define MS_S_COUNTRY 0x38 87 | #define MS_X_MKDIR 0x39 88 | #define MS_X_RMDIR 0x3a 89 | #define MS_X_CHDIR 0x3b 90 | #define MS_X_CREAT 0x3c 91 | #define MS_X_OPEN 0x3d 92 | #define MS_X_CLOSE 0x3e 93 | #define MS_X_READ 0x3f 94 | #define MS_X_WRITE 0x40 95 | #define MS_X_UNLINK 0x41 96 | #define MS_X_LSEEK 0x42 97 | #define MS_X_CHMOD 0x43 98 | #define MS_X_IOCTL 0x44 99 | #define MS_X_DUP 0x45 100 | #define MS_X_DUP2 0x46 101 | #define MS_X_CURDIR 0x47 102 | #define MS_M_ALLOC 0x48 103 | #define MS_M_FREE 0x49 104 | #define MS_M_SETBLOCK 0x4a 105 | #define MS_X_EXEC 0x4b 106 | #define MS_X_EXIT 0x4c 107 | #define MS_X_WAIT 0x4d 108 | #define MS_X_FIRST 0x4e 109 | #define MS_X_NEXT 0x4f 110 | #define MS_F_GETVERIFY 0x54 111 | #define MS_F_DATETIME 0x56 112 | #define MS_F_ERROR 0x59 113 | #define MS_X_MKTEMP 0x5a 114 | #define MS_X_MKNEW 0x5b 115 | #define MS_F_LOCK 0x5c 116 | #define MS_P_GETPSP 0x62 117 | -------------------------------------------------------------------------------- /COMMAND/DRIVER.EQU: -------------------------------------------------------------------------------- 1 | ; File : $DRIVER.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; ENDLOG 33 | ; Device driver header offsets. 34 | 35 | 36 | DH_NEXT equ es:dword ptr 0 ; Dword Pointer to Next DEV 37 | DH_NEXTOFF equ es:word ptr 0 ; Offset of next device 38 | DH_NEXTSEG equ es:word ptr 2 ; Segment of next device 39 | DH_ATTRIB equ es:word ptr 4 ; device attribute bits 40 | DH_STRATEGY equ es:word ptr 6 ; offset of strategy entry 41 | DH_INTERRUPT equ es:word ptr 8 ; offset of interupt entry 42 | DH_NAME equ es:byte ptr 10 ; 8-BYTE device name 43 | 44 | DA_CHARDEV equ 8000h ; 1=character device, 0=block device 45 | DA_IOCTL equ 4000h ; device supports IOCTL string I/O 46 | DA_NONIBM equ 2000h ; dosen't require FAT for login 47 | DA_OTILBSY equ 2000h ; supports "output until busy" 48 | DA_REMOVE equ 0800h ; supports "removable media" check 49 | DA_QUERY equ 0080h ; supports query ioctl 50 | DA_GETSET equ 0040h ; supports 3.2 level functionality 51 | DA_SPECIAL equ 0010h ; fast console ouput via INT 29h 52 | DA_ISCLK equ 0008h ; device is current clock device 53 | DA_ISNUL equ 0004h ; device is NUL device (reserved) 54 | DA_BIGDRV equ 0002h ; supports > 65535 sector per drive 55 | DA_ISCOT equ 0002h ; device is standard output device 56 | DA_ISCIN equ 0001h ; device is standard input device 57 | 58 | FASTCON_INT equ 29h ; fast console output interrupt 59 | 60 | -------------------------------------------------------------------------------- /COMMAND/HELPSTUB.ASM: -------------------------------------------------------------------------------- 1 | ; File : $Workfile: HELPSTUB.ASM$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; ENDLOG 33 | ; HELPSTUB.ASM 34 | ; 35 | 36 | ; The word value defined here is the first word in the help segment. 37 | ; It is a pointer to the message table which contains pointers to the 38 | ; actual messages. 39 | 40 | 41 | include txhelp.def 42 | 43 | 44 | CHELP GROUP _HELP 45 | _HELP SEGMENT para public 'HELP' 46 | 47 | ifdef DLS 48 | extrn _pri_table:word 49 | extrn _alt_table:word 50 | 51 | dw offset CHELP:_pri_table 52 | dw offset CHELP:_alt_table 53 | else 54 | extrn _single_table:word 55 | 56 | help_list dw offset CHELP:_single_table 57 | 58 | endif 59 | 60 | _HELP ENDS 61 | 62 | END 63 | -------------------------------------------------------------------------------- /COMMAND/IDLE.H: -------------------------------------------------------------------------------- 1 | /* 2 | ; File : $Workfile$ 3 | ; 4 | ; Description : 5 | ; 6 | ; Original Author : DIGITAL RESEARCH 7 | ; 8 | ; Last Edited By : $CALDERA$ 9 | ; 10 | ;-----------------------------------------------------------------------; 11 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 12 | ; 13 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 14 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 15 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 16 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 17 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 18 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 19 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 20 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 21 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 22 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 23 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 24 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 25 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 26 | ; CIVIL LIABILITY. 27 | ;-----------------------------------------------------------------------; 28 | ; 29 | ; *** Current Edit History *** 30 | ; *** End of Current Edit History *** 31 | ; 32 | ; $Log$ 33 | ; 34 | ; ENDLOG 35 | */ 36 | 37 | #include 38 | 39 | #define IDLE_COMMAND 0x0001 40 | #define IDLE_DOSFUNC 0x0002 41 | #define IDLE_ON 0x4000 42 | #define IDLE_ENABLE 0x8000 43 | 44 | typedef struct _idle_state { 45 | WORD count; 46 | WORD max; 47 | WORD flags; 48 | VOID FAR *vec; 49 | WORD delay; 50 | WORD reload; 51 | WORD indos; 52 | } IDLE_STATE; 53 | -------------------------------------------------------------------------------- /COMMAND/MAKE.BAT: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SET TOOLS=C:\TOOLS 3 | 4 | SET MASM=%TOOLS%\MASM.EXE 5 | SET WATCOM=%TOOLS%\WATCOMC 6 | SET WATCOMH=%TOOLS%\WATCOMC\H 7 | SET WCG=%WATCOM%\BIN\WCGL.EXE 8 | SET WCC=%WATCOM%\BIN\WCC.EXE 9 | SET LINK510=%TOOLS%\LINK.EXE 10 | SET BCC20=%TOOLS%\BCC.EXE 11 | SET BCC20H=%TOOLS%\BCC20\H 12 | 13 | REM 14 | REM YOU SHOULD NOT HAVE TO CHANGE ANYTHING BELOW THIS LINE. 15 | REM 16 | 17 | REM Define local Caldera tools 18 | SET LOCTOOLS=..\LTOOLS 19 | 20 | IF NOT EXIST BIN\*.* MD BIN 21 | 22 | REM Check if tools exist 23 | 24 | ECHO Checking for %MASM% 25 | if not exist %MASM% goto badtool 26 | ECHO Checking for %WCC% 27 | if not exist %WCC% goto badtool 28 | ECHO Checking for %LINK510% 29 | if not exist %LINK510% goto badtool 30 | ECHO Checking for %BCC20% 31 | if not exist %BCC20% goto badtool 32 | 33 | 34 | %MASM% message,.\bin\message; 35 | IF ERRORLEVEL 1 GOTO FAILED 36 | %MASM% resident,.\bin\resident; 37 | IF ERRORLEVEL 1 GOTO FAILED 38 | %MASM% txhelp,.\bin\txhelp; 39 | IF ERRORLEVEL 1 GOTO FAILED 40 | 41 | %MASM% /DDOSPLUS /DWATCOMC /DPASCAL /DFINAL /MX /I.\ .\cstart.asm,.\bin\cstart.obj; 42 | IF ERRORLEVEL 1 GOTO FAILED 43 | %MASM% /DDOSPLUS /DWATCOMC /DPASCAL /DFINAL /MX /I.\ .\csup.asm,.\bin\csup.obj; 44 | IF ERRORLEVEL 1 GOTO FAILED 45 | %MASM% /DDOSPLUS /DWATCOMC /DPASCAL /DFINAL /MX /I.\ .\dosif.asm,.\bin\dosif.obj; 46 | IF ERRORLEVEL 1 GOTO FAILED 47 | %MASM% /DDOSPLUS /DWATCOMC /DPASCAL /DFINAL /MX /I.\ .\crit.asm,.\bin\crit.obj; 48 | IF ERRORLEVEL 1 GOTO FAILED 49 | 50 | %WCC% /s /DFINAL /i=. /ms /os /dWATCOMC /i=%WATCOMH% /fo.\bin\com.obj .\com.c 51 | IF ERRORLEVEL 1 GOTO FAILED 52 | %WCC% /s /DFINAL /i=. /ms /os /dWATCOMC /i=%WATCOMH% /fo.\bin\comint.obj .\comint.c 53 | IF ERRORLEVEL 1 GOTO FAILED 54 | %WCC% /s /DFINAL /i=. /ms /os /dWATCOMC /i=%WATCOMH% /fo.\bin\support.obj .\support.c 55 | IF ERRORLEVEL 1 GOTO FAILED 56 | 57 | %WCC% /s /DFINAL /i=. /ms /os /dWATCOMC /i=%WATCOMH% /fo.\bin\printf.obj .\printf.c 58 | IF ERRORLEVEL 1 GOTO FAILED 59 | %WCC% /s /DFINAL /i=. /ms /os /dWATCOMC /i=%WATCOMH% /fo.\bin\batch.obj .\batch.c 60 | IF ERRORLEVEL 1 GOTO FAILED 61 | %WCC% /s /DFINAL /i=. /ms /os /dWATCOMC /i=%WATCOMH% /fo.\bin\global.obj .\global.c 62 | IF ERRORLEVEL 1 GOTO FAILED 63 | %WCC% /s /DFINAL /i=. /ms /os /dWATCOMC /i=%WATCOMH% /fo.\bin\config.obj .\config.c 64 | IF ERRORLEVEL 1 GOTO FAILED 65 | %WCC% /s /DFINAL /i=. /ms /os /dWATCOMC /i=%WATCOMH% /fo.\bin\comcpy.obj .\comcpy.c 66 | IF ERRORLEVEL 1 GOTO FAILED 67 | 68 | ECHO -w -d -f- -K -O -X -Z -c -ms -I%BCC20H% -DMESSAGE -DDOSPLUS -zSCGROUP -zTCODE -zR_MSG > RESP1 69 | ECHO -I.\ >> RESP1 70 | ECHO -o.\bin\cmdlist.obj .\cmdlist.c >> RESP1 71 | %BCC20% @resp1 72 | IF ERRORLEVEL 1 GOTO FAILED 73 | 74 | ECHO .\bin\cstart.obj .\bin\com.obj .\bin\csup.obj +> RESP2 75 | ECHO .\bin\dosif.obj .\bin\comint.obj .\bin\support.obj+>> RESP2 76 | ECHO .\bin\cmdlist.obj .\bin\printf.obj+>> RESP2 77 | ECHO .\bin\message.obj +>> RESP2 78 | ECHO .\bin\batch.obj .\bin\global.obj .\bin\config.obj+>> RESP2 79 | ECHO .\bin\comcpy.obj .\bin\crit.obj +>> RESP2 80 | ECHO +>> RESP2 81 | ECHO .\bin\resident.obj>> RESP2 82 | ECHO .\bin\command.exe>> RESP2 83 | ECHO .\command.map>> RESP2 84 | ECHO %WATCOM%\LIB\CLIBs>> RESP2 85 | %LINK510% /MAP @resp2; 86 | IF ERRORLEVEL 1 GOTO FAILED 87 | 88 | %MASM% /DDOSPLUS /DWATCOMC /DPASCAL /DFINAL /MX /I.\ .\helpstub.asm,.\bin\helpstub.obj; 89 | IF ERRORLEVEL 1 GOTO FAILED 90 | ECHO .\bin\helpstub.obj+> RESP3 91 | ECHO .\bin\txhelp.obj>> RESP3 92 | ECHO .\bin\txhelp.exe>> RESP3 93 | %LINK510% @resp3; 94 | IF ERRORLEVEL 1 GOTO FAILED 95 | 96 | %LOCTOOLS%\exe2bin /S0000 .\bin\txhelp.exe .\bin\txhelp.bin 97 | IF ERRORLEVEL 1 GOTO FAILED 98 | 99 | copy /b .\bin\command.exe+.\bin\txhelp.bin .\bin\command.com 100 | goto exit 101 | 102 | :failed 103 | ECHO Error in Build! 104 | goto exit 105 | 106 | :badtool 107 | ECHO Can't find that tool! 108 | 109 | :exit 110 | REM ********************** 111 | REM CLEAN UP THE AREA 112 | REM ********************** 113 | SET TOOLS= 114 | SET MASM= 115 | SET WCC= 116 | SET LINK510= 117 | SET BCC20= 118 | SET WATCOMH= 119 | SET BCC20H= 120 | SET LOCTOOLS= 121 | 122 |  -------------------------------------------------------------------------------- /COMMAND/MESSAGE.H: -------------------------------------------------------------------------------- 1 | extern char near am_time[]; 2 | extern char near apr_m[]; 3 | extern char near aug_m[]; 4 | extern char near cur_date[]; 5 | extern char near cur_time[]; 6 | extern char near dec_m[]; 7 | extern char near err02[]; 8 | extern char near err03[]; 9 | extern char near err04[]; 10 | extern char near err05[]; 11 | extern char near err08[]; 12 | extern char near err15[]; 13 | extern char near err19[]; 14 | extern char near err20[]; 15 | extern char near err83[]; 16 | extern char near err86[]; 17 | extern char near err_file[]; 18 | extern char near euro_date[]; 19 | extern char near feb_m[]; 20 | extern char near fri_d[]; 21 | extern char near greeting_afternoon[]; 22 | extern char near greeting_evening[]; 23 | extern char near greeting_morning[]; 24 | extern char near help_com[]; 25 | extern char near help_prog[]; 26 | extern char near inv_date[]; 27 | extern char near inv_num[]; 28 | extern char near inv_time[]; 29 | extern char near jan_m[]; 30 | extern char near jap_date[]; 31 | extern char near jul_m[]; 32 | extern char near jun_m[]; 33 | extern char near mar_m[]; 34 | extern char near may_m[]; 35 | extern char near mon_d[]; 36 | extern char near msg_badcmd[]; 37 | extern char near msg_badcp[]; 38 | extern char near msg_badopt[]; 39 | extern char near msg_bados[]; 40 | extern char near msg_batmiss[]; 41 | extern char near msg_batnest[]; 42 | extern char near msg_batterm[]; 43 | extern char near msg_binrd[]; 44 | extern char near msg_break[]; 45 | extern char near msg_cpnf[]; 46 | extern char near msg_cpyright[]; 47 | extern char near msg_cpyself[]; 48 | extern char near msg_curcp[]; 49 | extern char near msg_debug[]; 50 | extern char near msg_devfail[]; 51 | extern char near msg_dir[]; 52 | extern char near msg_disabled[]; 53 | extern char near msg_dlost[]; 54 | extern char near msg_drv_invalid[]; 55 | extern char near msg_echo[]; 56 | extern char near msg_enverr[]; 57 | extern char near msg_envfull[]; 58 | extern char near msg_era[]; 59 | extern char near msg_eraall[]; 60 | extern char near msg_eraq[]; 61 | extern char near msg_exist[]; 62 | extern char near msg_fcopied[]; 63 | extern char near msg_files[]; 64 | extern char near msg_free[]; 65 | extern char near msg_full[]; 66 | extern char near msg_gosub[]; 67 | extern char near msg_idle[]; 68 | extern char near msg_inactive[]; 69 | extern char near msg_inop[]; 70 | extern char near msg_internal[]; 71 | extern char near msg_invalid_file[]; 72 | extern char near msg_label[]; 73 | extern char near msg_lbl[]; 74 | extern char near msg_loadpath[]; 75 | extern char near msg_longjmp[]; 76 | extern char near msg_mkdir[]; 77 | extern char near msg_ndir[]; 78 | extern char near msg_needdev[]; 79 | extern char near msg_needfile[]; 80 | extern char near msg_needpath[]; 81 | extern char near msg_netassign[]; 82 | extern char near msg_netsubst[]; 83 | extern char near msg_network[]; 84 | extern char near msg_nohelp[]; 85 | extern char near msg_nohelpprog[]; 86 | extern char near msg_nolbl[]; 87 | extern char near msg_nsys[]; 88 | extern char near msg_oemcpyrt[]; 89 | extern char near msg_oempatch[]; 90 | extern char near msg_off[]; 91 | extern char near msg_oklbl[]; 92 | extern char near msg_on[]; 93 | extern char near msg_onoff[]; 94 | extern char near msg_optline[]; 95 | extern char near msg_outactive[]; 96 | extern char near msg_path[]; 97 | extern char near msg_pathdrv[]; 98 | extern char near msg_pause[]; 99 | extern char near msg_ren[]; 100 | extern char near msg_return[]; 101 | extern char near msg_rmdir[]; 102 | extern char near msg_serialno[]; 103 | extern char near msg_serno[]; 104 | extern char near msg_syntax[]; 105 | extern char near msg_use_rendir[]; 106 | extern char near msg_ver111[]; 107 | extern char near msg_verify[]; 108 | extern char near msg_version[]; 109 | extern char near msg_xbatch[]; 110 | extern char near new_date[]; 111 | extern char near new_time[]; 112 | extern char near nov_m[]; 113 | extern char near oct_m[]; 114 | extern char near path_template[]; 115 | extern char near pm_time[]; 116 | extern char near sat_d[]; 117 | extern char near sep_m[]; 118 | extern char near sun_d[]; 119 | extern char near thu_d[]; 120 | extern char near tue_d[]; 121 | extern char near us_date[]; 122 | extern char near wed_d[]; 123 | extern char near yes_no[]; 124 | -------------------------------------------------------------------------------- /COMMAND/MSDOS.EQU: -------------------------------------------------------------------------------- 1 | ; File : $Workfile: MSDOS.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; MSDOS.EQU 1.1 92/11/10 10:48:56 34 | ; Added to appslib source directory. 35 | ; ENDLOG 36 | 37 | MS_P_TERMCPM equ 00H 38 | MS_C_READ equ 01H 39 | MS_C_WRITE equ 02H 40 | MS_A_READ equ 03H 41 | MS_A_WRITE equ 04H 42 | MS_L_WRITE equ 05H 43 | MS_C_RAWIO equ 06H 44 | MS_C_RAWIN equ 07H 45 | MS_C_NOECHO equ 08H 46 | MS_C_WRITESTR equ 09H 47 | MS_C_READSTR equ 0aH 48 | MS_C_STAT equ 0bH 49 | MS_C_FLUSH equ 0cH 50 | MS_DRV_ALLRESET equ 0dH 51 | MS_DRV_SET equ 0eH 52 | MS_F_OPEN equ 0fH 53 | MS_F_CLOSE equ 10H 54 | MS_F_SFIRST equ 11H 55 | MS_F_SNEXT equ 12H 56 | MS_F_DELETE equ 13H 57 | MS_F_READ equ 14H 58 | MS_F_WRITE equ 15H 59 | MS_F_MAKE equ 16H 60 | MS_F_RENAME equ 17H 61 | MS_DRV_GET equ 19H 62 | MS_F_DMAOFF equ 1aH 63 | MS_DRV_ALLOC equ 1bH 64 | MS_DRV_ALLOCSPEC equ 1cH 65 | MS_F_READRAND equ 21H 66 | MS_F_WRITERAND equ 22H 67 | MS_F_SIZE equ 23H 68 | MS_F_RANDREC equ 24H 69 | MS_S_SETINT equ 25H 70 | MS_P_MKPSP equ 26H 71 | MS_F_READBLK equ 27H 72 | MS_F_WRITEBLK equ 28H 73 | MS_F_PARSE equ 29H 74 | MS_T_GETDATE equ 2aH 75 | MS_T_SETDATE equ 2bH 76 | MS_T_GETTIME equ 2cH 77 | MS_T_SETTIME equ 2dH 78 | MS_F_VERIFY equ 2eH 79 | MS_F_DMAGET equ 2fH 80 | MS_S_BDOSVER equ 30H 81 | MS_P_TERMKEEP equ 31H 82 | MS_S_BREAK equ 33H 83 | MS_S_GETINT equ 35H 84 | MS_DRV_SPACE equ 36H 85 | MS_S_COUNTRY equ 38H 86 | MS_X_MKDIR equ 39H 87 | MS_X_RMDIR equ 3aH 88 | MS_X_CHDIR equ 3bH 89 | MS_X_CREAT equ 3cH 90 | MS_X_OPEN equ 3dH 91 | MS_X_CLOSE equ 3eH 92 | MS_X_READ equ 3fH 93 | MS_X_WRITE equ 40H 94 | MS_X_UNLINK equ 41H 95 | MS_X_LSEEK equ 42H 96 | MS_X_CHMOD equ 43H 97 | MS_X_IOCTL equ 44H 98 | MS_X_DUP equ 45H 99 | MS_X_DUP2 equ 46H 100 | MS_X_CURDIR equ 47H 101 | MS_M_ALLOC equ 48H 102 | MS_M_FREE equ 49H 103 | MS_M_SETBLOCK equ 4aH 104 | MS_X_EXEC equ 4bH 105 | MS_X_EXIT equ 4cH 106 | MS_X_WAIT equ 4dH 107 | MS_X_FIRST equ 4eH 108 | MS_X_NEXT equ 4fH 109 | MS_P_SETPSP equ 50H 110 | MS_F_GETVERIFY equ 54H 111 | MS_X_RENAME equ 56H 112 | MS_X_DATETIME equ 57H 113 | MS_M_STRATEGY equ 58h 114 | MS_F_ERROR equ 59H 115 | MS_X_MKTEMP equ 5aH 116 | MS_X_MKNEW equ 5bH 117 | MS_F_LOCK equ 5cH 118 | MS_X_EXPAND equ 60H 119 | MS_P_GETPSP equ 62H 120 | MS_X_GETCP equ 6601h 121 | MS_X_SETCP equ 6602h 122 | MS_X_SETHC equ 67h 123 | MS_X_COMMIT equ 68h 124 | 125 | DOS_INT equ 21h ; DOS Entry Point 126 | ; 127 | STDIN equ 0 ; Standard Console Input Handle 128 | STDOUT equ 1 ; Standard Console Output Handle 129 | STDERR equ 2 ; Standard Error Output 130 | STDAUX equ 3 ; Auxilary Device Handle 131 | STDPRN equ 4 ; Printer Device Handle 132 | -------------------------------------------------------------------------------- /COMMAND/RESIDENT.ASM: -------------------------------------------------------------------------------- 1 | NUL equ 0 2 | BS equ 8 3 | TAB equ 9 4 | LF equ 10 5 | CR equ 13 6 | 7 | DGROUP group _DATA 8 | 9 | _DATA segment word public 'DATA' 10 | assume ds:DGROUP 11 | 12 | ; Source .TFT file: 'TMP1.$$$' 13 | public _msg0 14 | public msg0 15 | msg0 label byte 16 | _msg0 db "Write protect error$" 17 | public _msg3 18 | public msg3 19 | msg3 label byte 20 | _msg3 db "I/O error$" 21 | public _msg2 22 | public msg2 23 | msg2 label byte 24 | _msg2 db "Not ready error$" 25 | public _msg4 26 | public msg4 27 | msg4 label byte 28 | _msg4 db "Data error$" 29 | public _msg6 30 | public msg6 31 | msg6 label byte 32 | _msg6 db "Seek error$" 33 | public _msg7 34 | public msg7 35 | msg7 label byte 36 | _msg7 db "Bad media type$" 37 | public _msg8 38 | public msg8 39 | msg8 label byte 40 | _msg8 db "Sector not found$" 41 | public _msg21 42 | public msg21 43 | msg21 label byte 44 | _msg21 db "Printer out of paper$" 45 | public _msg20 46 | public msg20 47 | msg20 label byte 48 | _msg20 db "File Sharing Conflict$" 49 | public _msg22 50 | public msg22 51 | msg22 label byte 52 | _msg22 db "FCB table exhausted$" 53 | public _msg_crlf 54 | public msg_crlf 55 | msg_crlf label byte 56 | _msg_crlf db CR, LF, "$" 57 | public _readmsg 58 | public readmsg 59 | readmsg label byte 60 | _readmsg db " reading$" 61 | public _writemsg 62 | public writemsg 63 | writemsg label byte 64 | _writemsg db " writing$" 65 | public _drivemsg 66 | public drivemsg 67 | drivemsg label byte 68 | _drivemsg db " drive $" 69 | public _charmsg 70 | public charmsg 71 | charmsg label byte 72 | _charmsg db " device $" 73 | public _abort_char 74 | public abort_char 75 | abort_char label byte 76 | _abort_char db "A$" 77 | public _abort_msg 78 | public abort_msg 79 | abort_msg label byte 80 | _abort_msg db "Abort$" 81 | public _retry_char 82 | public retry_char 83 | retry_char label byte 84 | _retry_char db "R$" 85 | public _retry_msg 86 | public retry_msg 87 | retry_msg label byte 88 | _retry_msg db ", Retry$" 89 | public _ignore_char 90 | public ignore_char 91 | ignore_char label byte 92 | _ignore_char db "I$" 93 | public _ignore_msg 94 | public ignore_msg 95 | ignore_msg label byte 96 | _ignore_msg db ", Ignore$" 97 | public _fail_char 98 | public fail_char 99 | fail_char label byte 100 | _fail_char db "F$" 101 | public _fail_msg 102 | public fail_msg 103 | fail_msg label byte 104 | _fail_msg db ", Fail$" 105 | public _prompt_msg 106 | public prompt_msg 107 | prompt_msg label byte 108 | _prompt_msg db " ? $" 109 | public _reload_msgs 110 | public reload_msgs 111 | reload_msgs label byte 112 | _reload_msgs db CR, LF, "Cannot load the file ", 0 113 | public _reload_msgf 114 | public reload_msgf 115 | reload_msgf label byte 116 | _reload_msgf db CR, LF, "Insert correct disk and Strike any key", 0 117 | public _reload_msgm 118 | public reload_msgm 119 | reload_msgm label byte 120 | _reload_msgm db " No Memory", 0 121 | 122 | _DATA ends 123 | 124 | 125 | end 126 |  -------------------------------------------------------------------------------- /COMMAND/RESIDENT.DEF: -------------------------------------------------------------------------------- 1 | extrn _abort_char : byte 2 | extrn abort_char : byte 3 | extrn _abort_msg : byte 4 | extrn abort_msg : byte 5 | extrn _charmsg : byte 6 | extrn charmsg : byte 7 | extrn _drivemsg : byte 8 | extrn drivemsg : byte 9 | extrn _fail_char : byte 10 | extrn fail_char : byte 11 | extrn _fail_msg : byte 12 | extrn fail_msg : byte 13 | extrn _ignore_char : byte 14 | extrn ignore_char : byte 15 | extrn _ignore_msg : byte 16 | extrn ignore_msg : byte 17 | extrn _msg0 : byte 18 | extrn msg0 : byte 19 | extrn _msg2 : byte 20 | extrn msg2 : byte 21 | extrn _msg20 : byte 22 | extrn msg20 : byte 23 | extrn _msg21 : byte 24 | extrn msg21 : byte 25 | extrn _msg22 : byte 26 | extrn msg22 : byte 27 | extrn _msg3 : byte 28 | extrn msg3 : byte 29 | extrn _msg4 : byte 30 | extrn msg4 : byte 31 | extrn _msg6 : byte 32 | extrn msg6 : byte 33 | extrn _msg7 : byte 34 | extrn msg7 : byte 35 | extrn _msg8 : byte 36 | extrn msg8 : byte 37 | extrn _msg_crlf : byte 38 | extrn msg_crlf : byte 39 | extrn _prompt_msg : byte 40 | extrn prompt_msg : byte 41 | extrn _readmsg : byte 42 | extrn readmsg : byte 43 | extrn _reload_msgf : byte 44 | extrn reload_msgf : byte 45 | extrn _reload_msgm : byte 46 | extrn reload_msgm : byte 47 | extrn _reload_msgs : byte 48 | extrn reload_msgs : byte 49 | extrn _retry_char : byte 50 | extrn retry_char : byte 51 | extrn _retry_msg : byte 52 | extrn retry_msg : byte 53 | extrn _writemsg : byte 54 | extrn writemsg : byte 55 | -------------------------------------------------------------------------------- /COMMAND/RESIDENT.H: -------------------------------------------------------------------------------- 1 | extern char near abort_char[]; 2 | extern char near abort_msg[]; 3 | extern char near charmsg[]; 4 | extern char near drivemsg[]; 5 | extern char near fail_char[]; 6 | extern char near fail_msg[]; 7 | extern char near ignore_char[]; 8 | extern char near ignore_msg[]; 9 | extern char near msg0[]; 10 | extern char near msg2[]; 11 | extern char near msg20[]; 12 | extern char near msg21[]; 13 | extern char near msg22[]; 14 | extern char near msg3[]; 15 | extern char near msg4[]; 16 | extern char near msg6[]; 17 | extern char near msg7[]; 18 | extern char near msg8[]; 19 | extern char near msg_crlf[]; 20 | extern char near prompt_msg[]; 21 | extern char near readmsg[]; 22 | extern char near reload_msgf[]; 23 | extern char near reload_msgm[]; 24 | extern char near reload_msgs[]; 25 | extern char near retry_char[]; 26 | extern char near retry_msg[]; 27 | extern char near writemsg[]; 28 | -------------------------------------------------------------------------------- /COMMAND/RESP1: -------------------------------------------------------------------------------- 1 | -w -d -f- -K -O -X -Z -c -ms -IC:\TOOLS\BCC20\H -DMESSAGE -DDOSPLUS -zSCGROUP -zTCODE -zR_MSG 2 | -I.\ 3 | -o.\bin\cmdlist.obj .\cmdlist.c 4 | -------------------------------------------------------------------------------- /COMMAND/RESP2: -------------------------------------------------------------------------------- 1 | .\bin\cstart.obj .\bin\com.obj .\bin\csup.obj + 2 | .\bin\dosif.obj .\bin\comint.obj .\bin\support.obj+ 3 | .\bin\cmdlist.obj .\bin\printf.obj+ 4 | .\bin\message.obj + 5 | .\bin\batch.obj .\bin\global.obj .\bin\config.obj+ 6 | .\bin\comcpy.obj .\bin\crit.obj + 7 | + 8 | .\bin\resident.obj 9 | .\bin\command.exe 10 | .\command.map 11 | C:\TOOLS\WATCOMC\LIB\CLIBs 12 | -------------------------------------------------------------------------------- /COMMAND/RESP3: -------------------------------------------------------------------------------- 1 | .\bin\helpstub.obj+ 2 | .\bin\txhelp.obj 3 | .\bin\txhelp.exe 4 | -------------------------------------------------------------------------------- /COMMAND/STRUCT.H: -------------------------------------------------------------------------------- 1 | /* 2 | ; File : $Workfile$ 3 | ; 4 | ; Description : 5 | ; 6 | ; Original Author : DIGITAL RESEARCH 7 | ; 8 | ; Last Edited By : $CALDERA$ 9 | ; 10 | ;-----------------------------------------------------------------------; 11 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 12 | ; 13 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 14 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 15 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 16 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 17 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 18 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 19 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 20 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 21 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 22 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 23 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 24 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 25 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 26 | ; CIVIL LIABILITY. 27 | ;-----------------------------------------------------------------------; 28 | ; 29 | ; *** Current Edit History *** 30 | ; *** End of Current Edit History *** 31 | ; 32 | ; $Log$ 33 | ; 34 | ; ENDLOG 35 | */ 36 | 37 | /* FCB defines */ 38 | 39 | #define FCB_NAME 1 40 | #define FCB_SIZE 32 41 | #define FCB_NAME_SIZE 11 42 | #define FCB_EXTENT 12 43 | #define FCB_CS 13 44 | #define FCB_RC 15 45 | #define FCB_ALUS 16 46 | 47 | 48 | struct xios_iopb { 49 | UBYTE drv; 50 | UBYTE mcnt; 51 | UWORD track; 52 | UWORD sector; 53 | UBYTE FAR *dma_buffer; 54 | }; 55 | 56 | struct xios_dpb { 57 | UWORD spt; /* defined as per system guide */ 58 | UBYTE bsh; /* This Structure forces the use of */ 59 | UBYTE blm; /* the '/Zp' option on the compiler */ 60 | UBYTE exm; /* for Packed structures. */ 61 | UWORD dsm; 62 | UWORD drm; 63 | UBYTE al0; 64 | UBYTE al1; 65 | UWORD cks; 66 | UWORD off; 67 | UBYTE psh; 68 | UBYTE prm; 69 | }; 70 | 71 | struct segoff { 72 | UWORD off; 73 | UWORD seg; 74 | }; 75 | 76 | struct f_data { 77 | UBYTE srch_attrib; /* size 1 */ 78 | UBYTE cur_drive; /* size 1 */ 79 | UBYTE media; /* size 1 */ 80 | UBYTE pattern[FCB_NAME_SIZE]; /* size 11 */ 81 | UWORD cur_alu; /* size 2 */ 82 | UWORD cur_index; /* size 2 */ 83 | UBYTE filler[3]; /* size 3 */ 84 | UBYTE fnd_attrib; /* size 1 */ 85 | UWORD time; /* size 2 */ 86 | UWORD date; /* size 2 */ 87 | LONG file_size; /* size 4 */ 88 | UBYTE file_name[63]; /* size ? */ 89 | }; 90 | -------------------------------------------------------------------------------- /COMMAND/SUPPORT.H: -------------------------------------------------------------------------------- 1 | /* 2 | ; File : $Workfile$ 3 | ; 4 | ; Description : 5 | ; 6 | ; Original Author : DIGITAL RESEARCH 7 | ; 8 | ; Last Edited By : $CALDERA$ 9 | ; 10 | ;-----------------------------------------------------------------------; 11 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 12 | ; 13 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 14 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 15 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 16 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 17 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 18 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 19 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 20 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 21 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 22 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 23 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 24 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 25 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 26 | ; CIVIL LIABILITY. 27 | ;-----------------------------------------------------------------------; 28 | ; 29 | ; *** Current Edit History *** 30 | ; *** End of Current Edit History *** 31 | ; 32 | ; $Log$ 33 | ; 34 | ; ENDLOG 35 | */ 36 | 37 | EXTERN VOID disp_filetime(UWORD); 38 | EXTERN VOID disp_filedate(UWORD); 39 | EXTERN VOID disp_systime(VOID); 40 | EXTERN VOID disp_sysdate(VOID); 41 | EXTERN VOID revon(VOID); 42 | EXTERN VOID revoff(VOID); 43 | EXTERN VOID CDECL cmd_cls(VOID); 44 | EXTERN BYTE tolower(BYTE); 45 | EXTERN BOOLEAN isdigit(BYTE); 46 | EXTERN BYTE * skip_char (BYTE *); 47 | EXTERN BYTE * copy_char (BYTE **, BYTE **); 48 | EXTERN WORD is_blank (BYTE *); 49 | EXTERN BYTE * deblank (BYTE *); 50 | EXTERN BOOLEAN iswild (BYTE *); 51 | EXTERN VOID zap_spaces(BYTE *); 52 | EXTERN VOID strip_path(BYTE *, BYTE *); 53 | EXTERN BOOLEAN getdigit(WORD *, BYTE **); 54 | EXTERN BOOLEAN check_num(BYTE *, UWORD, UWORD, UWORD *); 55 | EXTERN BOOLEAN is_filechar(BYTE *); 56 | EXTERN BOOLEAN is_pathchar(BYTE *); 57 | EXTERN BYTE * get_filename(BYTE *, BYTE *, BOOLEAN); 58 | EXTERN BYTE * fptr(BYTE *); 59 | EXTERN VOID repwild(BYTE *, BYTE *); 60 | EXTERN BOOLEAN yes(BOOLEAN ,BOOLEAN); 61 | EXTERN WORD onoff(BYTE *); 62 | EXTERN VOID syntax (VOID); 63 | EXTERN VOID crlf (VOID); 64 | EXTERN VOID putc (BYTE); 65 | EXTERN VOID puts(BYTE *); 66 | EXTERN BOOLEAN isdigit(BYTE); 67 | 68 | EXTERN BYTE * strlwr(BYTE *); 69 | EXTERN BYTE * strupr(BYTE *); 70 | EXTERN WORD strnicmp(const BYTE *, const BYTE *, UWORD); 71 | 72 | EXTERN WORD e_check(WORD); 73 | EXTERN BYTE * d_check(BYTE *); 74 | EXTERN BOOLEAN f_check(BYTE *, BYTE *, UWORD *, BOOLEAN); 75 | EXTERN BOOLEAN nofiles(BYTE *, WORD, BOOLEAN, BOOLEAN); 76 | EXTERN BOOLEAN file_exist(BYTE *); 77 | EXTERN BOOLEAN isdev(UWORD); 78 | 79 | EXTERN VOID CDECL printf(BYTE *, ...); 80 | EXTERN VOID CDECL eprintf(BYTE *, ...); 81 | EXTERN VOID CDECL sprintf(BYTE *, BYTE *, ...); 82 | 83 | EXTERN UWORD CDECL findeof(BYTE FAR *, UWORD); 84 | 85 | EXTERN VOID append_slash(BYTE *); 86 | EXTERN VOID prompt_exec(VOID); 87 | EXTERN VOID optional_line(BYTE *); 88 | EXTERN BYTE *day_names(UWORD); 89 | -------------------------------------------------------------------------------- /COMMAND/TXHELP.DEF: -------------------------------------------------------------------------------- 1 | ifndef _DLS_INCLS_ 2 | ; DLS parameters passed to _dls_get_table function. 3 | DLS_NO equ 0 4 | DLS_YES equ 1 5 | 6 | endif ; !_DLS_INCLS_ 7 | 8 | ; DLS system functions. 9 | extrn _dls_init : near 10 | extrn _dls_get_table : near 11 | extrn _dls_language : near 12 | 13 | ; DLS system variables. 14 | extrn _dls_table : word 15 | 16 | 17 | ; Component messages equated to entries in _dls_table. 18 | help_aaa equ 0 19 | help_and equ 2 20 | help_break equ 4 21 | help_call equ 6 22 | help_chcp equ 8 23 | help_chdir equ 10 24 | help_cls equ 12 25 | help_copy equ 14 26 | help_ctty equ 16 27 | help_date equ 18 28 | help_del equ 20 29 | help_delq equ 22 30 | help_dir equ 24 31 | help_echo equ 26 32 | help_eraq equ 28 33 | help_erase equ 30 34 | help_exit equ 32 35 | help_for equ 34 36 | help_gosubreturn equ 36 37 | help_goto equ 38 38 | help_hiload equ 40 39 | help_idle equ 42 40 | help_if equ 44 41 | help_mkdir equ 46 42 | help_or equ 48 43 | help_path equ 50 44 | help_pause equ 52 45 | help_prompt equ 54 46 | help_rem equ 56 47 | help_rename equ 58 48 | help_rmdir equ 60 49 | help_set equ 62 50 | help_shift equ 64 51 | help_switch equ 66 52 | help_time equ 68 53 | help_truename equ 70 54 | help_type equ 72 55 | help_ver equ 74 56 | help_verify equ 76 57 | help_vol equ 78 58 | -------------------------------------------------------------------------------- /COMMAND/TXHELP.H: -------------------------------------------------------------------------------- 1 | #ifndef _DLS_INCLS_ 2 | 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | /* DLS system functions. */ 7 | extern void near cdecl dls_init(void); 8 | extern void near * near cdecl dls_get_table(unsigned); 9 | extern unsigned near cdecl dls_language(void); 10 | #ifdef __cplusplus 11 | }; 12 | #endif 13 | 14 | /* DLS parameters passed to dls_get_table() function. */ 15 | #define DLS_NO 0 16 | #define DLS_YES 1 17 | 18 | #define _DLS_INCLS_ 19 | #endif /* !_DLS_INCLS_ */ 20 | 21 | /* DLS system variables. */ 22 | extern void near * near * near cdecl dls_table; 23 | 24 | 25 | /* DLS static initialisation macros. */ 26 | #define DLS_number(n) (*(unsigned int near *)dls_table[n]) 27 | #define DLS_char(n) (*(char near *)dls_table[n]) 28 | #define DLS_string(n) ((char near *)dls_table[n]) 29 | #define DLS_array(n) ((char near * near *)dls_table[n]) 30 | 31 | /* Component messages equated to table entries. */ 32 | #define DLS_help_aaa 0 33 | #define help_aaa ((char near *)dls_table[0]) 34 | #define DLS_help_and 1 35 | #define help_and ((char near *)dls_table[1]) 36 | #define DLS_help_break 2 37 | #define help_break ((char near *)dls_table[2]) 38 | #define DLS_help_call 3 39 | #define help_call ((char near *)dls_table[3]) 40 | #define DLS_help_chcp 4 41 | #define help_chcp ((char near *)dls_table[4]) 42 | #define DLS_help_chdir 5 43 | #define help_chdir ((char near *)dls_table[5]) 44 | #define DLS_help_cls 6 45 | #define help_cls ((char near *)dls_table[6]) 46 | #define DLS_help_copy 7 47 | #define help_copy ((char near *)dls_table[7]) 48 | #define DLS_help_ctty 8 49 | #define help_ctty ((char near *)dls_table[8]) 50 | #define DLS_help_date 9 51 | #define help_date ((char near *)dls_table[9]) 52 | #define DLS_help_del 10 53 | #define help_del ((char near *)dls_table[10]) 54 | #define DLS_help_delq 11 55 | #define help_delq ((char near *)dls_table[11]) 56 | #define DLS_help_dir 12 57 | #define help_dir ((char near *)dls_table[12]) 58 | #define DLS_help_echo 13 59 | #define help_echo ((char near *)dls_table[13]) 60 | #define DLS_help_eraq 14 61 | #define help_eraq ((char near *)dls_table[14]) 62 | #define DLS_help_erase 15 63 | #define help_erase ((char near *)dls_table[15]) 64 | #define DLS_help_exit 16 65 | #define help_exit ((char near *)dls_table[16]) 66 | #define DLS_help_for 17 67 | #define help_for ((char near *)dls_table[17]) 68 | #define DLS_help_gosubreturn 18 69 | #define help_gosubreturn ((char near *)dls_table[18]) 70 | #define DLS_help_goto 19 71 | #define help_goto ((char near *)dls_table[19]) 72 | #define DLS_help_hiload 20 73 | #define help_hiload ((char near *)dls_table[20]) 74 | #define DLS_help_idle 21 75 | #define help_idle ((char near *)dls_table[21]) 76 | #define DLS_help_if 22 77 | #define help_if ((char near *)dls_table[22]) 78 | #define DLS_help_mkdir 23 79 | #define help_mkdir ((char near *)dls_table[23]) 80 | #define DLS_help_or 24 81 | #define help_or ((char near *)dls_table[24]) 82 | #define DLS_help_path 25 83 | #define help_path ((char near *)dls_table[25]) 84 | #define DLS_help_pause 26 85 | #define help_pause ((char near *)dls_table[26]) 86 | #define DLS_help_prompt 27 87 | #define help_prompt ((char near *)dls_table[27]) 88 | #define DLS_help_rem 28 89 | #define help_rem ((char near *)dls_table[28]) 90 | #define DLS_help_rename 29 91 | #define help_rename ((char near *)dls_table[29]) 92 | #define DLS_help_rmdir 30 93 | #define help_rmdir ((char near *)dls_table[30]) 94 | #define DLS_help_set 31 95 | #define help_set ((char near *)dls_table[31]) 96 | #define DLS_help_shift 32 97 | #define help_shift ((char near *)dls_table[32]) 98 | #define DLS_help_switch 33 99 | #define help_switch ((char near *)dls_table[33]) 100 | #define DLS_help_time 34 101 | #define help_time ((char near *)dls_table[34]) 102 | #define DLS_help_truename 35 103 | #define help_truename ((char near *)dls_table[35]) 104 | #define DLS_help_type 36 105 | #define help_type ((char near *)dls_table[36]) 106 | #define DLS_help_ver 37 107 | #define help_ver ((char near *)dls_table[37]) 108 | #define DLS_help_verify 38 109 | #define help_verify ((char near *)dls_table[38]) 110 | #define DLS_help_vol 39 111 | #define help_vol ((char near *)dls_table[39]) 112 | -------------------------------------------------------------------------------- /DOCS/BUGS101.TXT: -------------------------------------------------------------------------------- 1 | There is currently one known bug in the DR-DOS kernel which apparently plagues 2 | all versions from 7.01 to 7.03. This bug prevents DR-DOS from booting if there 3 | are very large FAT32 partitions on any hard disks in the system; it will simply 4 | hang. I do not know what causes this problem, but I will probably fix it in one 5 | of the next patches. Until then, as a work-around, use DR-DOS 7.03 and set the 6 | type of any extended partitions that point to these FAT32 partitions to 0fh. 7 | Since DR-DOS 7.03 does not recognize this type at boot time, it will simply not 8 | register these partitions. This will not affect the DRFAT32 driver, so you can 9 | still work with your FAT32 partitions normally. 10 | -------------------------------------------------------------------------------- /DOCS/BUGS102.TXT: -------------------------------------------------------------------------------- 1 | There is currently one known bug in the DR-DOS kernel which apparently plagues 2 | all versions from 7.01 to 7.03. This bug prevents DR-DOS from booting if there 3 | are very large FAT32 partitions on any hard disks in the system; it will simply 4 | hang. I do not know what causes this problem, but I will probably fix it in one 5 | of the next patches. Until then, as a work-around, use DR-DOS 7.03 and set the 6 | type of any extended partitions that point to these FAT32 partitions to 0fh. 7 | Since DR-DOS 7.03 does not recognize this type at boot time, it will simply not 8 | register these partitions. This will not affect the DRFAT32 driver, so you can 9 | still work with your FAT32 partitions normally. 10 | -------------------------------------------------------------------------------- /DOCS/BUGS103.TXT: -------------------------------------------------------------------------------- 1 | There is currently one known bug in the DR-DOS kernel which apparently plagues 2 | all versions from 7.01 to 7.03. This bug prevents DR-DOS from booting if there 3 | are very large FAT32 partitions on any hard disks in the system; it will simply 4 | hang. I do not know what causes this problem, but I will probably fix it in one 5 | of the next patches. Until then, as a work-around, use DR-DOS 7.03 and set the 6 | type of any extended partitions that point to these FAT32 partitions to 0fh. 7 | Since DR-DOS 7.03 does not recognize this type at boot time, it will simply not 8 | register these partitions. This will not affect the DRFAT32 driver, so you can 9 | still work with your FAT32 partitions normally. 10 | 11 | Update: This bug seems to be caused by loops in the partition tables, i.e. 12 | extended partition records pointing to the same or a lower cylinder number. 13 | I have included a work-around in v7.01.03 which should fix this. This should 14 | also solve the problem of FAT16 partitions beyond the 7.8 GB barrier being 15 | registered without LBA support. 16 | -------------------------------------------------------------------------------- /DOCS/BUGS104.TXT: -------------------------------------------------------------------------------- 1 | There is currently one known bug in the DR-DOS kernel which apparently plagues 2 | all versions from 7.01 to 7.03. This bug prevents DR-DOS from booting if there 3 | are very large FAT32 partitions on any hard disks in the system; it will simply 4 | hang. I do not know what causes this problem, but I will probably fix it in one 5 | of the next patches. Until then, as a work-around, use DR-DOS 7.03 and set the 6 | type of any extended partitions that point to these FAT32 partitions to 0fh. 7 | Since DR-DOS 7.03 does not recognize this type at boot time, it will simply not 8 | register these partitions. This will not affect the DRFAT32 driver, so you can 9 | still work with your FAT32 partitions normally. 10 | 11 | Update: This bug seems to be caused by loops in the partition tables, i.e. 12 | extended partition records pointing to the same or a lower cylinder number. 13 | I have included a work-around in v7.01.03 which should fix this. This should 14 | also solve the problem of FAT16 partitions beyond the 7.8 GB barrier being 15 | registered without LBA support. 16 | 17 | Warning: Beginning with version 7.01.04, DR-DOS is able to use the LBA BIOS 18 | functions to access hard disk partitions outside the 7.8 GB limit defined by 19 | the old CHS (cylinder, head & sector) system. This is no problem for any disk 20 | tools that use DOS functions to access these partitions, however, there are 21 | many old tools that are not LBA-compliant which use low-level BIOS calls to 22 | access hard disks. When used on partitions that are not within the space 23 | accessible via CHS these tools could possibly write data to the wrong sectors 24 | on the hard disk and thus cause severe damage. This is not a bug in DR-DOS, but 25 | a limitation of these tools. Some of the disk tools that are included in the 26 | distributions of DR-DOS 7.0x like fdisk, format, diskopt, etc. may also fall 27 | into this category. Until they have been tested on LBA partitions and it has 28 | been found that they are safe to use, do not use them without making a backup 29 | of your hard disk first. 30 | -------------------------------------------------------------------------------- /DOCS/BUGS105.TXT: -------------------------------------------------------------------------------- 1 | There is currently one known bug in the DR-DOS kernel which apparently plagues 2 | all versions from 7.01 to 7.03. This bug prevents DR-DOS from booting if there 3 | are very large FAT32 partitions on any hard disks in the system; it will simply 4 | hang. I do not know what causes this problem, but I will probably fix it in one 5 | of the next patches. Until then, as a work-around, use DR-DOS 7.03 and set the 6 | type of any extended partitions that point to these FAT32 partitions to 0fh. 7 | Since DR-DOS 7.03 does not recognize this type at boot time, it will simply not 8 | register these partitions. This will not affect the DRFAT32 driver, so you can 9 | still work with your FAT32 partitions normally. 10 | 11 | Update: This bug seems to be caused by loops in the partition tables, i.e. 12 | extended partition records pointing to the same or a lower cylinder number. 13 | I have included a work-around in v7.01.03 which should fix this. This should 14 | also solve the problem of FAT16 partitions beyond the 7.8 GB barrier being 15 | registered without LBA support. 16 | 17 | Warning: Beginning with version 7.01.04, DR-DOS is able to use the LBA BIOS 18 | functions to access hard disk partitions outside the 7.8 GB limit defined by 19 | the old CHS (cylinder, head & sector) system. This is no problem for any disk 20 | tools that use DOS functions to access these partitions, however, there are 21 | many old tools that are not LBA-compliant which use low-level BIOS calls to 22 | access hard disks. When used on partitions that are not within the space 23 | accessible via CHS these tools could possibly write data to the wrong sectors 24 | on the hard disk and thus cause severe damage. This is not a bug in DR-DOS, but 25 | a limitation of these tools. Some of the disk tools that are included in the 26 | distributions of DR-DOS 7.0x like fdisk, format, diskopt, etc. may also fall 27 | into this category. Until they have been tested on LBA partitions and it has 28 | been found that they are safe to use, do not use them without making a backup 29 | of your hard disk first. 30 | 31 | Warning: Beginning with version 7.01.05, DR-DOS supports FAT16 partitions with 32 | a cluster size of 64 KB. This feature has been tested and found to be working. 33 | However, until someone has done extensive tests and it has been found that it 34 | is generally safe to use, use precautions before using it on partitions that 35 | contain valuable data. Also, please note that many disk tools do not expect to 36 | see this feature on a DOS based machine, so they most likely do not support it. 37 | Windows NT and FreeDOS support it, so tools written for these operating systems 38 | should be safe to use. 39 | -------------------------------------------------------------------------------- /DOCS/BUGS106.TXT: -------------------------------------------------------------------------------- 1 | Warning: Beginning with version 7.01.04, DR-DOS is able to use the LBA BIOS 2 | functions to access hard disk partitions outside the 7.8 GB limit defined by 3 | the old CHS (cylinder, head & sector) system. This is no problem for any disk 4 | tools that use DOS functions to access these partitions, however, there are 5 | many old tools that are not LBA-compliant which use low-level BIOS calls to 6 | access hard disks. When used on partitions that are not within the space 7 | accessible via CHS these tools could possibly write data to the wrong sectors 8 | on the hard disk and thus cause severe damage. This is not a bug in DR-DOS, but 9 | a limitation of these tools. Some of the disk tools that are included in the 10 | distributions of DR-DOS 7.0x like fdisk, format, diskopt, etc. may also fall 11 | into this category. Until they have been tested on LBA partitions and it has 12 | been found that they are safe to use, do not use them without making a backup 13 | of your hard disk first. 14 | 15 | Warning: Beginning with version 7.01.05, DR-DOS supports FAT16 partitions with 16 | a cluster size of 64 KB. This feature has been tested and found to be working. 17 | However, until someone has done extensive tests and it has been found that it 18 | is generally safe to use, use precautions before using it on partitions that 19 | contain valuable data. Also, please note that many disk tools do not expect to 20 | see this feature on a DOS based machine, so they most likely do not support it. 21 | Windows NT and FreeDOS support it, so tools written for these operating systems 22 | should be safe to use. 23 | 24 | Update: Chkdsk seems to work with both LBA partitions and 64K clusters. 25 | 26 | In version 7.01.06 I have introduced support for the FAT32 file system to 27 | DR-DOS. This is quite an advancement and was requested by many users, but has 28 | also led to a number of problems. Some of these will probably be fixed in one 29 | of the next patches, but to others there is currently no simple solution. 30 | - DR-DOS reports the free space on a partition in clusters; this value is per 31 | definition a 16-bit number, so this does not work on FAT32 partitions. I have 32 | tried to compensate this problem by making this function use dynamic cluster 33 | sizes to report the free space as accurately as possible, however, on FAT32 34 | partitions this value is not always exact. Also, there is no way to report 35 | more than 4 GB of free disk space with this function without seriously 36 | compromising the compatibility with existing software. 37 | - The disk utilities Delwatch and Superstor/Stacker do not support 32-bit 38 | cluster numbers and thus will not work on FAT32 partitions, and there is a 39 | good chance that support for them is broken on FAT12/16 as well. I would 40 | generally advise against using them until someone has tested them and it has 41 | been found that they are safe to use with this patch. 42 | - Several disk tools that were written for MS-DOS 7 currently do not work on 43 | FAT32 partitions in DR-DOS because they either require the MS-DOS 7 FAT32 API 44 | to work correctly or they simply disable FAT32 support if they do not detect 45 | MS-DOS 7. A fix will require writing new system calls, so it will take some 46 | time. 47 | - The DR-DOS BDOS loader currently does not support booting from FAT32 drives; 48 | I will probably fix this in one of the next patches. 49 | -------------------------------------------------------------------------------- /DOCS/BUGS107.TXT: -------------------------------------------------------------------------------- 1 | There are currently no serious bugs known to be in Enhanced DR-DOS, but you 2 | might encounter problems with software that is not adapted to some of its 3 | features. In particular, you should read the following warnings before using 4 | any disk tools: 5 | 6 | Warning: Beginning with version 7.01.04, DR-DOS is able to use the LBA BIOS 7 | functions to access hard disk partitions outside the 7.8 GB limit defined by 8 | the old CHS (cylinder, head & sector) system. This is no problem for any disk 9 | tools that use DOS functions to access these partitions, however, there are 10 | many old tools that are not LBA-compliant which use low-level BIOS calls to 11 | access hard disks. When used on partitions that are not within the space 12 | accessible via CHS these tools could possibly write data to the wrong sectors 13 | on the hard disk and thus cause severe damage. This is not a bug in DR-DOS, but 14 | a limitation of these tools. Some of the disk tools that are included in the 15 | distributions of DR-DOS 7.0x like fdisk, format, diskopt, etc. may also fall 16 | into this category. Until they have been tested on LBA partitions and it has 17 | been found that they are safe to use, do not use them without making a backup 18 | of your hard disk first. 19 | 20 | Warning: Beginning with version 7.01.05, DR-DOS supports FAT16 partitions with 21 | a cluster size of 64 KB. This feature has been tested and found to be working. 22 | However, until someone has done extensive tests and it has been found that it 23 | is generally safe to use, use precautions before using it on partitions that 24 | contain valuable data. Also, please note that many disk tools do not expect to 25 | see this feature on a DOS based machine, so they most likely do not support it. 26 | Windows NT and FreeDOS support it, so tools written for these operating systems 27 | should be safe to use. 28 | 29 | Update: Chkdsk seems to work with both LBA partitions and 64K clusters. 30 | 31 | Warning: In version 7.01.06 I have introduced support for the FAT32 file system 32 | to DR-DOS. However, many disk tools (including those of DR-DOS 7.0x) do not 33 | support FAT32, at least not in DOS. You should not use any disk tools on FAT32 34 | drives unless you know that they are compatible with FAT32 and large drives. 35 | Tools written for FreeDOS or MS-DOS 7 and higher should be safe to use. 36 | 37 | Enhanced DR-DOS v7.01.07 again adds new features that might prove incompatible 38 | with older software: 39 | - It now supports drives with 128K cluster size. This is mostly untested, since 40 | there are no DOS tools that support this cluster size. Existing tools 41 | probably cannot handle this size. 42 | - Several config.sys commands that DR-DOS 7.03 uses to move data structures to 43 | upper memory are now supported, some of which have been enhanced to provide 44 | additional benefits. Older software might expect to see these structures in 45 | lower mem, so you might have to turn those options off to run it. 46 | Also, because of enhancements of the internal memory handling, some older TSR 47 | programs might not work properly if you load them with INSTALL/HIINSTALL in 48 | config.sys. If that is the case, use INSTALLLAST/HIINSTALLLAST instead. 49 | -------------------------------------------------------------------------------- /DOCS/DR70103.DIF: -------------------------------------------------------------------------------- 1 | diff -u -P -r dr70102/ibmbio/biosmsgs.asm dr70103/ibmbio/biosmsgs.asm 2 | --- dr70102/ibmbio/biosmsgs.asm 2002-07-16 12:46:00.000000000 +0000 3 | +++ dr70103/ibmbio/biosmsgs.asm 2003-01-13 10:26:56.000000000 +0000 4 | @@ -27,7 +27,7 @@ 5 | public _starting_dos_msg 6 | public starting_dos_msg 7 | starting_dos_msg label byte 8 | -_starting_dos_msg db CR, LF, "Starting Caldera OpenDOS 7.01.02", CR, LF, NUL 9 | +_starting_dos_msg db CR, LF, "Starting Caldera OpenDOS 7.01.03", CR, LF, NUL 10 | public _lba_supp_msg 11 | public lba_supp_msg 12 | lba_supp_msg label byte 13 | diff -u -P -r dr70102/ibmbio/disk.asm dr70103/ibmbio/disk.asm 14 | --- dr70102/ibmbio/disk.asm 2002-07-16 12:43:56.000000000 +0000 15 | +++ dr70103/ibmbio/disk.asm 2003-01-17 14:15:16.000000000 +0000 16 | @@ -173,6 +173,7 @@ 17 | extrn req_off:word 18 | extrn req_seg:word 19 | extrn output_msg:near 20 | + extrn output_hex:near 21 | 22 | 23 | udsc_root label dword 24 | @@ -2190,6 +2191,8 @@ 25 | ver_21 db "2.1/EDD-1.1",CR,LF,NUL 26 | ver_30 db "EDD-3.0",CR,LF,NUL 27 | 28 | +lastpart dw 0 ; last checked partition 29 | + 30 | hard_init: ; setup all hard disk units 31 | ;--------- 32 | ; mov log_flag,LOG_PRIM ; log in primary only initially 33 | @@ -2210,6 +2213,7 @@ 34 | xchg ax,cx ; CX = # of hard disks 35 | mov dl,80h ; start with first hard disk 36 | hardi1: 37 | + mov lastpart,0 38 | pushx ; save drive count, physical drive 39 | mov ah,ROS_LBACHK ; int 13 extensions available? 40 | mov bx,55aah 41 | @@ -2358,9 +2362,18 @@ 42 | log_h6b: 43 | mov dh,1[si] ; get head # for next table 44 | mov cx,2[si] ; get cylinder, sector for next table 45 | + xchg ch,cl ; compute 10-bit cylinder number 46 | + rol ch,1 47 | + rol ch,1 48 | + and cx,3ffh 49 | + cmp cx,lastpart ; check for loops/partition out of bounds 50 | + jng log_h7 51 | + mov lastpart,cx ; store cylinder number for comparison 52 | + mov cx,2[si] 53 | jmp log_h1 ; read & scan next partition table 54 | 55 | log_h7: ; entry not an extended partition 56 | + mov cx,2[si] 57 | add si,16 ; next partition table entry 58 | cmp si,CG:local_buffer+IDOFF; all partitions checked? 59 | jb log_h6 ; loop back if more 60 | diff -u -P -r dr70102/ibmbio/init.asm dr70103/ibmbio/init.asm 61 | --- dr70102/ibmbio/init.asm 2002-07-16 00:08:00.000000000 +0000 62 | +++ dr70103/ibmbio/init.asm 2003-01-09 01:16:56.000000000 +0000 63 | @@ -48,6 +48,7 @@ 64 | include BPB.EQU 65 | include UDSC.EQU 66 | include DRIVER.EQU 67 | + include KEYS.EQU ; common key definitions 68 | 69 | ; IBM AT Hardware equates 70 | 71 | @@ -865,6 +866,43 @@ 72 | jnz output_msg10 73 | ret 74 | 75 | + public output_hex 76 | +output_hex: 77 | +;---------------- 78 | +; On Entry: 79 | +; dx = 2 byte hex value 80 | +; On Exit: 81 | +; None 82 | +; Used Regs: 83 | +; ax,bx,cx,dx,si 84 | + mov cx,4 85 | + mov ah,0eh 86 | + mov bx,7 87 | +output_hex10: 88 | + mov al,dh 89 | + push cx 90 | + mov cl,4 91 | + shr al,cl 92 | + pop cx 93 | + and al,0fh 94 | + cmp al,09h ; greater 0-9? 95 | + jg output_hex20 96 | + add al,30h 97 | + jmp output_hex30 98 | +output_hex20: 99 | + add al,37h 100 | +output_hex30: 101 | + int VIDEO_INT 102 | + push cx 103 | + mov cl,4 104 | + shl dx,cl 105 | + pop cx 106 | + loop output_hex10 107 | + mov si,CG:output_hex40 108 | + call output_msg 109 | + ret 110 | +output_hex40 db CR,LF,NUL ; end of string 111 | + 112 | get_boot_options: 113 | ;---------------- 114 | ; On Entry: 115 | -------------------------------------------------------------------------------- /DOCS/HIST101.TXT: -------------------------------------------------------------------------------- 1 | 7.01.02: 2 | - changed some text strings to reflect the new version number 3 | - slightly changed the structure of the start-up message routine 4 | - added support for ExtendedX (type 0fh) partitions 5 | - added a routine that checks for and displays the version number of extended 6 | int 13 (LBA) support 7 | - some preliminary changes for LBA support 8 | 9 | 7.01.01 (original release): 10 | - fixed the compilation to work with MASM 6.0b and Watcom C/C++ 10.0a 11 | - no user-visible changes 12 | -------------------------------------------------------------------------------- /DOCS/HIST102.TXT: -------------------------------------------------------------------------------- 1 | 7.01.02: 2 | - changed some text strings to reflect the new version number 3 | - slightly changed the structure of the start-up message routine 4 | - added support for ExtendedX (type 0fh) partitions 5 | - added a routine that checks for and displays the version number of extended 6 | int 13 (LBA) support 7 | - some preliminary changes for LBA support 8 | 9 | 7.01.01 (original release): 10 | - fixed the compilation to work with MASM 6.0b and Watcom C/C++ 10.0a 11 | - no user-visible changes 12 | -------------------------------------------------------------------------------- /DOCS/HIST103.TXT: -------------------------------------------------------------------------------- 1 | 7.01.03: 2 | - added a hex value output routine for debugging purposes 3 | - changed the behavior of the partition registering routine to not follow loops 4 | in the partition tables 5 | 6 | 7.01.02: 7 | - changed some text strings to reflect the new version number 8 | - slightly changed the structure of the start-up message routine 9 | - added support for ExtendedX (type 0fh) partitions 10 | - added a routine that checks for and displays the version number of extended 11 | int 13 (LBA) support 12 | - some preliminary changes for LBA support 13 | 14 | 7.01.01 (original release): 15 | - fixed the compilation to work with MASM 6.0b and Watcom C/C++ 10.0a 16 | - no user-visible changes 17 | -------------------------------------------------------------------------------- /DOCS/HIST104.TXT: -------------------------------------------------------------------------------- 1 | 7.01.04: 2 | - added routines to convert LBA values to CHS and vice versa 3 | - rewrote the partition registering routine to use the LBA values in the 4 | partition tables instead of the obsolete CHS values, disabled old code 5 | - added int 13 extensions (LBA) support to the partition login and track r/w 6 | routines 7 | - added support for partition type 0eh (FAT16B LBA) 8 | 9 | 7.01.03: 10 | - added a hex value output routine for debugging purposes 11 | - changed the behavior of the partition registering routine to not follow loops 12 | in the partition tables 13 | 14 | 7.01.02: 15 | - changed some text strings to reflect the new version number 16 | - slightly changed the structure of the start-up message routine 17 | - added support for ExtendedX (type 0fh) partitions 18 | - added a routine that checks for and displays the version number of extended 19 | int 13 (LBA) support 20 | - some preliminary changes for LBA support 21 | 22 | 7.01.01 (original release): 23 | - fixed the compilation to work with MASM 6.0b and Watcom C/C++ 10.0a 24 | - no user-visible changes 25 | -------------------------------------------------------------------------------- /DOCS/HIST105.TXT: -------------------------------------------------------------------------------- 1 | 7.01.05: 2 | - some preliminary changes for 32-bit file system support 3 | - added support for 4 GB FAT16 partitions (64 KB cluster size) 4 | 5 | 7.01.04: 6 | - added routines to convert LBA values to CHS and vice versa 7 | - rewrote the partition registering routine to use the LBA values in the 8 | partition tables instead of the obsolete CHS values, disabled old code 9 | - added int 13 extensions (LBA) support to the partition login and track r/w 10 | routines 11 | - added support for partition type 0eh (FAT16B LBA) 12 | 13 | 7.01.03: 14 | - added a hex value output routine for debugging purposes 15 | - changed the behavior of the partition registering routine to not follow loops 16 | in the partition tables 17 | 18 | 7.01.02: 19 | - changed some text strings to reflect the new version number 20 | - slightly changed the structure of the start-up message routine 21 | - added support for ExtendedX (type 0fh) partitions 22 | - added a routine that checks for and displays the version number of extended 23 | int 13 (LBA) support 24 | - some preliminary changes for LBA support 25 | 26 | 7.01.01 (original release): 27 | - fixed the compilation to work with MASM 6.0b and Watcom C/C++ 10.0a 28 | - no user-visible changes 29 | -------------------------------------------------------------------------------- /DOCS/HIST106.TXT: -------------------------------------------------------------------------------- 1 | 7.01.06: 2 | - added support for FAT32 partition types and boot records to disk device 3 | driver 4 | - expanded sector numbers in buffer management routines from 24 to 32 bit to 5 | allow partitions larger than 8 GB 6 | - added FAT32 specific entries to DR-DOS file system structures 7 | - rewrote most file system routines to cope with 32-bit cluster numbers and 8 | dynamic root directories (FAT32) 9 | - added support for FAT32 file system info block to store free disk space 10 | to speed up disk access 11 | - changed the free disk space routine to use dynamic cluster sizes on FAT32 12 | partitions to report free space more accurately 13 | - added a routine to command.com to display large numbers with thousands 14 | delimiters, changed dir command to use it 15 | - fixed bugs in the boot routine to allow booting from 64 KB cluster 16 | partitions 17 | - fixed bug that caused command.com not to terminate the PSP chain at the 18 | master PSP, leading to all kinds of problems with the environment space 19 | - fixed bug in dir command that caused the free disk space on partitions with 20 | 64 KB clusters to be displayed as zero 21 | - fixed bug in the memory allocation routine that would cause the install 22 | command to crash sometimes when upper memory was present 23 | - fixed bug in LBA routines that caused writing problems on some systems, this 24 | may also speed up writing on other systems 25 | - increased heap space in command.com to prevent corruption of command line 26 | arguments while processing deeply nested batch files 27 | - fixed bug that sometimes caused XMSDSK to corrupt the last memory block 28 | 29 | 7.01.05: 30 | - some preliminary changes for 32-bit file system support 31 | - added support for 4 GB FAT16 partitions (64 KB cluster size) 32 | 33 | 7.01.04: 34 | - added routines to convert LBA values to CHS and vice versa 35 | - rewrote the partition registering routine to use the LBA values in the 36 | partition tables instead of the obsolete CHS values, disabled old code 37 | - added int 13 extensions (LBA) support to the partition login and track r/w 38 | routines 39 | - added support for partition type 0eh (FAT16B LBA) 40 | 41 | 7.01.03: 42 | - added a hex value output routine for debugging purposes 43 | - changed the behavior of the partition registering routine to not follow loops 44 | in the partition tables 45 | 46 | 7.01.02: 47 | - changed some text strings to reflect the new version number 48 | - slightly changed the structure of the start-up message routine 49 | - added support for ExtendedX (type 0fh) partitions 50 | - added a routine that checks for and displays the version number of extended 51 | int 13 (LBA) support 52 | - some preliminary changes for LBA support 53 | 54 | 7.01.01 (original release): 55 | - fixed the compilation to work with MASM 6.0b and Watcom C/C++ 10.0a 56 | - no user-visible changes 57 | -------------------------------------------------------------------------------- /DOCS/INST101.TXT: -------------------------------------------------------------------------------- 1 | To install the binaries, create a directory on your hard disk and copy the 2 | archive there. You can then unpack it with unzip32 or any other tool that can 3 | unpack ZIP archives. From this directory, you can either use the makeboot batch 4 | file to create a boot disk, e.g. makeboot a: will make a boot disk of the disk 5 | in drive a:, or you can just copy the three files ibmbio.com, ibmdos.com and 6 | command.com on any existing DR-DOS 7 boot disk. You can also copy these files 7 | to you hard disk, but this is not recommended because if your PC fails to boot 8 | due to a bug (see bugs.txt), you will not be able to use it until you reinstall 9 | your previous operating system. Besides, depending on how you have partitioned 10 | your hard disk, DR-DOS may be unable to boot from the selected partition. 11 | 12 | To compile the source, create a directory and copy dossrc.zip and any patches 13 | you want to use there, then unzip the files with unzip32 or any other tool that 14 | can unpack ZIP archives. Make sure you have the patch utility in your path, 15 | then apply the patches by typing "patch -p1 32K on FAT32 partitions 46 | /ah=49h (Free Memory) merges adjacent free blocks after freeing 47 | -------------------------------------------------------------------------------- /DOCS/READ101.1ST: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | Many PC users in the world use DR-DOS because of its advanced features. 4 | Unfortunately, the development of DR-DOS seems to have stopped and the last 5 | version was released more than three years ago. Since there is currently no 6 | other PC operating system that combines so many useful features with full PC 7 | compatibility, I have decided to write my own set of patches for DR-DOS to 8 | fix some bugs and add support for new standards. 9 | Since the source code of later versions of DR-DOS is not freely available, I 10 | have decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 11 | the base for my work. 12 | You will find the latest patches at http://www.drdosprojects.de, the project's 13 | official web site. Since it has now got its own domain, this should not change 14 | anymore. 15 | 16 | To use the supplied patches, you need the following: 17 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 18 | - a tool capable of unpacking ZIP archives 19 | - a utility to apply the patches to the source 20 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 21 | work as well, but this has not been tested) 22 | 23 | For those who do not want to compile the source code themselves or lack the 24 | necessary development software, there are also pre-compiled binaries available. 25 | 26 | Please note that you need to obtain a license from Caldera if you plan to use 27 | OpenDOS for commercial purposes. The license agreement is found in license.txt 28 | in the dossrc.zip archive. This license does still apply for the patched 29 | versions, except that you should not contact Caldera tech support on matters 30 | specific to the modified version. 31 | 32 | If you use these patches or the precompiled binary versions on my web site, you 33 | do it at your own risk. I am not responsible for any damage that might occur 34 | to your hardware or data from using them. 35 | Due to the experimental nature of these patches and lack of time on my side, I 36 | cannot provide extensive technical support for them. However, if you find a bug 37 | that I have not been aware of or if you want to tell me something that you 38 | think I should know, you can post a message in 39 | - the DR-DOS forum at http://senac.com/forums/4356/ or 40 | - the german DR-DOS forum at http://www.senac.com/forums/11868/ 41 | which I usually check at least once in a few days. 42 | 43 | -------------------------------------------------------------------------------- /DOCS/READ102.1ST: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | Many PC users in the world use DR-DOS because of its advanced features. 4 | Unfortunately, the development of DR-DOS seems to have stopped and the last 5 | version was released more than three years ago. Since there is currently no 6 | other PC operating system that combines so many useful features with full PC 7 | compatibility, I have decided to write my own set of patches for DR-DOS to 8 | fix some bugs and add support for new standards. 9 | Since the source code of later versions of DR-DOS is not freely available, I 10 | have decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 11 | the base for my work. 12 | You will find the latest patches at http://www.drdosprojects.de, the project's 13 | official web site. Since it has now got its own domain, this should not change 14 | anymore. 15 | 16 | To use the supplied patches, you need the following: 17 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 18 | - a tool capable of unpacking ZIP archives 19 | - a utility to apply the patches to the source 20 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 21 | work as well, but this has not been tested) 22 | 23 | For those who do not want to compile the source code themselves or lack the 24 | necessary development software, there are also pre-compiled binaries available. 25 | 26 | Please note that you need to obtain a license from Caldera if you plan to use 27 | OpenDOS for commercial purposes. The license agreement is found in license.txt 28 | in the dossrc.zip archive. This license does still apply for the patched 29 | versions, except that you should not contact Caldera tech support on matters 30 | specific to the modified version. 31 | 32 | If you use these patches or the precompiled binary versions on my web site, you 33 | do it at your own risk. I am not responsible for any damage that might occur 34 | to your hardware or data from using them. 35 | Due to the experimental nature of these patches and lack of time on my side, I 36 | cannot provide extensive technical support for them. However, if you find a bug 37 | that I have not been aware of or if you want to tell me something that you 38 | think I should know, you can post a message in 39 | - the DR-DOS forum at http://senac.com/forums/4356/ or 40 | - the german DR-DOS forum at http://www.senac.com/forums/11868/ 41 | which I usually check at least once in a few days. 42 | 43 | -------------------------------------------------------------------------------- /DOCS/READ103.1ST: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | Many PC users in the world use DR-DOS because of its advanced features. 4 | Unfortunately, the development of DR-DOS seems to have stopped and the last 5 | version was released more than three years ago. Since there is currently no 6 | other PC operating system that combines so many useful features with full PC 7 | compatibility, I have decided to write my own set of patches for DR-DOS to 8 | fix some bugs and add support for new standards. 9 | Since the source code of later versions of DR-DOS is not freely available, I 10 | have decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 11 | the base for my work. 12 | You will find the latest patches at http://www.drdosprojects.de, the project's 13 | official web site. Since it has now got its own domain, this should not change 14 | anymore. 15 | 16 | To use the supplied patches, you need the following: 17 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 18 | - a tool capable of unpacking ZIP archives 19 | - a utility to apply the patches to the source 20 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 21 | work as well, but this has not been tested) 22 | 23 | For those who do not want to compile the source code themselves or lack the 24 | necessary development software, there are also pre-compiled binaries available. 25 | 26 | Please note that you need to obtain a license from Caldera if you plan to use 27 | OpenDOS for commercial purposes. The license agreement is found in license.txt 28 | in the dossrc.zip archive. This license does still apply for the patched 29 | versions, except that you should not contact Caldera tech support on matters 30 | specific to the modified version. 31 | 32 | If you use these patches or the precompiled binary versions on my web site, you 33 | do it at your own risk. I am not responsible for any damage that might occur 34 | to your hardware or data from using them. 35 | Due to the experimental nature of these patches and lack of time on my side, I 36 | cannot provide extensive technical support for them. However, if you find a bug 37 | that I have not been aware of or if you want to tell me something that you 38 | think I should know, you can post a message in 39 | - the DR-DOS forum at http://senac.com/forums/4356/ or 40 | - the german DR-DOS forum at http://www.senac.com/forums/11868/ 41 | which I usually check at least once in a few days. 42 | 43 | -------------------------------------------------------------------------------- /DOCS/READ104.1ST: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | Many PC users in the world use DR-DOS because of its advanced features. 4 | Unfortunately, the development of DR-DOS seems to have stopped and the last 5 | version was released more than three years ago. Since there is currently no 6 | other PC operating system that combines so many useful features with full PC 7 | compatibility, I have decided to write my own set of patches for DR-DOS to 8 | fix some bugs and add support for new standards. 9 | Since the source code of later versions of DR-DOS is not freely available, I 10 | have decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 11 | the base for my work. 12 | You will find the latest patches at http://www.drdosprojects.de, the project's 13 | official web site. Since it has now got its own domain, this should not change 14 | anymore. 15 | 16 | To use the supplied patches, you need the following: 17 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 18 | - a tool capable of unpacking ZIP archives 19 | - a utility to apply the patches to the source 20 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 21 | work as well, but this has not been tested) 22 | 23 | For those who do not want to compile the source code themselves or lack the 24 | necessary development software, there are also pre-compiled binaries available. 25 | 26 | Please note that you need to obtain a license from Caldera if you plan to use 27 | OpenDOS for commercial purposes. The license agreement is found in license.txt 28 | in the dossrc.zip archive. This license does still apply for the patched 29 | versions, except that you should not contact Caldera tech support on matters 30 | specific to the modified version. 31 | 32 | If you use these patches or the precompiled binary versions on my web site, you 33 | do it at your own risk. I am not responsible for any damage that might occur 34 | to your hardware or data from using them. 35 | Due to the experimental nature of these patches and lack of time on my side, I 36 | cannot provide extensive technical support for them. However, if you find a bug 37 | that I have not been aware of or if you want to tell me something that you 38 | think I should know, you can post a message in 39 | - the DR-DOS forum at http://senac.com/forums/4356/ or 40 | - the german DR-DOS forum at http://www.senac.com/forums/11868/ 41 | which I usually check at least once in a few days. 42 | 43 | -------------------------------------------------------------------------------- /DOCS/READ105.1ST: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | Many PC users in the world use DR-DOS because of its advanced features. 4 | Unfortunately, the development of DR-DOS seems to have stopped and the last 5 | version was released more than three years ago. Since there is currently no 6 | other PC operating system that combines so many useful features with full PC 7 | compatibility, I have decided to write my own set of patches for DR-DOS to 8 | fix some bugs and add support for new standards. 9 | Since the source code of later versions of DR-DOS is not freely available, I 10 | have decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 11 | the base for my work. 12 | You will find the latest patches at http://www.drdosprojects.de, the project's 13 | official web site. Since it has now got its own domain, this should not change 14 | anymore. 15 | 16 | To use the supplied patches, you need the following: 17 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 18 | - a tool capable of unpacking ZIP archives 19 | - a utility to apply the patches to the source 20 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 21 | work as well, but this has not been tested) 22 | 23 | For those who do not want to compile the source code themselves or lack the 24 | necessary development software, there are also pre-compiled binaries available. 25 | 26 | Please note that you need to obtain a license from Caldera if you plan to use 27 | OpenDOS for commercial purposes. The license agreement is found in license.txt 28 | in the dossrc.zip archive. This license does still apply for the patched 29 | versions, except that you should not contact Caldera tech support on matters 30 | specific to the modified version. 31 | 32 | If you use these patches or the precompiled binary versions on my web site, you 33 | do it at your own risk. I am not responsible for any damage that might occur 34 | to your hardware or data from using them. 35 | Due to the experimental nature of these patches and lack of time on my side, I 36 | cannot provide extensive technical support for them. However, if you find a bug 37 | that I have not been aware of or if you want to tell me something that you 38 | think I should know, you can post a message in 39 | - the DR-DOS forum at http://senac.com/forums/4356/ or 40 | - the german DR-DOS forum at http://www.senac.com/forums/11868/ 41 | which I usually check at least once in a few days. 42 | 43 | -------------------------------------------------------------------------------- /DOCS/READ106.1ST: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | Many PC users in the world use DR-DOS because of its advanced features. 4 | Unfortunately, the development of DR-DOS seems to have stopped and the last 5 | version was released more than three years ago. Since there is currently no 6 | other PC operating system that combines so many useful features with full PC 7 | compatibility, I have decided to write my own set of patches for DR-DOS to 8 | fix some bugs and add support for new standards. 9 | Since the source code of later versions of DR-DOS is not freely available, I 10 | have decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 11 | the base for my work. 12 | You will find the latest patches at http://www.drdosprojects.de, the project's 13 | official web site. Since it has now got its own domain, this should not change 14 | anymore. 15 | 16 | To use the supplied patches, you need the following: 17 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 18 | - a tool capable of unpacking ZIP archives 19 | - a utility to apply the patches to the source 20 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 21 | work as well, but this has not been tested) 22 | 23 | For those who do not want to compile the source code themselves or lack the 24 | necessary development software, there are also pre-compiled binaries available. 25 | 26 | Please note that you need to obtain a license from Caldera if you plan to use 27 | OpenDOS for commercial purposes. The license agreement is found in license.txt 28 | in the dossrc.zip archive. This license does still apply for the patched 29 | versions, except that you should not contact Caldera tech support on matters 30 | specific to the modified version. 31 | 32 | If you use these patches or the precompiled binary versions on my web site, you 33 | do it at your own risk. I am not responsible for any damage that might occur 34 | to your hardware or data from using them. 35 | Due to the experimental nature of these patches and lack of time on my side, I 36 | cannot provide extensive technical support for them. However, if you find a bug 37 | that I have not been aware of or if you want to tell me something that you 38 | think I should know, you can post a message in 39 | - the DR-DOS forum at http://senac.com/forums/4356/ or 40 | - the german DR-DOS forum at http://www.senac.com/forums/11868/ 41 | which I usually check at least once in a few days. 42 | 43 | -------------------------------------------------------------------------------- /DOCS/READ107.1ST: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | Many PC users in the world use DR-DOS because of its advanced features. 4 | In mid 2002, however, the development of DR-DOS seemed to have stopped and the 5 | last version had been released more than three years ago. Since there is no 6 | other PC operating system that combines so many useful features with full PC 7 | compatibility, I decided to write my own set of patches for DR-DOS to fix some 8 | bugs and add support for new standards. 9 | Since the source code of later versions of DR-DOS was not freely available, I 10 | decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 11 | the base for my work. 12 | Originally, I had only planned to make minor modifications to DR-DOS 7.01, like 13 | adding support for large disks, fix some bugs, etc., but with each successive 14 | version, the scope of the project increased, thereby extending the original 15 | concept of DOS. 16 | 17 | You will find the latest patches at http://www.drdosprojects.de, the project's 18 | official web site. Since it has got its own domain, this should not change 19 | anymore. 20 | 21 | To use the supplied patches, you need the following: 22 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 23 | - a tool capable of unpacking ZIP archives 24 | - a utility to apply the patches to the source 25 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 26 | work as well, but this has not been tested) 27 | 28 | Note that the source code patches are cumulative, meaning that you have to 29 | apply the earlier patches to the source code as well, with the exception of 30 | Work-In-Progress (WIP) and Release Candidate (RC) versions; these refer to the 31 | previous main release version. 32 | 33 | For those who do not want to compile the source code themselves or lack the 34 | necessary development software, there are also pre-compiled binaries available. 35 | 36 | OpenDOS had originally been released by Caldera under a commercial license, and 37 | it is still bound to this license. If you plan to use OpenDOS for commercial 38 | purposes, you need a commercial license for it from either Caldera or the 39 | company that now owns DR-DOS/OpenDOS, DeviceLogics (or like they seem to call 40 | themselves now, DRDOS, Inc.). 41 | The original Caldera license agreement is in the file license.txt, and it also 42 | applies for any modified versions that you can download here, as far as they 43 | are based on OpenDOS, except that you should not contact their tech support on 44 | matters specific to the modified versions. You should read license.txt before 45 | you start using any of them. 46 | 47 | If you use these patches or the precompiled binary versions on my web site, you 48 | do it at your own risk. I am not responsible for any damage that might occur 49 | to your hardware or data from using them. 50 | Due to the experimental nature of these patches and lack of time on my side, I 51 | cannot provide extensive technical support for them. However, if you find a bug 52 | that I have not been aware of, or if you want to tell me something that you 53 | think I should know, you should post a message in 54 | - the Enhanced DR-DOS forum at http://www.senac.com/forums/16612/ or 55 | - the German DR-DOS forum at http://www.senac.com/forums/11868/ 56 | which I usually check at least once in a few days. These forums are also an 57 | excellent place to ask any other DR-DOS related questions or discuss any DR-DOS 58 | topics with other members of the DR-DOS community. 59 | 60 | -------------------------------------------------------------------------------- /IBMBIO/BDOSSTUB.A86: -------------------------------------------------------------------------------- 1 | ; File : $BDOSSTUB.A86$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | CGROUP group INITCODE 36 | 37 | INITCODE cseg 'INITCODE' 38 | 39 | public read_bdos 40 | read_bdos: 41 | ret 42 | 43 | 44 | public bdos_version_check 45 | bdos_version_check: 46 | ret 47 | 48 | end 49 | -------------------------------------------------------------------------------- /IBMBIO/BIN/BDOSLDR.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/BDOSLDR.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/BDOSSTUB.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/BDOSSTUB.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/BIOSGRPS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/BIOSGRPS.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/BIOSINIT.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/BIOSINIT.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/BIOSMSGS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/BIOSMSGS.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/BIOSSTUB.LIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/BIOSSTUB.LIB -------------------------------------------------------------------------------- /IBMBIO/BIN/CLOCK.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/CLOCK.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/CONFIG.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/CONFIG.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/CONFSTUB.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/CONFSTUB.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/CONSOLE.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/CONSOLE.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/DISK.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/DISK.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/GENERCFG.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/GENERCFG.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/IBMBIO.COM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/IBMBIO.COM -------------------------------------------------------------------------------- /IBMBIO/BIN/INIT.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/INIT.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/INITMSGS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/INITMSGS.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/NLSFUNC.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/NLSFUNC.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/SERPAR.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/SERPAR.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIN/STACKS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIN/STACKS.OBJ -------------------------------------------------------------------------------- /IBMBIO/BIOS.LNK: -------------------------------------------------------------------------------- 1 | .\bin\biosgrps+.\bin\init+.\bin\clock+.\bin\console+.\bin\disk+ 2 | .\bin\serpar+.\bin\biosmsgs+.\bin\biosinit+.\bin\config+.\bin\genercfg+ 3 | .\bin\nlsfunc+.\bin\bdosldr+.\bin\stacks+.\bin\initmsgs 4 | .\bin\bios,.\bin\bios,.\bin\biosstub.lib /MAP; 5 | -------------------------------------------------------------------------------- /IBMBIO/BIOSGRPS.ASM: -------------------------------------------------------------------------------- 1 | ; File : $BIOSGRPS.ASM$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | CGROUP group CODE,ENDCODE,RCODE_ALIGN,RCODE,RESUMECODE,RESBIOS,ICODE,IDATA,INITCODE,STACKS,INITDATA,INITPSP,INITENV,DATAEND 36 | 37 | include BIOSGRPS.EQU 38 | 39 | end 40 | -------------------------------------------------------------------------------- /IBMBIO/BIOSGRPS.EQU: -------------------------------------------------------------------------------- 1 | ; File : $BIOSGRPS.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | CODE segment public byte 'CODE' 35 | CODE ends 36 | 37 | ENDCODE segment public byte 'ENDCODE' 38 | ENDCODE ends 39 | 40 | RCODE_ALIGN segment public para 'RCODE' 41 | RCODE_ALIGN ends 42 | 43 | RCODE segment public word 'RCODE' 44 | RCODE ends 45 | 46 | RESUMECODE segment public para 'RESUMECODE' 47 | RESUMECODE ends 48 | 49 | RESBIOS segment public para 'RESBIOS' 50 | RESBIOS ends 51 | 52 | ICODE segment public word 'ICODE' 53 | ICODE ends 54 | 55 | IDATA segment public para 'IDATA' 56 | IDATA ends 57 | 58 | INITCODE segment public para 'INITCODE' 59 | INITCODE ends 60 | 61 | STACKS segment public para 'STACKS' 62 | STACKS ends 63 | 64 | INITDATA segment public para 'INITDATA' 65 | INITDATA ends 66 | 67 | INITPSP segment public para 'INITDATA' 68 | INITPSP ends 69 | 70 | INITENV segment public para 'INITDATA' 71 | INITENV ends 72 | 73 | DATAEND segment public para 'INITDATA' 74 | DATAEND ends 75 | 76 | -------------------------------------------------------------------------------- /IBMBIO/BIOSMSGS.ASM: -------------------------------------------------------------------------------- 1 | NUL equ 0 2 | BS equ 8 3 | TAB equ 9 4 | LF equ 10 5 | CR equ 13 6 | 7 | include BIOSGRPS.EQU 8 | 9 | CGROUP group RCODE 10 | 11 | 12 | RCODE segment word public 'RCODE' 13 | 14 | ; Source .TFT file: 'TMP1.$$$' 15 | public _disk_msgA 16 | public disk_msgA 17 | disk_msgA label byte 18 | _disk_msgA db CR, LF, "Insert diskette for drive ", NUL 19 | public _disk_msgB 20 | public disk_msgB 21 | disk_msgB label byte 22 | _disk_msgB db ": and", CR, LF, " strike any key when ready", CR, LF, LF, NUL 23 | public _div_by_zero_msg 24 | public div_by_zero_msg 25 | div_by_zero_msg label byte 26 | _div_by_zero_msg db CR, LF, "Divide Error", CR, LF, NUL 27 | public _starting_dos_msg 28 | public starting_dos_msg 29 | starting_dos_msg label byte 30 | _starting_dos_msg db CR, LF, "Starting DOS...", CR, LF, NUL 31 | 32 | RCODE ends 33 | 34 | 35 | end 36 |  -------------------------------------------------------------------------------- /IBMBIO/BIOSMSGS.DEF: -------------------------------------------------------------------------------- 1 | extrn _disk_msgA : byte 2 | extrn disk_msgA : byte 3 | extrn _disk_msgB : byte 4 | extrn disk_msgB : byte 5 | extrn _div_by_zero_msg : byte 6 | extrn div_by_zero_msg : byte 7 | extrn _starting_dos_msg : byte 8 | extrn starting_dos_msg : byte 9 | -------------------------------------------------------------------------------- /IBMBIO/BIOSMSGS.H: -------------------------------------------------------------------------------- 1 | extern char near disk_msgA[]; 2 | extern char near disk_msgB[]; 3 | extern char near div_by_zero_msg[]; 4 | extern char near starting_dos_msg[]; 5 | -------------------------------------------------------------------------------- /IBMBIO/BIOSSTUB.LIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMBIO/BIOSSTUB.LIB -------------------------------------------------------------------------------- /IBMBIO/BPB.EQU: -------------------------------------------------------------------------------- 1 | ; File : $BPB.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; ENDLOG 33 | 34 | BPB struc 35 | BPB_SECSIZ dw ? ; # of bytes per sector 36 | BPB_ALLOCSIZ db ? ; # of sectors per allocation unit 37 | BPB_FATADD dw ? ; # of reserved sectors (1) 38 | BPB_NFATS db ? ; # of fats 39 | BPB_DIRMAX dw ? ; # of directory entries 40 | BPB_TOTSEC dw ? ; # of sectors total in image 41 | BPB_FATID db ? ; holds a copy of the fat id byte 42 | BPB_FATSEC dw ? ; # of sectors in a fat 43 | BPB_SPT dw ? ; # of sectors per track 44 | BPB_HEADS dw ? ; # of heads 45 | BPB_HIDDEN dd ? ; disk offset (32 bit) 46 | BPB_SIZE dd ? ; disk size (32 bit) 47 | BPB_RESRVD2 db 6 dup (?) 48 | BPB ends 49 | 50 | BPB_LENGTH equ size BPB 51 | -------------------------------------------------------------------------------- /IBMBIO/CHAR.DEF: -------------------------------------------------------------------------------- 1 | ; File : $CHAR.DEF$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ;************************************************; 35 | ;* *; 36 | ;* Character Definitions *; 37 | ;* *; 38 | ;************************************************; 39 | 40 | CTLA equ 'A' - '@' 41 | CTLB equ 'B' - '@' 42 | CTLC equ 'C' - '@' 43 | CTLD equ 'D' - '@' 44 | CTLE equ 'E' - '@' 45 | CTLF equ 'F' - '@' 46 | CTLG equ 'G' - '@' 47 | BELL equ 'G' - '@' 48 | CTLH equ 'H' - '@' 49 | CTLI equ 'I' - '@' 50 | TAB equ 'I' - '@' 51 | CTLJ equ 'J' - '@' 52 | LF equ 'J' - '@' 53 | CTLK equ 'K' - '@' 54 | CTLM equ 'M' - '@' 55 | CR equ 'M' - '@' 56 | CTLP equ 'P' - '@' 57 | CTLQ equ 'Q' - '@' 58 | CTLR equ 'R' - '@' 59 | CTLS equ 'S' - '@' 60 | CTLT equ 'T' - '@' 61 | CTLU equ 'U' - '@' 62 | CTLV equ 'V' - '@' 63 | CTLW equ 'W' - '@' 64 | CTLX equ 'X' - '@' 65 | CTLY equ 'Y' - '@' 66 | CTLZ equ 'Z' - '@' 67 | ESC equ '[' - '@' 68 | CTLBS equ '\' - '@' 69 | CTLUB equ '_' - '@' 70 | CTLUP equ '^' - '@' 71 | DEL equ 07Fh 72 | RUBOUT equ DEL 73 | 74 | CTL equ '^' 75 | -------------------------------------------------------------------------------- /IBMBIO/CONFSTUB.A86: -------------------------------------------------------------------------------- 1 | ; File : $CONFSTUB.A86$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | CGROUP group INITCODE 36 | INITCODE CSEG PARA 'INITCODE' 37 | 38 | Public config_process 39 | config_process: ; Process CONFIG.SYS 40 | ret 41 | 42 | Public country_error 43 | country_error: 44 | ret 45 | end 46 | -------------------------------------------------------------------------------- /IBMBIO/COUNTRY.DEF: -------------------------------------------------------------------------------- 1 | ; File : $COUNTRY.DEF$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | US_DATE equ 0 ; American Date Format mm/dd/yy 36 | EURO_DATE equ 1 ; European Date Format dd/mm/yy 37 | JAP_DATE equ 2 ; Japanese Date Format yy/mm/dd 38 | 39 | CLOCK_12 equ 0 ; 12 Hour Clock Time Format 40 | CLOCK_24 equ 1 ; 24 Hour Clock Time Format 41 | 42 | CI_CODE equ word ptr 0FFFCh ; Country Code 43 | CI_CODEPAGE equ word ptr 0FFFEh ; Code page 44 | CI_DATEFMT equ word ptr 0 ; Date Format 45 | CI_CURRENCY equ byte ptr 2 ; Currency Symbols 46 | CI_THOUSANDS equ byte ptr 7 ; Thousands Separator 47 | CI_DECIMAL equ byte ptr 9 ; Decimal Separator 48 | CI_DATESEP equ byte ptr 11 ; Date Separator 49 | CI_TIMESEP equ byte ptr 13 ; Time Separator 50 | CI_CURFMT equ byte ptr 15 ; Currency Format 51 | CI_CURDIGITS equ byte ptr 16 ; Significant Currency Digits 52 | CI_TIMEFMT equ byte ptr 17 ; Time Format 53 | CI_CASEOFF equ word ptr 18 ; Case Translation Offset 54 | CI_CASESEG equ word ptr 20 ; Case Translation Segment 55 | CI_DATASEP equ byte ptr 22 ; Data List Separator 56 | CI_STATICLEN equ 24 ; Static Country Data Length 57 | CI_LENGTH equ 32 ; Total Country Data Length 58 | 59 | EXI_ID equ byte ptr 0 ; Information ID 60 | EXI_TBLOFF equ word ptr 1 ; Table Offset 61 | EXI_TBLSEG equ word ptr 3 ; Table Segment 62 | 63 | EXI_ID1 equ byte ptr 0 ; 6501 Info ID (why move it?!) 64 | EXI_LENGTH equ word ptr 1 ; 6501 Table Length 65 | EXI_DATA_LEN equ 3 ; 6501 Country Data 66 | 67 | EXCI_CUR_COUNTRY equ word ptr 0 ; Current Country 68 | EXCI_CUR_CP equ word ptr 2 ; Current Codepage 69 | EXCI_CI_DATAOFF equ 4 ; Start of CI_ data 70 | 71 | EXCI_STATLEN equ CI_STATICLEN+4 ; Static Ext Country Info 72 | EXCI_MAXLEN equ EXCI_STATLEN+10+EXI_DATA_LEN ; Max Ext Country Info 73 | 74 | -------------------------------------------------------------------------------- /IBMBIO/DRIVER.EQU: -------------------------------------------------------------------------------- 1 | ; File : $DRIVER.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; ENDLOG 33 | ; Device driver header offsets. 34 | 35 | 36 | DH_NEXT equ es:dword ptr 0 ; Dword Pointer to Next DEV 37 | DH_NEXTOFF equ es:word ptr 0 ; Offset of next device 38 | DH_NEXTSEG equ es:word ptr 2 ; Segment of next device 39 | DH_ATTRIB equ es:word ptr 4 ; device attribute bits 40 | DH_STRATEGY equ es:word ptr 6 ; offset of strategy entry 41 | DH_INTERRUPT equ es:word ptr 8 ; offset of interupt entry 42 | DH_NAME equ es:byte ptr 10 ; 8-BYTE device name 43 | 44 | DA_CHARDEV equ 8000h ; 1=character device, 0=block device 45 | DA_IOCTL equ 4000h ; device supports IOCTL string I/O 46 | DA_NONIBM equ 2000h ; dosen't require FAT for login 47 | DA_OTILBSY equ 2000h ; supports "output until busy" 48 | DA_REMOVE equ 0800h ; supports "removable media" check 49 | DA_QUERY equ 0080h ; supports query ioctl 50 | DA_GETSET equ 0040h ; supports 3.2 level functionality 51 | DA_SPECIAL equ 0010h ; fast console ouput via INT 29h 52 | DA_ISCLK equ 0008h ; device is current clock device 53 | DA_ISNUL equ 0004h ; device is NUL device (reserved) 54 | DA_BIGDRV equ 0002h ; supports > 65535 sector per drive 55 | DA_ISCOT equ 0002h ; device is standard output device 56 | DA_ISCIN equ 0001h ; device is standard input device 57 | 58 | FASTCON_INT equ 29h ; fast console output interrupt 59 | 60 | -------------------------------------------------------------------------------- /IBMBIO/DRMACROS.EQU: -------------------------------------------------------------------------------- 1 | ; File : $DRMACROS.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ; 09-Nov-88 made RETF conditional for MASM 5.1/TASM 1.0 35 | 36 | FALSE equ 0 37 | TRUE equ (not FALSE) 38 | 39 | ifndef @filename ;; Turbo Assembler always knows RETF 40 | ;; some versions of MASM do as well 41 | retf macro ;; define far return macro for others 42 | db 0cbh 43 | endm 44 | endif 45 | 46 | jmps macro l 47 | jmp short l 48 | endm 49 | 50 | pushx macro regs 51 | irp r, 52 | push r 53 | endm 54 | endm 55 | 56 | popx macro regs 57 | irp r, 58 | pop r 59 | endm 60 | endm 61 | 62 | incx macro regs 63 | irp r, 64 | inc r 65 | endm 66 | endm 67 | 68 | decx macro regs 69 | irp r, 70 | dec r 71 | endm 72 | endm 73 | 74 | rb macro count 75 | db count dup (?) 76 | endm 77 | 78 | rw macro count 79 | dw count dup (?) 80 | endm 81 | 82 | rd macro count 83 | dd count dup (?) 84 | endm 85 | 86 | -------------------------------------------------------------------------------- /IBMBIO/IBMROS.EQU: -------------------------------------------------------------------------------- 1 | ; File : $IBMROS.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | VIDEO_INT equ 10h 36 | EQUIPMENT_INT equ 11h 37 | MEMORY_INT equ 12h 38 | DISK_INT equ 13h 39 | ASYNC_INT equ 14h 40 | SYSTEM_INT equ 15h 41 | KEYBOARD_INT equ 16h 42 | PRINTER_INT equ 17h 43 | RTC_INT equ 1Ah 44 | CTRLBRK_INT equ 1Bh 45 | 46 | ; Int 10 subfunctions 47 | 48 | SET_CURSOR_TYPE equ 01h 49 | WRITE_CURSOR equ 02h ; Set cursor position 50 | READ_CURSOR equ 03h ; Read cursor position 51 | SCROLL_UP equ 06h ; Scroll active page up 52 | SCROLL_DOWN equ 07h ; Scroll active page down 53 | READ_CHAR equ 08h ; Read attribute/char at cur position 54 | WRITE_CHAR equ 09h ; Write attribute/char at cur position 55 | WRITE_TTY equ 0eh ; Write teletype at current position 56 | GET_STATE equ 0fh ; Return current video mode 57 | 58 | ; Int 13 subfunctions 59 | 60 | ROS_RESET equ 00h ; reset disk system 61 | ROS_READ equ 02h ; read from disk 62 | ROS_WRITE equ 03h ; write to disk 63 | ROS_VERIFY equ 04h ; verify data on disk 64 | ROS_FORMAT equ 05h ; format track on disk 65 | ROS_PARAM equ 08h ; get drive parameters 66 | ROS_GETTYPE equ 15h ; get drive type 67 | ROS_DSKCHG equ 16h ; check disk change status 68 | ROS_SETTYPE equ 17h ; set disk type for format 69 | ROS_SETMEDIA equ 18h ; set media type for format 70 | 71 | PRN_ERROR equ 00101001b ; printer error bits 72 | PRN_NOTBUSY equ 10000000b 73 | PRN_ACK equ 01000000b 74 | PRN_PAPER equ 00100000b 75 | PRN_SELECT equ 00010000b 76 | PRN_IOERR equ 00001000b 77 | PRN_TIMEOUT equ 00000001b 78 | 79 | AUX_ERROR equ 10000000b ; auxiliary error bits 80 | 81 | ; Int 15 subfunctions 82 | 83 | EXT_MEMORY equ 88h ; Return extended memory size in KB 84 | -------------------------------------------------------------------------------- /IBMBIO/INITMSGS.ASM: -------------------------------------------------------------------------------- 1 | NUL equ 0 2 | BS equ 8 3 | TAB equ 9 4 | LF equ 10 5 | CR equ 13 6 | 7 | CGROUP group INITDATA 8 | 9 | INITDATA segment word public 'INITDATA' 10 | assume ds:CGROUP, cs:CGROUP 11 | 12 | ; Source .TFT file: 'TMP1.$$$' 13 | public _yes_char 14 | public yes_char 15 | yes_char label byte 16 | _yes_char db "Yy", NUL 17 | public _no_char 18 | public no_char 19 | no_char label byte 20 | _no_char db "Nn", NUL 21 | public _bad_command 22 | public bad_command 23 | bad_command label byte 24 | _bad_command db "Invalid command in CONFIG.SYS file.$", NUL 25 | public _bad_filename 26 | public bad_filename 27 | bad_filename label byte 28 | _bad_filename db "Bad or missing file $", NUL 29 | public _bad_shell 30 | public bad_shell 31 | bad_shell label byte 32 | _bad_shell db "Invalid SHELL filename $", NUL 33 | public _bad_lastdrive 34 | public bad_lastdrive 35 | bad_lastdrive label byte 36 | _bad_lastdrive db "Invalid last drive character (use A..Z) $", NUL 37 | public _bad_break 38 | public bad_break 39 | bad_break label byte 40 | _bad_break db "Invalid break switch (use ON or OFF)$", NUL 41 | public _bad_buffers 42 | public bad_buffers 43 | bad_buffers label byte 44 | _bad_buffers db "Invalid number of buffers $", NUL 45 | public _bad_files 46 | public bad_files 47 | bad_files label byte 48 | _bad_files db "Invalid number of files (use 5..255)", CR, LF, "$", NUL 49 | public _bad_fcbs 50 | public bad_fcbs 51 | bad_fcbs label byte 52 | _bad_fcbs db "Invalid number of FCBS", CR, LF, "$", NUL 53 | public _bad_fopen 54 | public bad_fopen 55 | bad_fopen label byte 56 | _bad_fopen db "Invalid number of FASTOPEN entries (use 128..32768)", CR, LF, "$", NUL 57 | public _bad_drivparm 58 | public bad_drivparm 59 | bad_drivparm label byte 60 | _bad_drivparm db "Invalid or missing DRIVPARM parameters, usage:", CR, LF, "DRIVPARM = /D:d [/C] [/F:f] [/H:h] [/N] [/S:s] [/T:t]", CR, LF, "$", NUL 61 | public _bad_history 62 | public bad_history 63 | bad_history label byte 64 | _bad_history db "Invalid HISTORY parameters, usage:", CR, LF, "HISTORY = ON|OFF [,nnn[, ON|OFF]]", CR, LF, "$", NUL 65 | public _bad_country 66 | public bad_country 67 | bad_country label byte 68 | _bad_country db "Invalid country code $", NUL 69 | public _bad_exec 70 | public bad_exec 71 | bad_exec label byte 72 | _bad_exec db "Bad or missing command interpreter.", CR, LF, "Please enter a valid filename.", CR, LF, "$", NUL 73 | public _dos_msg 74 | public dos_msg 75 | dos_msg label byte 76 | _dos_msg db CR, LF, "Can't load DOS file.$", NUL 77 | 78 | INITDATA ends 79 | 80 | 81 | end 82 |  -------------------------------------------------------------------------------- /IBMBIO/INITMSGS.DEF: -------------------------------------------------------------------------------- 1 | extrn _bad_break : byte 2 | extrn bad_break : byte 3 | extrn _bad_buffers : byte 4 | extrn bad_buffers : byte 5 | extrn _bad_command : byte 6 | extrn bad_command : byte 7 | extrn _bad_country : byte 8 | extrn bad_country : byte 9 | extrn _bad_drivparm : byte 10 | extrn bad_drivparm : byte 11 | extrn _bad_exec : byte 12 | extrn bad_exec : byte 13 | extrn _bad_fcbs : byte 14 | extrn bad_fcbs : byte 15 | extrn _bad_filename : byte 16 | extrn bad_filename : byte 17 | extrn _bad_files : byte 18 | extrn bad_files : byte 19 | extrn _bad_fopen : byte 20 | extrn bad_fopen : byte 21 | extrn _bad_history : byte 22 | extrn bad_history : byte 23 | extrn _bad_lastdrive : byte 24 | extrn bad_lastdrive : byte 25 | extrn _bad_shell : byte 26 | extrn bad_shell : byte 27 | extrn _dos_msg : byte 28 | extrn dos_msg : byte 29 | extrn _no_char : byte 30 | extrn no_char : byte 31 | extrn _yes_char : byte 32 | extrn yes_char : byte 33 | -------------------------------------------------------------------------------- /IBMBIO/INITMSGS.H: -------------------------------------------------------------------------------- 1 | extern char near bad_break[]; 2 | extern char near bad_buffers[]; 3 | extern char near bad_command[]; 4 | extern char near bad_country[]; 5 | extern char near bad_drivparm[]; 6 | extern char near bad_exec[]; 7 | extern char near bad_fcbs[]; 8 | extern char near bad_filename[]; 9 | extern char near bad_files[]; 10 | extern char near bad_fopen[]; 11 | extern char near bad_history[]; 12 | extern char near bad_lastdrive[]; 13 | extern char near bad_shell[]; 14 | extern char near dos_msg[]; 15 | extern char near no_char[]; 16 | extern char near yes_char[]; 17 | -------------------------------------------------------------------------------- /IBMBIO/MAKE.BAT: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SET TOOLS=C:\TOOLS 3 | 4 | SET MASM=%TOOLS%\MASM.EXE 5 | SET LINK=%TOOLS%\LINK.EXE 6 | SET LIBR=%TOOLS%\LIB.EXE 7 | 8 | REM 9 | REM YOU SHOULD NOT HAVE TO CHANGE ANYTHING BELOW THIS LINE. 10 | REM 11 | 12 | REM Define local Caldera tools 13 | SET LOCTOOLS=..\LTOOLS 14 | 15 | IF NOT EXIST BIN\*.* MD BIN 16 | 17 | REM Check if tools exist 18 | 19 | ECHO Checking for %MASM% 20 | if not exist %MASM% goto badtool 21 | ECHO Checking for %LINK% 22 | if not exist %LINK% goto badtool 23 | ECHO Checking for %LIBR% 24 | if not exist %LIBR% goto badtool 25 | 26 | 27 | REM ************************************* 28 | REM Build .ASM files first, get the obj's 29 | REM ************************************* 30 | 31 | %MASM% /t initmsgs,.\BIN\initmsgs; 32 | IF ERRORLEVEL 1 GOTO FAILED 33 | %MASM% /t biosmsgs,.\BIN\biosmsgs; 34 | IF ERRORLEVEL 1 GOTO FAILED 35 | %MASM% /t init,.\BIN\init; 36 | IF ERRORLEVEL 1 GOTO FAILED 37 | %MASM% /t clock,.\BIN\clock; 38 | IF ERRORLEVEL 1 GOTO FAILED 39 | %MASM% /t console,.\BIN\console; 40 | IF ERRORLEVEL 1 GOTO FAILED 41 | %MASM% /t disk,.\BIN\disk; 42 | IF ERRORLEVEL 1 GOTO FAILED 43 | %MASM% /t serpar,.\BIN\serpar; 44 | IF ERRORLEVEL 1 GOTO FAILED 45 | %MASM% /t biosgrps,.\BIN\biosgrps; 46 | IF ERRORLEVEL 1 GOTO FAILED 47 | %MASM% /t stacks,.\BIN\stacks; 48 | IF ERRORLEVEL 1 GOTO FAILED 49 | 50 | REM ****************************************** 51 | REM Build the library so that we can link into 52 | REM ****************************************** 53 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\confstub.a86 .\BIN\confstub.obj $szpz /DDRDOS35=0 /DADDDRV=0 54 | IF ERRORLEVEL 1 GOTO FAILED 55 | %LOCTOOLS%\fixupp .\BIN\confstub.obj 56 | IF ERRORLEVEL 1 GOTO FAILED 57 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\bdosstub.a86 .\BIN\bdosstub.obj $szpz /DDRDOS35=0 /DADDDRV=0 58 | IF ERRORLEVEL 1 GOTO FAILED 59 | %LOCTOOLS%\fixupp .\BIN\bdosstub.obj 60 | IF ERRORLEVEL 1 GOTO FAILED 61 | %LIBR% .\BIN\biosstub.LIB -+ .\BIN\bdosstub.obj -+ .\BIN\confstub.obj; 62 | IF ERRORLEVEL 1 GOTO FAILED 63 | 64 | REM ****************************************** 65 | REM Build the .A86 files next, get the obj's 66 | REM ****************************************** 67 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\biosinit.a86 .\BIN\biosinit.obj $szpz /DDRDOS35=0 /DADDDRV=0 68 | IF ERRORLEVEL 1 GOTO FAILED 69 | %LOCTOOLS%\fixupp .\BIN\biosinit.obj 70 | IF ERRORLEVEL 1 GOTO FAILED 71 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\config.a86 .\BIN\config.obj $szpz /DDRDOS35=0 /DADDDRV=0 72 | IF ERRORLEVEL 1 GOTO FAILED 73 | %LOCTOOLS%\fixupp .\BIN\config.obj 74 | IF ERRORLEVEL 1 GOTO FAILED 75 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\bdosldr.a86 .\BIN\bdosldr.obj $szpz /DDRDOS35=0 /DADDDRV=0 76 | IF ERRORLEVEL 1 GOTO FAILED 77 | %LOCTOOLS%\fixupp .\BIN\bdosldr.obj 78 | IF ERRORLEVEL 1 GOTO FAILED 79 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\genercfg.a86 .\BIN\genercfg.obj $szpz /DDRDOS35=0 /DADDDRV=0 80 | IF ERRORLEVEL 1 GOTO FAILED 81 | %LOCTOOLS%\fixupp .\BIN\genercfg.obj 82 | IF ERRORLEVEL 1 GOTO FAILED 83 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\nlsfunc.a86 .\BIN\nlsfunc.obj $szpz /DDRDOS35=0 /DADDDRV=0 84 | IF ERRORLEVEL 1 GOTO FAILED 85 | %LOCTOOLS%\fixupp .\BIN\nlsfunc.obj 86 | IF ERRORLEVEL 1 GOTO FAILED 87 | 88 | REM *************************************************** 89 | REM Link the OBJ's and LIBR file to create the BIOS.EXE 90 | REM and then use EXE2BIN to create the IBMBIO.COM file. 91 | REM *************************************************** 92 | %LINK% @bios.lnk 93 | IF ERRORLEVEL 1 GOTO FAILED 94 | %LOCTOOLS%\exe2bin.exe .\bin\bios.exe .\bin\ibmbio.com 95 | IF ERRORLEVEL 1 GOTO FAILED 96 | del .\bin\bios.exe 97 | %LOCTOOLS%\compbios .\bin\ibmbio.com 98 | IF ERRORLEVEL 1 GOTO FAILED 99 | goto exit 100 | 101 | :failed 102 | ECHO Error in Build! 103 | goto exit 104 | 105 | :badtool 106 | ECHO Can't find that tool! 107 | 108 | :exit 109 | REM ********* 110 | REM CLEANUP 111 | REM ********* 112 | 113 | SET TOOLS= 114 | SET LOCTOOLS= 115 | SET MASM= 116 | SET TASM= 117 | SET LINK= 118 | SET LIBR= 119 |  -------------------------------------------------------------------------------- /IBMBIO/MSDOS.EQU: -------------------------------------------------------------------------------- 1 | ; File : $Workfile: MSDOS.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; MSDOS.EQU 1.1 92/11/10 10:48:56 34 | ; Added to appslib source directory. 35 | ; ENDLOG 36 | 37 | MS_P_TERMCPM equ 00H 38 | MS_C_READ equ 01H 39 | MS_C_WRITE equ 02H 40 | MS_A_READ equ 03H 41 | MS_A_WRITE equ 04H 42 | MS_L_WRITE equ 05H 43 | MS_C_RAWIO equ 06H 44 | MS_C_RAWIN equ 07H 45 | MS_C_NOECHO equ 08H 46 | MS_C_WRITESTR equ 09H 47 | MS_C_READSTR equ 0aH 48 | MS_C_STAT equ 0bH 49 | MS_C_FLUSH equ 0cH 50 | MS_DRV_ALLRESET equ 0dH 51 | MS_DRV_SET equ 0eH 52 | MS_F_OPEN equ 0fH 53 | MS_F_CLOSE equ 10H 54 | MS_F_SFIRST equ 11H 55 | MS_F_SNEXT equ 12H 56 | MS_F_DELETE equ 13H 57 | MS_F_READ equ 14H 58 | MS_F_WRITE equ 15H 59 | MS_F_MAKE equ 16H 60 | MS_F_RENAME equ 17H 61 | MS_DRV_GET equ 19H 62 | MS_F_DMAOFF equ 1aH 63 | MS_DRV_ALLOC equ 1bH 64 | MS_DRV_ALLOCSPEC equ 1cH 65 | MS_F_READRAND equ 21H 66 | MS_F_WRITERAND equ 22H 67 | MS_F_SIZE equ 23H 68 | MS_F_RANDREC equ 24H 69 | MS_S_SETINT equ 25H 70 | MS_P_MKPSP equ 26H 71 | MS_F_READBLK equ 27H 72 | MS_F_WRITEBLK equ 28H 73 | MS_F_PARSE equ 29H 74 | MS_T_GETDATE equ 2aH 75 | MS_T_SETDATE equ 2bH 76 | MS_T_GETTIME equ 2cH 77 | MS_T_SETTIME equ 2dH 78 | MS_F_VERIFY equ 2eH 79 | MS_F_DMAGET equ 2fH 80 | MS_S_BDOSVER equ 30H 81 | MS_P_TERMKEEP equ 31H 82 | MS_S_BREAK equ 33H 83 | MS_S_GETINT equ 35H 84 | MS_DRV_SPACE equ 36H 85 | MS_S_COUNTRY equ 38H 86 | MS_X_MKDIR equ 39H 87 | MS_X_RMDIR equ 3aH 88 | MS_X_CHDIR equ 3bH 89 | MS_X_CREAT equ 3cH 90 | MS_X_OPEN equ 3dH 91 | MS_X_CLOSE equ 3eH 92 | MS_X_READ equ 3fH 93 | MS_X_WRITE equ 40H 94 | MS_X_UNLINK equ 41H 95 | MS_X_LSEEK equ 42H 96 | MS_X_CHMOD equ 43H 97 | MS_X_IOCTL equ 44H 98 | MS_X_DUP equ 45H 99 | MS_X_DUP2 equ 46H 100 | MS_X_CURDIR equ 47H 101 | MS_M_ALLOC equ 48H 102 | MS_M_FREE equ 49H 103 | MS_M_SETBLOCK equ 4aH 104 | MS_X_EXEC equ 4bH 105 | MS_X_EXIT equ 4cH 106 | MS_X_WAIT equ 4dH 107 | MS_X_FIRST equ 4eH 108 | MS_X_NEXT equ 4fH 109 | MS_P_SETPSP equ 50H 110 | MS_F_GETVERIFY equ 54H 111 | MS_X_RENAME equ 56H 112 | MS_X_DATETIME equ 57H 113 | MS_M_STRATEGY equ 58h 114 | MS_F_ERROR equ 59H 115 | MS_X_MKTEMP equ 5aH 116 | MS_X_MKNEW equ 5bH 117 | MS_F_LOCK equ 5cH 118 | MS_X_EXPAND equ 60H 119 | MS_P_GETPSP equ 62H 120 | MS_X_GETCP equ 6601h 121 | MS_X_SETCP equ 6602h 122 | MS_X_SETHC equ 67h 123 | MS_X_COMMIT equ 68h 124 | 125 | DOS_INT equ 21h ; DOS Entry Point 126 | ; 127 | STDIN equ 0 ; Standard Console Input Handle 128 | STDOUT equ 1 ; Standard Console Output Handle 129 | STDERR equ 2 ; Standard Error Output 130 | STDAUX equ 3 ; Auxilary Device Handle 131 | STDPRN equ 4 ; Printer Device Handle 132 | -------------------------------------------------------------------------------- /IBMBIO/PATCH.COD: -------------------------------------------------------------------------------- 1 | ; File : $PATCH.COD$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ;***************************************************** 35 | ;* 36 | ;* PATCH AREA -- 256 bytes long 37 | ;* 38 | ;***************************************************** 39 | 40 | patch: 41 | 42 | nop ! nop ! nop ! nop ! nop ! nop ;00-0f 43 | nop ! nop ! nop ! nop ! nop ! nop 44 | nop ! nop ! nop ! nop 45 | 46 | nop ! nop ! nop ! nop ! nop ! nop ;10-1f 47 | nop ! nop ! nop ! nop ! nop ! nop 48 | nop ! nop ! nop ! nop 49 | 50 | nop ! nop ! nop ! nop ! nop ! nop ;20-2f 51 | nop ! nop ! nop ! nop ! nop ! nop 52 | nop ! nop ! nop ! nop 53 | 54 | nop ! nop ! nop ! nop ! nop ! nop ;30-3f 55 | nop ! nop ! nop ! nop ! nop ! nop 56 | nop ! nop ! nop ! nop 57 | 58 | nop ! nop ! nop ! nop ! nop ! nop ;40-4f 59 | nop ! nop ! nop ! nop ! nop ! nop 60 | nop ! nop ! nop ! nop 61 | 62 | nop ! nop ! nop ! nop ! nop ! nop ;50-5f 63 | nop ! nop ! nop ! nop ! nop ! nop 64 | nop ! nop ! nop ! nop 65 | 66 | nop ! nop ! nop ! nop ! nop ! nop ;60-6f 67 | nop ! nop ! nop ! nop ! nop ! nop 68 | nop ! nop ! nop ! nop 69 | 70 | nop ! nop ! nop ! nop ! nop ! nop ;70-7f 71 | nop ! nop ! nop ! nop ! nop ! nop 72 | nop ! nop ! nop ! nop 73 | 74 | nop ! nop ! nop ! nop ! nop ! nop ;80-8f 75 | nop ! nop ! nop ! nop ! nop ! nop 76 | nop ! nop ! nop ! nop 77 | 78 | nop ! nop ! nop ! nop ! nop ! nop ;90-9f 79 | nop ! nop ! nop ! nop ! nop ! nop 80 | nop ! nop ! nop ! nop 81 | 82 | nop ! nop ! nop ! nop ! nop ! nop ;a0-af 83 | nop ! nop ! nop ! nop ! nop ! nop 84 | nop ! nop ! nop ! nop 85 | 86 | nop ! nop ! nop ! nop ! nop ! nop ;b0-bf 87 | nop ! nop ! nop ! nop ! nop ! nop 88 | nop ! nop ! nop ! nop 89 | 90 | nop ! nop ! nop ! nop ! nop ! nop ;c0-cf 91 | nop ! nop ! nop ! nop ! nop ! nop 92 | nop ! nop ! nop ! nop 93 | 94 | nop ! nop ! nop ! nop ! nop ! nop ;d0-df 95 | nop ! nop ! nop ! nop ! nop ! nop 96 | nop ! nop ! nop ! nop 97 | 98 | nop ! nop ! nop ! nop ! nop ! nop ;e0-ef 99 | nop ! nop ! nop ! nop ! nop ! nop 100 | nop ! nop ! nop ! nop 101 | 102 | nop ! nop ! nop ! nop ! nop ! nop ;f0-ff 103 | nop ! nop ! nop ! nop ! nop ! nop 104 | nop ! nop ! nop ! nop 105 | -------------------------------------------------------------------------------- /IBMBIO/UDSC.EQU: -------------------------------------------------------------------------------- 1 | ; File : $UDSC.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; ENDLOG 33 | 34 | 35 | UDSC_BPB_LENGTH equ 25 36 | 37 | UDSC struc 38 | UDSC_NEXT dd ? ; link to next UDSC_ 39 | UDSC_RUNIT db ? ; ROS drive number (0/1/80/81) 40 | UDSC_DRIVE db ? ; logical drive 41 | UDSC_BPB db UDSC_BPB_LENGTH dup (?) ; current BPB 42 | UDSC_FATFLAG db ? 43 | UDSC_OPNCNT dw ? ; # of files open on drive 44 | UDSC_TYPE db ? ; floppy drive type (0/1/2/7) 45 | UDSC_FLAGS dw ? ; various flags for drive 46 | UDSC_NCYL dw ? ; # of cylinders per drive 47 | UDSC_DEVBPB db UDSC_BPB_LENGTH dup (?) ; device BPB 48 | db 7 dup (?) 49 | UDSC_TIMER dw 2 dup (?) ; tick count for MEDCHK 50 | UDSC_LABEL db 12 dup (?) ; ASCIIZ volume label 51 | UDSC_SERIAL dd ? ; serial number 52 | UDSC_FSTYPE db 9 dup (?) ; ASCIIZ "FAT12"/"FAT16" type 53 | UDSC ends 54 | 55 | UDSC_LENGTH equ size UDSC 56 | 57 | UDF_HARD equ 0001h ; drive is a hard disk 58 | UDF_CHGLINE equ 0002h ; drive support disk change line 59 | UDF_UNSURE equ 0004h ; drive has just been formatted 60 | UDF_VFLOPPY equ 0010h ; drive shares physical drive 61 | UDF_OWNER equ 0020h ; logical drive "owns" physical drive 62 | UDF_MEDIA equ 0100h ; media id is from bootsec, not default 63 | 64 | MAXPART equ 26 ; support up 26 drives 65 | -------------------------------------------------------------------------------- /IBMDOS/BDOS.EQU: -------------------------------------------------------------------------------- 1 | ; File : $BDOS.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; ENDLOG 33 | ; 34 | ; Search variables 35 | ; 36 | 37 | NEXT equ 0 38 | EMPTY equ 1 39 | 40 | DOT equ 2eh ; '.' 41 | 42 | DRIVEN equ 0dh ; (0 rel) 43 | DRIVEP equ 0fh ; (0 rel) 44 | 45 | DSKMAP equ 16 46 | 47 | ; struct pcfcb 48 | 49 | DRIVE equ 0 ;drive 50 | FNAME equ 1 ;file name & type 51 | EXTENT equ 12 ;extent (0 - 31) 52 | CHKSUM equ 13 ;checksum 53 | MODULE equ 14 ;module (0 - 63) 54 | ; 0x80 - file extended flag 55 | ; 0x40 - file write flag 56 | RCDCNT equ 15 ;record count (0 - 128) 57 | PCFCB1 equ 16 ;PCDOS fcb flag byte 58 | ; 0x1f - high byte of file's dcnt 59 | ; 0x20 - hidden 60 | ; 0x40 - sub-directory 61 | ; 0x80 - always one 62 | PCFCB2 equ 17 ;same as pcfcb1 63 | LOWDCNT equ 18 ;low byte of file's dcnt 64 | CBFLAG equ 19 ;current block flag 65 | CBLOCK equ 20 ;current block (2 bytes) 66 | CBLKIDX equ 22 ;current block index (2 bytes) 67 | TIME equ 22 ;time (hhhhhmmmmmmsssss) 68 | DATE equ 24 ;date (yyyyyyymmmmddddd) 69 | BLOCK1 equ 26 ;first block in file 70 | CSIZE equ 28 ;current file size (2 words) 71 | CR equ 32 ;current record 72 | RR0 equ 33 ;random record field (byte 0) 73 | RR1 equ 34 ;random record field (byte 1) 74 | RR2 equ 35 ;random record field (byte 2) 75 | 76 | 77 | ;struct fcb 78 | 79 | FCBLEN equ 32 ; size of file control block 80 | FCBSHF equ 5 ; log2(fcblen) 81 | -------------------------------------------------------------------------------- /IBMDOS/BIN/BDEVIO.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/BDEVIO.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/BUFFERS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/BUFFERS.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/CDEVIO.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/CDEVIO.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/CIO.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/CIO.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/CMDLINE.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/CMDLINE.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/DIRS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/DIRS.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/DISK.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/DISK.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/DOSMEM.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/DOSMEM.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/ERROR.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/ERROR.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/FCBS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/FCBS.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/FDOS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/FDOS.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/FIOCTL.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/FIOCTL.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/HEADER.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/HEADER.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/HISTORY.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/HISTORY.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/IBMDOS.COM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/IBMDOS.COM -------------------------------------------------------------------------------- /IBMDOS/BIN/IBMDOS.INP: -------------------------------------------------------------------------------- 1 | ibmdos.tmp=header.obj,pcmif.obj,cio.obj,disk.obj,ioctl.obj,misc.obj,support.obj, 2 | dosmem.obj,error.obj,process.obj,network.obj,int2f.obj,fdos.obj,cdevio.obj,fioctl.obj, 3 | fcbs.obj,redir.obj,dirs.obj,buffers.obj,bdevio.obj,cmdline.obj,history.obj 4 | [map, data[origin[0000]]] 5 |  -------------------------------------------------------------------------------- /IBMDOS/BIN/IBMDOS.TMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/IBMDOS.TMP -------------------------------------------------------------------------------- /IBMDOS/BIN/INT2F.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/INT2F.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/IOCTL.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/IOCTL.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/MISC.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/MISC.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/NETWORK.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/NETWORK.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/PCMIF.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/PCMIF.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/PROCESS.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/PROCESS.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/REDIR.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/REDIR.OBJ -------------------------------------------------------------------------------- /IBMDOS/BIN/SUPPORT.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/BIN/SUPPORT.OBJ -------------------------------------------------------------------------------- /IBMDOS/CHAR.DEF: -------------------------------------------------------------------------------- 1 | ; File : $CHAR.DEF$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ;************************************************; 35 | ;* *; 36 | ;* Character Definitions *; 37 | ;* *; 38 | ;************************************************; 39 | 40 | CTLA equ 'A' - '@' 41 | CTLB equ 'B' - '@' 42 | CTLC equ 'C' - '@' 43 | CTLD equ 'D' - '@' 44 | CTLE equ 'E' - '@' 45 | CTLF equ 'F' - '@' 46 | CTLG equ 'G' - '@' 47 | BELL equ 'G' - '@' 48 | CTLH equ 'H' - '@' 49 | CTLI equ 'I' - '@' 50 | TAB equ 'I' - '@' 51 | CTLJ equ 'J' - '@' 52 | LF equ 'J' - '@' 53 | CTLK equ 'K' - '@' 54 | CTLM equ 'M' - '@' 55 | CR equ 'M' - '@' 56 | CTLP equ 'P' - '@' 57 | CTLQ equ 'Q' - '@' 58 | CTLR equ 'R' - '@' 59 | CTLS equ 'S' - '@' 60 | CTLT equ 'T' - '@' 61 | CTLU equ 'U' - '@' 62 | CTLV equ 'V' - '@' 63 | CTLW equ 'W' - '@' 64 | CTLX equ 'X' - '@' 65 | CTLY equ 'Y' - '@' 66 | CTLZ equ 'Z' - '@' 67 | ESC equ '[' - '@' 68 | CTLBS equ '\' - '@' 69 | CTLUB equ '_' - '@' 70 | CTLUP equ '^' - '@' 71 | DEL equ 07Fh 72 | RUBOUT equ DEL 73 | 74 | CTL equ '^' 75 | -------------------------------------------------------------------------------- /IBMDOS/CMDLINE.EQU: -------------------------------------------------------------------------------- 1 | ; File : $CMDLINE.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | RL_INPUT equ word ptr -2[bp] ; READ_LINE Input Handle 36 | RL_OUTPUT equ word ptr -4[bp] ; READ_LINE Output Handle 37 | RL_BUFSEG equ word ptr -6[bp] ; Retained line Segment 38 | RL_BUFOFF equ word ptr -8[bp] ; Retained line Offset 39 | RL_BUFPTR equ dword ptr -8[bp] ; Retained line Buffer 40 | RL_INICOL equ word ptr -10[bp] ; initial column 41 | RL_FLAGS equ word ptr -12[bp] ; Control Flags 42 | RL_MAXLEN equ word ptr -14[bp] ; Maximum Buffer Size 43 | RL_KANJI equ word ptr -16[bp] ; Kanji Character Buffer 44 | RL_SAVMAX equ word ptr -18[bp] ; Size of retained data 45 | RL_SAVPOS equ word ptr -20[bp] ; Current Position in data 46 | RL_HIST_RECL equ word ptr -22[bp] ; We recall from here 47 | RL_HIST_SAVE equ word ptr -24[bp] ; We save to here 48 | RL_HIST_SIZE equ word ptr -26[bp] ; buffer is this big 49 | RL_HIST_SEG equ word ptr -28[bp] ; buffer is at this segment 50 | RL_LENGTH equ 28 51 | 52 | RLF_ENHANCED equ 0000$0001b ; Enhanced features are on 53 | RLF_INS equ 0000$0010b ; Insert Flag 54 | RLF_SEARCH equ 0000$0100b ; Search mode on 55 | RLF_MATCH equ 0000$1000b ; We are matching a command 56 | RLF_RECALLED equ 0001$0000b ; Line already recalled 57 | RLF_DIRTY equ 0010$0000b ; Partial line needs saved 58 | RLF_KANJI equ 0100$0000b ; RL_KANJI is valid 59 | RLF_INROOT equ 1000$0000b ; In root 60 | 61 | CHAR_SPACE equ 0000$0001b ; Space Character 62 | CHAR_TAB equ 0000$0010b ; Tab Character 63 | CHAR_CTL equ 0000$0100b ; Control Character expanded to "^X" 64 | CHAR_KANJI equ 0000$1000b ; Japanese Kanji character 65 | CHAR_ALPHAN equ 0001$0000b ; Alpha/Numeric 66 | CHAR_OTHER equ 0010$0000b ; Non AlphaNumeric 67 | CHAR_STD equ 1000$0000b ; Stored as a Byte displayed in 1 Col 68 | 69 | CHAR_SIZE equ CHAR_STD or CHAR_KANJI or CHAR_TAB or CHAR_CTL 70 | CHAR_ONECOL equ CHAR_SPACE or CHAR_OTHER or CHAR_ALPHAN 71 | -------------------------------------------------------------------------------- /IBMDOS/COUNTRY.A86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/IBMDOS/COUNTRY.A86 -------------------------------------------------------------------------------- /IBMDOS/COUNTRY.DEF: -------------------------------------------------------------------------------- 1 | ; File : $COUNTRY.DEF$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | US_DATE equ 0 ; American Date Format mm/dd/yy 36 | EURO_DATE equ 1 ; European Date Format dd/mm/yy 37 | JAP_DATE equ 2 ; Japanese Date Format yy/mm/dd 38 | 39 | CLOCK_12 equ 0 ; 12 Hour Clock Time Format 40 | CLOCK_24 equ 1 ; 24 Hour Clock Time Format 41 | 42 | CI_CODE equ word ptr 0FFFCh ; Country Code 43 | CI_CODEPAGE equ word ptr 0FFFEh ; Code page 44 | CI_DATEFMT equ word ptr 0 ; Date Format 45 | CI_CURRENCY equ byte ptr 2 ; Currency Symbols 46 | CI_THOUSANDS equ byte ptr 7 ; Thousands Separator 47 | CI_DECIMAL equ byte ptr 9 ; Decimal Separator 48 | CI_DATESEP equ byte ptr 11 ; Date Separator 49 | CI_TIMESEP equ byte ptr 13 ; Time Separator 50 | CI_CURFMT equ byte ptr 15 ; Currency Format 51 | CI_CURDIGITS equ byte ptr 16 ; Significant Currency Digits 52 | CI_TIMEFMT equ byte ptr 17 ; Time Format 53 | CI_CASEOFF equ word ptr 18 ; Case Translation Offset 54 | CI_CASESEG equ word ptr 20 ; Case Translation Segment 55 | CI_DATASEP equ byte ptr 22 ; Data List Separator 56 | CI_STATICLEN equ 24 ; Static Country Data Length 57 | CI_LENGTH equ 32 ; Total Country Data Length 58 | 59 | EXI_ID equ byte ptr 0 ; Information ID 60 | EXI_TBLOFF equ word ptr 1 ; Table Offset 61 | EXI_TBLSEG equ word ptr 3 ; Table Segment 62 | 63 | EXI_ID1 equ byte ptr 0 ; 6501 Info ID (why move it?!) 64 | EXI_LENGTH equ word ptr 1 ; 6501 Table Length 65 | EXI_DATA_LEN equ 3 ; 6501 Country Data 66 | 67 | EXCI_CUR_COUNTRY equ word ptr 0 ; Current Country 68 | EXCI_CUR_CP equ word ptr 2 ; Current Codepage 69 | EXCI_CI_DATAOFF equ 4 ; Start of CI_ data 70 | 71 | EXCI_STATLEN equ CI_STATICLEN+4 ; Static Ext Country Info 72 | EXCI_MAXLEN equ EXCI_STATLEN+10+EXI_DATA_LEN ; Max Ext Country Info 73 | 74 | -------------------------------------------------------------------------------- /IBMDOS/DRIVER.EQU: -------------------------------------------------------------------------------- 1 | ; File : $DRIVER.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ; Device driver header offsets. 35 | 36 | 37 | DH_NEXT equ es:dword ptr 0 ; Dword Pointer to Next DEV 38 | DH_NEXTOFF equ es:word ptr 0 ; Offset of next device 39 | DH_NEXTSEG equ es:word ptr 2 ; Segment of next device 40 | DH_ATTRIB equ es:word ptr 4 ; device attribute bits 41 | DH_STRATEGY equ es:word ptr 6 ; offset of strategy entry 42 | DH_INTERRUPT equ es:word ptr 8 ; offset of interupt entry 43 | DH_NAME equ es:byte ptr 10 ; 8-BYTE device name 44 | 45 | DA_CHARDEV equ 8000h ; 1=character device, 0=block device 46 | DA_IOCTL equ 4000h ; device supports IOCTL string I/O 47 | DA_NONIBM equ 2000h ; dosen't require FAT for login 48 | DA_OTILBSY equ 2000h ; supports "output until busy" 49 | DA_REMOVE equ 0800h ; supports "removable media" check 50 | DA_QUERY equ 0080h ; supports query ioctl 51 | DA_GETSET equ 0040h ; supports 3.2 level functionality 52 | DA_SPECIAL equ 0010h ; fast console ouput via INT 29h 53 | DA_ISCLK equ 0008h ; device is current clock device 54 | DA_ISNUL equ 0004h ; device is NUL device (reserved) 55 | DA_BIGDRV equ 0002h ; supports > 65535 sector per drive 56 | DA_ISCOT equ 0002h ; device is standard output device 57 | DA_ISCIN equ 0001h ; device is standard input device 58 | 59 | FASTCON_INT equ 29h ; fast console output interrupt 60 | 61 | -------------------------------------------------------------------------------- /IBMDOS/EXE.DEF: -------------------------------------------------------------------------------- 1 | ; File : $EXE.DEF$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ; 35 | ; This file defines the DOS .EXE file Header 36 | 37 | 38 | EXE_SIGNATURE equ word ptr 0 ; 0000 Valid EXE contains 'MZ' 39 | EXE_FINAL equ word ptr EXE_SIGNATURE+2; 0002 Image Length MOD 512 40 | EXE_SIZE equ word ptr EXE_FINAL+2 ; 0004 Image Length DIV 512 41 | EXE_RELCNT equ word ptr EXE_SIZE+2 ; 0006 No. of Relocation Items 42 | EXE_HEADER equ word ptr EXE_RELCNT+2 ; 0008 Header Size in paragraphs 43 | EXE_MINPARA equ word ptr EXE_HEADER+2 ; 000A Minimum No extra paragraphs 44 | EXE_MAXPARA equ word ptr EXE_MINPARA+2 ; 000C Maximum No of extra paragraphs 45 | EXE_SS equ word ptr EXE_MAXPARA+2 ; 000E Displacment of Stack Segment 46 | EXE_SP equ word ptr EXE_SS+2 ; 0010 Initial SP 47 | EXE_CHECKSUM equ word ptr EXE_SP+2 ; 0012 Negative CheckSum 48 | EXE_IP equ word ptr EXE_CHECKSUM+2 ; 0014 Initial IP 49 | EXE_CS equ word ptr EXE_IP+2 ; 0016 Code Segment displacement 50 | EXE_RELOFF equ word ptr EXE_CS+2 ; 0018 Byte Offset of First REL item 51 | EXE_OVERLAY equ word ptr EXE_RELOFF+2 ; 001A Overlay Number (0 == Resident) 52 | EXE_LENGTH equ 001Ch 53 | -------------------------------------------------------------------------------- /IBMDOS/FDOS.DEF: -------------------------------------------------------------------------------- 1 | ; File : $FDOS.DEF$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | FD_DISKINFO equ 48h 36 | FD_FLUSH equ 49h 37 | FD_SELECT equ 4Ah 38 | FD_EXEC equ 4Bh 39 | FD_EXIT equ 4Ch 40 | FD_FCB equ 4Dh 41 | FD_COMMIT equ 50H 42 | FD_NEW equ 51h 43 | FD_LOCK equ 52h 44 | FD_DDIO equ 54h 45 | FD_EXPAND equ 55h 46 | FD_REOPEN equ 58h 47 | 48 | FDOS_MAXPARM equ 7 ; Maximum FDOS Parameter Length (WORDS) 49 | 50 | FD_FUNC equ fdos_data 51 | 52 | FD_DRIVE equ fdos_data + 2 53 | FD_DPB equ dword ptr fdos_data + 4 54 | FD_DPBOFF equ fdos_data + 4 55 | FD_DPBSEG equ fdos_data + 6 56 | FD_ADJUST equ fdos_data + 8 57 | 58 | FD_NAME equ dword ptr fdos_data + 2 59 | FD_NAMEOFF equ fdos_data + 2 60 | FD_NAMESEG equ fdos_data + 4 61 | 62 | FD_MODE equ fdos_data + 6 63 | 64 | FD_HANDLE equ fdos_data + 2 65 | 66 | FD_BUF equ dword ptr fdos_data + 4 67 | FD_BUFOFF equ fdos_data + 4 68 | FD_BUFSEG equ fdos_data + 6 69 | 70 | FD_COUNT equ fdos_data + 8 71 | 72 | FD_OFFSET equ dword ptr fdos_data + 4 73 | 74 | FD_METHOD equ fdos_data + 8 75 | 76 | FD_FLAG equ fdos_data + 6 77 | 78 | FD_ATTRIB equ fdos_data + 8 79 | 80 | FD_PATH equ dword ptr fdos_data + 4 81 | FD_PATHOFF equ fdos_data + 4 82 | FD_PATHSEG equ fdos_data + 6 83 | 84 | FD_ONAME equ dword ptr fdos_data + 2 85 | FD_ONAMEOFF equ fdos_data + 2 86 | FD_ONAMESEG equ fdos_data + 4 87 | 88 | FD_NNAME equ dword ptr fdos_data + 10 89 | FD_NNAMEOFF equ fdos_data + 10 90 | FD_NNAMESEG equ fdos_data + 12 91 | 92 | FD_SFLAG equ fdos_data + 4 93 | FD_DATE equ fdos_data + 6 94 | FD_TIME equ fdos_data + 8 95 | 96 | FD_LENGTH equ dword ptr fdos_data + 8 97 | FD_LFLAG equ word ptr fdos_data + 12 98 | 99 | FD_NEWHND equ fdos_data + 4 100 | 101 | FD_FCBADR equ dword ptr fdos_data + 2 102 | FD_FCBOFF equ fdos_data + 2 103 | FD_FCBSEG equ fdos_data + 4 104 | 105 | FD_FCBCNT equ fdos_data + 6 106 | FD_FCBFUNC equ fdos_data + 8 107 | 108 | FD_PSPSEG equ fdos_data + 2 109 | 110 | FD_BPBOFF equ fdos_data + 2 111 | FD_BPBSEG equ fdos_data + 4 112 | FD_DDSCOFF equ fdos_data + 6 113 | FD_DDSCSEG equ fdos_data + 8 114 | 115 | FD_IOCTLFUNC equ fdos_data + 4 116 | FD_IOCTLSTAT equ fdos_data + 6 117 | 118 | FD_NUMOPEN equ fdos_data + 2 119 | 120 | FD_DDIO_DRV_OP equ fdos_data + 2 121 | FD_DDIO_NSECTORS equ fdos_data + 4 122 | FD_DDIO_STARTLOW equ fdos_data + 6 123 | FD_DDIO_STARTHIGH equ fdos_data + 8 124 | FD_DDIO_DMAOFF equ fdos_data + 10 125 | FD_DDIO_DMASEG equ fdos_data + 12 126 | 127 | -------------------------------------------------------------------------------- /IBMDOS/IBMDOS.INP: -------------------------------------------------------------------------------- 1 | ibmdos.tmp=header.obj,pcmif.obj,cio.obj,disk.obj,ioctl.obj,misc.obj,support.obj, 2 | dosmem.obj,error.obj,process.obj,network.obj,int2f.obj,fdos.obj,cdevio.obj,fioctl.obj, 3 | fcbs.obj,redir.obj,dirs.obj,buffers.obj,bdevio.obj,cmdline.obj,history.obj 4 | [map, data[origin[0000]]] 5 |  -------------------------------------------------------------------------------- /IBMDOS/MAKE.BAT: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | 3 | SET TOOLS=C:\TOOLS 4 | 5 | REM 6 | REM YOU SHOULD NOT HAVE TO CHANGE ANYTHING BELOW THIS LINE. 7 | REM 8 | 9 | REM Define local Caldera tools 10 | SET LOCTOOLS=..\LTOOLS 11 | 12 | IF NOT EXIST BIN\*.* MD BIN 13 | 14 | REM ****************************************** 15 | REM Build the .A86 files next, get the obj's 16 | REM ****************************************** 17 | 18 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\buffers.a86 .\bin\buffers.obj $szpz /DDELWATCH /DDOS5 19 | IF ERRORLEVEL 1 GOTO FAILED 20 | 21 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\dirs.a86 .\bin\dirs.obj $szpz /DDELWATCH 22 | IF ERRORLEVEL 1 GOTO FAILED 23 | 24 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\fdos.a86 .\bin\fdos.obj $szpz /DDELWATCH /DKANJI /DDOS5 /DPASSWORD /DJOIN /DUNDELETE 25 | IF ERRORLEVEL 1 GOTO FAILED 26 | 27 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\fcbs.a86 .\bin\fcbs.obj 28 | IF ERRORLEVEL 1 GOTO FAILED 29 | 30 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\bdevio.a86 .\bin\bdevio.obj $szpz /DDELWATCH /DDOS5 /DJOIN 31 | IF ERRORLEVEL 1 GOTO FAILED 32 | 33 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\cdevio.a86 .\bin\cdevio.obj $szpz /DDOS5 34 | IF ERRORLEVEL 1 GOTO FAILED 35 | 36 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\fioctl.a86 .\bin\fioctl.obj $szpz /DPASSWORD /DJOIN /DDOS5 37 | IF ERRORLEVEL 1 GOTO FAILED 38 | 39 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\redir.a86 .\bin\redir.obj $szpz /DKANJI /DDOS5 /DJOIN 40 | IF ERRORLEVEL 1 GOTO FAILED 41 | 42 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\header.a86 .\bin\header.obj $szpz /DDOS5 43 | IF ERRORLEVEL 1 GOTO FAILED 44 | 45 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\pcmif.a86 .\bin\pcmif.obj $szpz /DDOS5 46 | IF ERRORLEVEL 1 GOTO FAILED 47 | 48 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\cio.a86 .\bin\cio.obj 49 | IF ERRORLEVEL 1 GOTO FAILED 50 | 51 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\disk.a86 .\bin\disk.obj $szpz /DDELWATCH 52 | IF ERRORLEVEL 1 GOTO FAILED 53 | 54 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\ioctl.a86 .\bin\ioctl.obj $szpz /DPASSWORD /DDOS5 55 | IF ERRORLEVEL 1 GOTO FAILED 56 | 57 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\misc.a86 .\bin\misc.obj $szpz /DDOS5 58 | IF ERRORLEVEL 1 GOTO FAILED 59 | 60 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\support.a86 .\bin\support.obj 61 | IF ERRORLEVEL 1 GOTO FAILED 62 | 63 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\dosmem.a86 .\bin\dosmem.obj 64 | IF ERRORLEVEL 1 GOTO FAILED 65 | 66 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\error.a86 .\bin\error.obj 67 | IF ERRORLEVEL 1 GOTO FAILED 68 | 69 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\process.a86 .\bin\process.obj $szpz /DDOS5 70 | IF ERRORLEVEL 1 GOTO FAILED 71 | 72 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\network.a86 .\bin\network.obj 73 | IF ERRORLEVEL 1 GOTO FAILED 74 | 75 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\int2f.a86 .\bin\int2f.obj $szpz /DDOS5 /DDELWATCH 76 | IF ERRORLEVEL 1 GOTO FAILED 77 | 78 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\history.a86 .\bin\history.obj 79 | IF ERRORLEVEL 1 GOTO FAILED 80 | 81 | %LOCTOOLS%\rasm_sh %LOCTOOLS%\rasm86.exe . .\cmdline.a86 .\bin\cmdline.obj 82 | IF ERRORLEVEL 1 GOTO FAILED 83 | 84 | copy ibmdos.inp .\BIN 85 | CD .\BIN 86 | ..\%LOCTOOLS%\linkcmd.exe ibmdos[i] 87 | IF ERRORLEVEL 1 GOTO FAILED 88 | CD .. 89 | %LOCTOOLS%\bin2asc -ob -s128 .\BIN\ibmdos.tmp .\BIN\ibmdos.com 90 | IF ERRORLEVEL 1 GOTO FAILED 91 | %LOCTOOLS%\compbdos .\BIN\ibmdos.com 92 | IF ERRORLEVEL 1 GOTO FAILED 93 | goto exit 94 | 95 | :failed 96 | ECHO Error in Build! 97 | goto exit 98 | 99 | :badtool 100 | ECHO Can't find that tool! 101 | 102 | :exit 103 | REM ********* 104 | REM CLEANUP 105 | REM ********* 106 | 107 | SET TOOLS= 108 | SET LTOOLS= 109 |  -------------------------------------------------------------------------------- /IBMDOS/MSDOS.EQU: -------------------------------------------------------------------------------- 1 | ; File : $MSDOS.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | 35 | 36 | MS_P_TERMCPM equ 00H 37 | MS_C_READ equ 01H 38 | MS_C_WRITE equ 02H 39 | MS_A_READ equ 03H 40 | MS_A_WRITE equ 04H 41 | MS_L_WRITE equ 05H 42 | MS_C_RAWIO equ 06H 43 | MS_C_RAWIN equ 07H 44 | MS_C_NOECHO equ 08H 45 | MS_C_WRITESTR equ 09H 46 | MS_C_READSTR equ 0aH 47 | MS_C_STAT equ 0bH 48 | MS_C_FLUSH equ 0cH 49 | MS_DRV_ALLRESET equ 0dH 50 | MS_DRV_SET equ 0eH 51 | MS_F_OPEN equ 0fH 52 | MS_F_CLOSE equ 10H 53 | MS_F_SFIRST equ 11H 54 | MS_F_SNEXT equ 12H 55 | MS_F_DELETE equ 13H 56 | MS_F_READ equ 14H 57 | MS_F_WRITE equ 15H 58 | MS_F_MAKE equ 16H 59 | MS_F_RENAME equ 17H 60 | MS_DRV_GET equ 19H 61 | MS_F_DMAOFF equ 1aH 62 | MS_DRV_ALLOC equ 1bH 63 | MS_DRV_ALLOCSPEC equ 1cH 64 | MS_F_READRAND equ 21H 65 | MS_F_WRITERAND equ 22H 66 | MS_F_SIZE equ 23H 67 | MS_F_RANDREC equ 24H 68 | MS_S_SETINT equ 25H 69 | MS_P_MKPSP equ 26H 70 | MS_F_READBLK equ 27H 71 | MS_F_WRITEBLK equ 28H 72 | MS_F_PARSE equ 29H 73 | MS_T_GETDATE equ 2aH 74 | MS_T_SETDATE equ 2bH 75 | MS_T_GETTIME equ 2cH 76 | MS_T_SETTIME equ 2dH 77 | MS_F_VERIFY equ 2eH 78 | MS_F_DMAGET equ 2fH 79 | MS_S_BDOSVER equ 30H 80 | MS_P_TERMKEEP equ 31H 81 | MS_S_BREAK equ 33H 82 | MS_S_GETINT equ 35H 83 | MS_DRV_SPACE equ 36H 84 | MS_S_COUNTRY equ 38H 85 | MS_X_MKDIR equ 39H 86 | MS_X_RMDIR equ 3aH 87 | MS_X_CHDIR equ 3bH 88 | MS_X_CREAT equ 3cH 89 | MS_X_OPEN equ 3dH 90 | MS_X_CLOSE equ 3eH 91 | MS_X_READ equ 3fH 92 | MS_X_WRITE equ 40H 93 | MS_X_UNLINK equ 41H 94 | MS_X_LSEEK equ 42H 95 | MS_X_CHMOD equ 43H 96 | MS_X_IOCTL equ 44H 97 | MS_X_DUP equ 45H 98 | MS_X_DUP2 equ 46H 99 | MS_X_CURDIR equ 47H 100 | MS_M_ALLOC equ 48H 101 | MS_M_FREE equ 49H 102 | MS_M_SETBLOCK equ 4aH 103 | MS_X_EXEC equ 4bH 104 | MS_X_EXIT equ 4cH 105 | MS_X_WAIT equ 4dH 106 | MS_X_FIRST equ 4eH 107 | MS_X_NEXT equ 4fH 108 | MS_P_SETPSP equ 50H 109 | MS_F_GETVERIFY equ 54H 110 | MS_X_RENAME equ 56H 111 | MS_X_DATETIME equ 57H 112 | MS_M_STRATEGY equ 58h 113 | MS_F_ERROR equ 59H 114 | MS_X_MKTEMP equ 5aH 115 | MS_X_MKNEW equ 5bH 116 | MS_F_LOCK equ 5cH 117 | MS_X_EXPAND equ 60H 118 | MS_P_GETPSP equ 62H 119 | MS_X_GETCP equ 6601h 120 | MS_X_SETCP equ 6602h 121 | MS_X_SETHC equ 67h 122 | MS_X_COMMIT equ 68h 123 | 124 | DOS_INT equ 21h ; DOS Entry Point 125 | ; 126 | STDIN equ 0 ; Standard Console Input Handle 127 | STDOUT equ 1 ; Standard Console Output Handle 128 | STDERR equ 2 ; Standard Error Output 129 | STDAUX equ 3 ; Auxilary Device Handle 130 | STDPRN equ 4 ; Printer Device Handle 131 | -------------------------------------------------------------------------------- /IBMDOS/PATCH.COD: -------------------------------------------------------------------------------- 1 | ; File : $PATCH.COD$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ;***************************************************** 35 | ;* 36 | ;* PATCH AREA -- 256 bytes long 37 | ;* 38 | ;***************************************************** 39 | 40 | patch: 41 | 42 | nop ! nop ! nop ! nop ! nop ! nop ;00-0f 43 | nop ! nop ! nop ! nop ! nop ! nop 44 | nop ! nop ! nop ! nop 45 | 46 | nop ! nop ! nop ! nop ! nop ! nop ;10-1f 47 | nop ! nop ! nop ! nop ! nop ! nop 48 | nop ! nop ! nop ! nop 49 | 50 | nop ! nop ! nop ! nop ! nop ! nop ;20-2f 51 | nop ! nop ! nop ! nop ! nop ! nop 52 | nop ! nop ! nop ! nop 53 | 54 | nop ! nop ! nop ! nop ! nop ! nop ;30-3f 55 | nop ! nop ! nop ! nop ! nop ! nop 56 | nop ! nop ! nop ! nop 57 | 58 | nop ! nop ! nop ! nop ! nop ! nop ;40-4f 59 | nop ! nop ! nop ! nop ! nop ! nop 60 | nop ! nop ! nop ! nop 61 | 62 | nop ! nop ! nop ! nop ! nop ! nop ;50-5f 63 | nop ! nop ! nop ! nop ! nop ! nop 64 | nop ! nop ! nop ! nop 65 | 66 | nop ! nop ! nop ! nop ! nop ! nop ;60-6f 67 | nop ! nop ! nop ! nop ! nop ! nop 68 | nop ! nop ! nop ! nop 69 | 70 | nop ! nop ! nop ! nop ! nop ! nop ;70-7f 71 | nop ! nop ! nop ! nop ! nop ! nop 72 | nop ! nop ! nop ! nop 73 | 74 | nop ! nop ! nop ! nop ! nop ! nop ;80-8f 75 | nop ! nop ! nop ! nop ! nop ! nop 76 | nop ! nop ! nop ! nop 77 | 78 | nop ! nop ! nop ! nop ! nop ! nop ;90-9f 79 | nop ! nop ! nop ! nop ! nop ! nop 80 | nop ! nop ! nop ! nop 81 | 82 | nop ! nop ! nop ! nop ! nop ! nop ;a0-af 83 | nop ! nop ! nop ! nop ! nop ! nop 84 | nop ! nop ! nop ! nop 85 | 86 | nop ! nop ! nop ! nop ! nop ! nop ;b0-bf 87 | nop ! nop ! nop ! nop ! nop ! nop 88 | nop ! nop ! nop ! nop 89 | 90 | nop ! nop ! nop ! nop ! nop ! nop ;c0-cf 91 | nop ! nop ! nop ! nop ! nop ! nop 92 | nop ! nop ! nop ! nop 93 | 94 | nop ! nop ! nop ! nop ! nop ! nop ;d0-df 95 | nop ! nop ! nop ! nop ! nop ! nop 96 | nop ! nop ! nop ! nop 97 | 98 | nop ! nop ! nop ! nop ! nop ! nop ;e0-ef 99 | nop ! nop ! nop ! nop ! nop ! nop 100 | nop ! nop ! nop ! nop 101 | 102 | nop ! nop ! nop ! nop ! nop ! nop ;f0-ff 103 | nop ! nop ! nop ! nop ! nop ! nop 104 | nop ! nop ! nop ! nop 105 | -------------------------------------------------------------------------------- /IBMDOS/REDIR.EQU: -------------------------------------------------------------------------------- 1 | ; File : $REDIR.EQU$ 2 | ; 3 | ; Description : 4 | ; 5 | ; Original Author : DIGITAL RESEARCH 6 | ; 7 | ; Last Edited By : $CALDERA$ 8 | ; 9 | ;-----------------------------------------------------------------------; 10 | ; Copyright Work of Caldera, Inc. All Rights Reserved. 11 | ; 12 | ; THIS WORK IS A COPYRIGHT WORK AND CONTAINS CONFIDENTIAL, 13 | ; PROPRIETARY AND TRADE SECRET INFORMATION OF CALDERA, INC. 14 | ; ACCESS TO THIS WORK IS RESTRICTED TO (I) CALDERA, INC. EMPLOYEES 15 | ; WHO HAVE A NEED TO KNOW TO PERFORM TASKS WITHIN THE SCOPE OF 16 | ; THEIR ASSIGNMENTS AND (II) ENTITIES OTHER THAN CALDERA, INC. WHO 17 | ; HAVE ACCEPTED THE CALDERA OPENDOS SOURCE LICENSE OR OTHER CALDERA LICENSE 18 | ; AGREEMENTS. EXCEPT UNDER THE EXPRESS TERMS OF THE CALDERA LICENSE 19 | ; AGREEMENT NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED, 20 | ; COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED, ABRIDGED, 21 | ; CONDENSED, EXPANDED, COLLECTED, COMPILED, LINKED, RECAST, 22 | ; TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN CONSENT OF 23 | ; CALDERA, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT 24 | ; AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND 25 | ; CIVIL LIABILITY. 26 | ;-----------------------------------------------------------------------; 27 | ; 28 | ; *** Current Edit History *** 29 | ; *** End of Current Edit History *** 30 | ; 31 | ; $Log$ 32 | ; 33 | ; ENDLOG 34 | ; Int 2F AH=11 msnet redirector hook equates 35 | 36 | I2F_PRESCENCE equ 1100h 37 | I2F_RMDIR equ 1101h 38 | I2F_MKDIR equ 1103h 39 | I2F_CHDIR equ 1105h 40 | I2F_CLOSE equ 1106h 41 | I2F_COMMIT equ 1107h 42 | I2F_READ equ 1108h 43 | I2F_WRITE equ 1109h 44 | I2F_LOCK equ 110Ah 45 | I2F_UNLOCK equ 110Bh 46 | I2F_SPACE equ 110Ch 47 | I2F_SET_ATTR equ 110Eh 48 | I2F_GET_ATTR equ 110Fh 49 | I2F_REN equ 1111h 50 | I2F_DEL equ 1113h 51 | I2F_OPEN equ 1116h 52 | I2F_CREATE equ 1117h 53 | I2F_XCREATE equ 1118h 54 | I2F_XSFIRST equ 1119h 55 | I2F_SFIRST equ 111Bh 56 | I2F_SNEXT equ 111Ch 57 | I2F_PCLOSE equ 111Dh 58 | I2F_REDIR_5F equ 111Eh 59 | I2F_REDIR_5E equ 111Fh 60 | I2F_FLUSH equ 1120h 61 | I2F_LSEEK equ 1121h 62 | I2F_PTERM equ 1122h 63 | I2F_PPATH equ 1123h 64 | I2F_CTLP_ERR equ 1124h 65 | I2F_REDIR_5D equ 1125h 66 | I2F_CTLP equ 1126h 67 | 68 | -------------------------------------------------------------------------------- /LTOOLS/BIN2ASC.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/BIN2ASC.EXE -------------------------------------------------------------------------------- /LTOOLS/COMPBDOS.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/COMPBDOS.EXE -------------------------------------------------------------------------------- /LTOOLS/COMPBIOS.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/COMPBIOS.EXE -------------------------------------------------------------------------------- /LTOOLS/CWSDPMI.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/CWSDPMI.EXE -------------------------------------------------------------------------------- /LTOOLS/EXE2BIN.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/EXE2BIN.EXE -------------------------------------------------------------------------------- /LTOOLS/FIXUPP.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/FIXUPP.EXE -------------------------------------------------------------------------------- /LTOOLS/LINKCMD.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/LINKCMD.EXE -------------------------------------------------------------------------------- /LTOOLS/PATCH.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/PATCH.EXE -------------------------------------------------------------------------------- /LTOOLS/RASM86.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/RASM86.EXE -------------------------------------------------------------------------------- /LTOOLS/RASM_SH.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/LTOOLS/RASM_SH.EXE -------------------------------------------------------------------------------- /PATCHES/DR70103.DIF: -------------------------------------------------------------------------------- 1 | diff -u -P -r dr70102/ibmbio/biosmsgs.asm dr70103/ibmbio/biosmsgs.asm 2 | --- dr70102/ibmbio/biosmsgs.asm 2002-07-16 12:46:00.000000000 +0000 3 | +++ dr70103/ibmbio/biosmsgs.asm 2003-01-13 10:26:56.000000000 +0000 4 | @@ -27,7 +27,7 @@ 5 | public _starting_dos_msg 6 | public starting_dos_msg 7 | starting_dos_msg label byte 8 | -_starting_dos_msg db CR, LF, "Starting Caldera OpenDOS 7.01.02", CR, LF, NUL 9 | +_starting_dos_msg db CR, LF, "Starting Caldera OpenDOS 7.01.03", CR, LF, NUL 10 | public _lba_supp_msg 11 | public lba_supp_msg 12 | lba_supp_msg label byte 13 | diff -u -P -r dr70102/ibmbio/disk.asm dr70103/ibmbio/disk.asm 14 | --- dr70102/ibmbio/disk.asm 2002-07-16 12:43:56.000000000 +0000 15 | +++ dr70103/ibmbio/disk.asm 2003-01-17 14:15:16.000000000 +0000 16 | @@ -173,6 +173,7 @@ 17 | extrn req_off:word 18 | extrn req_seg:word 19 | extrn output_msg:near 20 | + extrn output_hex:near 21 | 22 | 23 | udsc_root label dword 24 | @@ -2190,6 +2191,8 @@ 25 | ver_21 db "2.1/EDD-1.1",CR,LF,NUL 26 | ver_30 db "EDD-3.0",CR,LF,NUL 27 | 28 | +lastpart dw 0 ; last checked partition 29 | + 30 | hard_init: ; setup all hard disk units 31 | ;--------- 32 | ; mov log_flag,LOG_PRIM ; log in primary only initially 33 | @@ -2210,6 +2213,7 @@ 34 | xchg ax,cx ; CX = # of hard disks 35 | mov dl,80h ; start with first hard disk 36 | hardi1: 37 | + mov lastpart,0 38 | pushx ; save drive count, physical drive 39 | mov ah,ROS_LBACHK ; int 13 extensions available? 40 | mov bx,55aah 41 | @@ -2358,9 +2362,18 @@ 42 | log_h6b: 43 | mov dh,1[si] ; get head # for next table 44 | mov cx,2[si] ; get cylinder, sector for next table 45 | + xchg ch,cl ; compute 10-bit cylinder number 46 | + rol ch,1 47 | + rol ch,1 48 | + and cx,3ffh 49 | + cmp cx,lastpart ; check for loops/partition out of bounds 50 | + jng log_h7 51 | + mov lastpart,cx ; store cylinder number for comparison 52 | + mov cx,2[si] 53 | jmp log_h1 ; read & scan next partition table 54 | 55 | log_h7: ; entry not an extended partition 56 | + mov cx,2[si] 57 | add si,16 ; next partition table entry 58 | cmp si,CG:local_buffer+IDOFF; all partitions checked? 59 | jb log_h6 ; loop back if more 60 | diff -u -P -r dr70102/ibmbio/init.asm dr70103/ibmbio/init.asm 61 | --- dr70102/ibmbio/init.asm 2002-07-16 00:08:00.000000000 +0000 62 | +++ dr70103/ibmbio/init.asm 2003-01-09 01:16:56.000000000 +0000 63 | @@ -48,6 +48,7 @@ 64 | include BPB.EQU 65 | include UDSC.EQU 66 | include DRIVER.EQU 67 | + include KEYS.EQU ; common key definitions 68 | 69 | ; IBM AT Hardware equates 70 | 71 | @@ -865,6 +866,43 @@ 72 | jnz output_msg10 73 | ret 74 | 75 | + public output_hex 76 | +output_hex: 77 | +;---------------- 78 | +; On Entry: 79 | +; dx = 2 byte hex value 80 | +; On Exit: 81 | +; None 82 | +; Used Regs: 83 | +; ax,bx,cx,dx,si 84 | + mov cx,4 85 | + mov ah,0eh 86 | + mov bx,7 87 | +output_hex10: 88 | + mov al,dh 89 | + push cx 90 | + mov cl,4 91 | + shr al,cl 92 | + pop cx 93 | + and al,0fh 94 | + cmp al,09h ; greater 0-9? 95 | + jg output_hex20 96 | + add al,30h 97 | + jmp output_hex30 98 | +output_hex20: 99 | + add al,37h 100 | +output_hex30: 101 | + int VIDEO_INT 102 | + push cx 103 | + mov cl,4 104 | + shl dx,cl 105 | + pop cx 106 | + loop output_hex10 107 | + mov si,CG:output_hex40 108 | + call output_msg 109 | + ret 110 | +output_hex40 db CR,LF,NUL ; end of string 111 | + 112 | get_boot_options: 113 | ;---------------- 114 | ; On Entry: 115 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | (Please note that the links in this document no longer work) 4 | 5 | Many PC users in the world use DR-DOS because of its advanced features. 6 | In mid 2002, however, the development of DR-DOS seemed to have stopped and the 7 | last version had been released more than three years ago. Since there is no 8 | other PC operating system that combines so many useful features with full PC 9 | compatibility, I decided to write my own set of patches for DR-DOS to fix some 10 | bugs and add support for new standards. 11 | Since the source code of later versions of DR-DOS was not freely available, I 12 | decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 13 | the base for my work. 14 | Originally, I had only planned to make minor modifications to DR-DOS 7.01, like 15 | adding support for large disks, fix some bugs, etc., but with each successive 16 | version, the scope of the project increased, thereby extending the original 17 | concept of DOS. 18 | 19 | You will find the latest patches at http://www.drdosprojects.de, the project's 20 | official web site. Since it has got its own domain, this should not change 21 | anymore. 22 | 23 | To use the supplied patches, you need the following: 24 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 25 | - a tool capable of unpacking ZIP archives 26 | - a utility to apply the patches to the source 27 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 28 | work as well, but this has not been tested) 29 | 30 | Note that the source code patches are not cumulative, meaning that you have to 31 | apply the earlier patches to the source code as well, with the exception of 32 | Work-In-Progress (WIP) and Release Candidate (RC) versions; these refer to the 33 | previous main release version. 34 | 35 | For those who do not want to compile the source code themselves or lack the 36 | necessary development software, there are also pre-compiled binaries available. 37 | 38 | OpenDOS had originally been released by Caldera under a commercial license, and 39 | it is still bound to this license. If you plan to use OpenDOS for commercial 40 | purposes, you need a commercial license for it from either Caldera or the 41 | company that now owns DR-DOS/OpenDOS, DeviceLogics (or like they seem to call 42 | themselves now, DRDOS, Inc.). 43 | The original Caldera license agreement is in the file license.txt, and it also 44 | applies for any modified versions that you can download here, as far as they 45 | are based on OpenDOS, except that you should not contact their tech support on 46 | matters specific to the modified versions. You should read license.txt before 47 | you start using any of them. 48 | 49 | If you use these patches or the precompiled binary versions on my web site, you 50 | do it at your own risk. I am not responsible for any damage that might occur 51 | to your hardware or data from using them. 52 | Due to the experimental nature of these patches and lack of time on my side, I 53 | cannot provide extensive technical support for them. However, if you find a bug 54 | that I have not been aware of, or if you want to tell me something that you 55 | think I should know, you should post a message in 56 | - the Enhanced DR-DOS forum at http://www.drdosprojects.de/forum/drp_forum/ 57 | which I usually check at least once in a few days. This forum is also an 58 | excellent place to ask any other DR-DOS related questions or discuss any DR-DOS 59 | topics with other members of the DR-DOS community. 60 | 61 | -------------------------------------------------------------------------------- /WIP/D110721.DIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-grue/OpenDOS/e8be6acdf8bdaa10ba87e98e789d3762515fb345/WIP/D110721.DIF -------------------------------------------------------------------------------- /WIP/FUNC7142.TXT: -------------------------------------------------------------------------------- 1 | --------O-217142------------------------------- 2 | INT 21 - EDR-DOS 7.01.08+ - "Long LSEEK" - SET CURRENT 64-bit FILE POSITION 3 | AX = 7142h 4 | CL = origin of move 5 | 00h start of file 6 | 01h current file position 7 | 02h end of file 8 | BX = file handle 9 | DS:DX = pointer to (signed) 64-bit offset from origin of new position 10 | Return: CF clear if successful 11 | DS:DX unchanged, new 64-bit position from start of file at -> DS:DX 12 | CF set on error 13 | AX = error code (01h,06h) (see #01680 at AH=59h/BX=0000h) 14 | -------------------------------------------------------------------------------- /WIP/INSTALL.TXT: -------------------------------------------------------------------------------- 1 | To install the binaries, create a directory on your hard disk and copy the 2 | archive there. You can then unpack it with unzip32 or any other tool that can 3 | unpack ZIP archives. From this directory, you can either use the makeboot batch 4 | file to create a boot disk, e.g. makeboot a: will make a boot disk of the disk 5 | in drive a:, or you can just copy the three files drbio.sys, drdos.sys and 6 | command.com on any existing DR-DOS 7 boot disk and use the DR SYS tool to write 7 | a new boot sector to the disk. DR SYS is available as a separate package. You 8 | can also copy these files to your hard disk, but make sure you have a boot disk 9 | to be able to reinstall your old DOS in case there is a problem. Also, please 10 | read bugs.txt before you proceed. 11 | 12 | To compile the source code, create a directory and copy dossrc.zip and any 13 | patches you want to use there, then unzip the files with unzip32 or any other 14 | tool that can unpack ZIP archives. Make sure you have the patch utility in your 15 | path, then apply the patches by typing "patch -p1 32K on FAT32 partitions 72 | /AH=49h (Free Memory) merges adjacent free blocks after freeing 73 | /AH=53h (Translate BPB to DDSC) now uses FAT32 BPBs and DDSCs 74 | if CX=4558h and DX=4152h 75 | -------------------------------------------------------------------------------- /WIP/README.1ST: -------------------------------------------------------------------------------- 1 | The DR-DOS/OpenDOS Enhancement Project 2 | 3 | Many PC users in the world use DR-DOS because of its advanced features. 4 | In mid 2002, however, the development of DR-DOS seemed to have stopped and the 5 | last version had been released more than three years ago. Since there is no 6 | other PC operating system that combines so many useful features with full PC 7 | compatibility, I decided to write my own set of patches for DR-DOS to fix some 8 | bugs and add support for new standards. 9 | Since the source code of later versions of DR-DOS was not freely available, I 10 | decided to use the source code of DR-DOS 7.01, better known as OpenDOS, as 11 | the base for my work. 12 | Originally, I had only planned to make minor modifications to DR-DOS 7.01, like 13 | adding support for large disks, fix some bugs, etc., but with each successive 14 | version, the scope of the project increased, thereby extending the original 15 | concept of DOS. 16 | 17 | You will find the latest patches at http://www.drdosprojects.de, the project's 18 | official web site. Since it has got its own domain, this should not change 19 | anymore. 20 | 21 | To use the supplied patches, you need the following: 22 | - a copy of the original Caldera OpenDOS 7.01 source code archive (DOSSRC.ZIP) 23 | - a tool capable of unpacking ZIP archives 24 | - a utility to apply the patches to the source 25 | - the development tools MASM 6.0b and Watcom C/C++ 10.0a (other versions may 26 | work as well, but this has not been tested) 27 | 28 | Note that the source code patches are not cumulative, meaning that you have to 29 | apply the earlier patches to the source code as well, with the exception of 30 | Work-In-Progress (WIP) and Release Candidate (RC) versions; these refer to the 31 | previous main release version. 32 | 33 | For those who do not want to compile the source code themselves or lack the 34 | necessary development software, there are also pre-compiled binaries available. 35 | 36 | OpenDOS had originally been released by Caldera under a commercial license, and 37 | it is still bound to this license. If you plan to use OpenDOS for commercial 38 | purposes, you need a commercial license for it from either Caldera or the 39 | company that now owns DR-DOS/OpenDOS, DeviceLogics (or like they seem to call 40 | themselves now, DRDOS, Inc.). 41 | The original Caldera license agreement is in the file license.txt, and it also 42 | applies for any modified versions that you can download here, as far as they 43 | are based on OpenDOS, except that you should not contact their tech support on 44 | matters specific to the modified versions. You should read license.txt before 45 | you start using any of them. 46 | 47 | If you use these patches or the precompiled binary versions on my web site, you 48 | do it at your own risk. I am not responsible for any damage that might occur 49 | to your hardware or data from using them. 50 | Due to the experimental nature of these patches and lack of time on my side, I 51 | cannot provide extensive technical support for them. However, if you find a bug 52 | that I have not been aware of, or if you want to tell me something that you 53 | think I should know, you should post a message in 54 | - the Enhanced DR-DOS forum at http://www.drdosprojects.de/forum/drp_forum/ 55 | which I usually check at least once in a few days. This forum is also an 56 | excellent place to ask any other DR-DOS related questions or discuss any DR-DOS 57 | topics with other members of the DR-DOS community. 58 | 59 | -------------------------------------------------------------------------------- /WIP/README.WIP: -------------------------------------------------------------------------------- 1 | This is a work-in-progress version of the forthcoming v7.01.08 release of my 2 | DR-DOS Enhancement Patch. It is to be considered unstable and not ready for 3 | general use other than for demonstrating the progress that was made since the 4 | last regular release. If you want a stable version, either use the previous 5 | version (v7.01.07) or wait for the regular v7.01.08 release. 6 | --------------------------------------------------------------------------------