├── .deepsource.toml ├── .gitattributes ├── .gitignore ├── .whitesource ├── AUTOEXEC.BAT ├── BACKUP.68K ├── BACKUP.COM ├── BACKUP1.O ├── BACKUP2.O ├── BKUPERR.O ├── BKUPMSG.O ├── BOOTER.68K ├── BOOTER ├── BOOTER.COM ├── BOOTOBJ.C ├── BOOTREC.H ├── BTSTART.S ├── CDOSBOOT.C ├── CDOSBOOT.H ├── PCDOSDK.C ├── PUTCHAR.S ├── RWINASM.S ├── RWINBOOT.C ├── SUPPORT.S └── SWAP.S ├── BRCOM.O ├── BRCOMMSG.O ├── CCMSGS └── CCMSGS.ARC ├── CDOS.SYS ├── CFG_UTL ├── COFF.C ├── COFF.COM ├── COFF.H ├── CRUNCH.C ├── CRUNCH.COM ├── DISKCOMP.C ├── DISKCOMP.COM ├── DISKCOPY.C ├── DISKCOPY.COM ├── FMTUTILS.C ├── FORMAT.C ├── FORMAT.COM ├── GSTART.OBJ ├── LINK.BAT ├── LOAD68K.H ├── PORTAB.H ├── PUTSYS.C ├── QLINK.BAT ├── SS.C ├── SS.COM ├── STDIO.H ├── SYS.C ├── SYS.COM └── XIO.C ├── CHKDSK.68K ├── CHKDSK.COM ├── CHKDSK1.O ├── CHKDSK2.O ├── CHKDSK3.O ├── CKDSKMSG.O ├── COMMAND.68K ├── COMP.68K ├── COMP.COM ├── COMP.O ├── COMPILER ├── AR68.68K ├── AS68.68K ├── AS68INIT ├── AS68SYMB.DAT ├── ASM.BAT ├── C.BAT ├── C068.68K ├── C168.68K ├── CLIB ├── CLINK.BAT ├── COFF.68K ├── CP68.68K ├── CRUNCH.68K ├── LINK68.68K ├── LO68.68K ├── S.O ├── SID.68K └── SS.68K ├── COMPMSG.O ├── CONFIG.68K ├── CONFIG.BAT ├── CONFIG.COM ├── COPY.68K ├── COPY.COM ├── COPY.O ├── COPYMSGS.O ├── CPERHAND.O ├── CPMLOAD.O ├── CPPARSE.O ├── CPUTL1.O ├── CPUTL2.O ├── CRMAN.O ├── CRMCONV8.O ├── CRMCOPY.O ├── CRMCREAT.O ├── CRMDEL.O ├── CRMGSL.O ├── CRMINST.O ├── CRMKB.O ├── CRMMOUSE.O ├── CRMOPEN.O ├── CRMRDEL.O ├── CRMREAD.O ├── CRMWIND.O ├── CRMWRITE.O ├── CRMXLAT.O ├── DATE.68K ├── DATE.COM ├── DATE.O ├── DATEMSG.O ├── DEBUGGER ├── DEBUG.SUB ├── LOADGO.68K ├── LOADSYS.68K └── SAS.68K ├── DINIT.O ├── DIR.68K ├── DIR.COM ├── DIR.O ├── DIRMSG.O ├── DISK01.DOC ├── DISK02.DOC ├── DISK03.DOC ├── DISK04.DOC ├── DISK05.DOC ├── DISK06.DOC ├── DISK07.DOC ├── DISK08.DOC ├── DISK09.DOC ├── DISK10.DOC ├── DISK11.DOC ├── DISKCOMP.68K ├── DISKCOPY.68K ├── DISKSET.68K ├── DISKSET.COM ├── DISKSET.O ├── DREDIX.68K ├── DRIVERS ├── RAMDISK.BAT └── RAMDSK.DRV ├── DRV_SRC ├── BTOOLS.PS ├── CPASM.BAT ├── DRT.S ├── IBMTOVM.C ├── LINKRDD.BAT ├── RDD.C ├── SDRV.C ├── VCDRCOPY.C ├── VCDRTOOL.C ├── VCDRV.C ├── VCDRVWRT.C ├── VM400.C ├── VMCONASM.S ├── VMDISKA.S ├── VMKB.C ├── VMRWINDK.C └── VT52.C ├── DSETMSG.O ├── DVRIF.O ├── EXCEPT.O ├── FE1.O ├── FE2.O ├── FE68.O ├── FEINIT.O ├── FEMAIN.O ├── FESTUB.O ├── FEU1.O ├── FEU2.O ├── FFDIR.O ├── FFERR.O ├── FFFAT.O ├── FFINIT.O ├── FFMAIN.O ├── FFMSGS.O ├── FFSYS.O ├── FIND.68K ├── FIND.COM ├── FIND.O ├── FINDMSG.O ├── FORMAT.68K ├── FPOOL.O ├── FPOOL68K.O ├── FPRINTF.O ├── FREE.O ├── FSCACHE.O ├── FSDM.O ├── FSET.68K ├── FSET.COM ├── FSET.O ├── FSETMSG.O ├── FSNAME.O ├── FSPATH.O ├── FSVOL.O ├── FSWINDOW.O ├── HEADERS ├── BASPAG.H ├── BTOOLS.H ├── CHAR.H ├── CPUMMU.H ├── DH.H ├── FLAGS.H ├── IO.H ├── PORTAB.H ├── SDRV.H ├── STRUCT.H ├── SUP.H ├── SYSBUILD.H ├── SYSTEM.H ├── VCDRV.H ├── VCHAR.H ├── VM400.H ├── VMCONIBM.H ├── VMCONMD.H ├── VMDISK.H ├── VMDRIVER.H ├── VMECR.H ├── VMKB.H ├── VMQUEUE.H └── VTERM.H ├── HEAP.O ├── HELP.EDX ├── HOOK.O ├── IBMTOVM.O ├── INSTALL.O ├── KFUNCS.O ├── KONERR.O ├── KONFIG.O ├── KONXFACE.O ├── KSTART.O ├── KTOOLS.O ├── L68S ├── 40PRO.L68 ├── CCMSGS.L68 ├── CCRTL.L68 ├── CCUTLS.L68 ├── ERRLIB.L68 ├── SHARE.L68 ├── SLIB.L68 ├── UTIL68K.L68 └── UTOOLS.L68 ├── LOAD68K.O ├── LOCLOGON.O ├── LOGMAIN.O ├── LOGMSGS.O ├── LOGON.68K ├── LOGON.COM ├── LSN.EDX ├── LUTILS.O ├── M68.O ├── MGETBLK.O ├── MISMAN.O ├── MORE.68K ├── MORE.COM ├── MORE.O ├── MOREMSG.O ├── NULLDEV.O ├── OFILE.O ├── OSMEM.O ├── OVERLAY.O ├── PANIC68.O ├── PASSMAIN.O ├── PASSMSGS.O ├── PASSWORD.68K ├── PASSWORD.COM ├── PEWTER.O ├── PIPE.O ├── PMGET.O ├── PROCESS.68K ├── PROCESS.COM ├── PROCESS.O ├── PROCMSGS.O ├── PROCUTL.O ├── PROTOOLS.O ├── RDELIM.O ├── README.md ├── RECDIR.68K ├── RECDIR.COM ├── RECDIR.O ├── RECDS1.O ├── RECDS2.O ├── RECFILE.68K ├── RECFILE.COM ├── REMLOGON.O ├── RENAME.68K ├── RENAME.COM ├── RENAME.O ├── RENMSG.O ├── RESTERR.O ├── RESTMSG.O ├── RESTORE.68K ├── RESTORE.COM ├── RESTORE1.O ├── RESTORE2.O ├── RTMIF.O ├── SAMPLE ├── CCUTLS.H ├── SAMPLE.DOC ├── UTLERRS.H ├── WMCHAR.H ├── WMEX.C ├── WMEX.H ├── WMEXDATA.C ├── WMEXNUT.C ├── WMOS.H └── WMUTLS.C ├── SDRV.O ├── SECURITY.md ├── SHEL_MSG └── SHELMSGS.ARC ├── SHEL_OBJ ├── ASNMSGS.O ├── ASSIGN.O ├── BREAK.O ├── BREAKMSG.O ├── CANCEL.O ├── CANCEMSG.O ├── CHDIR.O ├── CHDIRMSG.O ├── CMDTAB.O ├── CTTY.O ├── DEFINE.O ├── DEFMSG.O ├── DVRLINK.O ├── DVRLOAD.O ├── DVRTOOLS.O ├── DVRUNIT.O ├── DVRUNLK.O ├── ERAMSG.O ├── ERASE.O ├── MKDIR.O ├── MKDIRMSG.O ├── RMDIR.O ├── RMDIRMSG.O ├── SECURITY.O ├── SECURMSG.O ├── SHELL.COM ├── SHELL.O ├── SHERR.O ├── SHMAIN.O ├── SHMEM.O ├── SHMSGS.O ├── SHSTRUCT.O ├── SHSWI.O ├── SHSYM.O ├── SHTOOLS.O ├── STDMAIN.O ├── UTVERIFY.O ├── VFYMSG.O ├── XCLS.O ├── XECHO.O ├── XEXIT.O ├── XLIST.O ├── XLOGOFF.O ├── XORDER.O ├── XPATH.O ├── XPAUSE.O ├── XPROMPT.O └── XREM.O ├── SORT.68K ├── SORT.COM ├── SORT.O ├── SORTMSGS.O ├── SOURCE ├── CPUMMU.EQU ├── DISPA.S ├── MMU.S ├── PANIC.EQU └── STRUCT.EQU ├── STUDENT.BAT ├── SUP.O ├── SUP68K.O ├── SUP68KNF.O ├── SUPERMAN.O ├── SWI.O ├── SWI68K.O ├── SYS.68K ├── SYSLIB ├── BUILDL68.BAT ├── BUILDL68.SUB ├── COMPL68.BAT ├── COMPL68.SUB ├── CTYP40.H ├── CVT40.C ├── EBWAIT.C ├── ECOMMAND.C ├── ECONTROL.C ├── ELOCK.C ├── EREAD.C ├── ERWAIT.C ├── ESPECIAL.C ├── ETERM.C ├── ETIMER.C ├── EWRITE.C ├── FPRINTF.C ├── GETPID.C ├── GMAIN.C ├── GSTART.C ├── GSTART.O ├── LD.C ├── LDIV.S ├── LIBCALLS.H ├── LMUL.S ├── LREM.S ├── OSIF.O ├── OSIF.S ├── PORTAB.H ├── SABORT.C ├── SALTER.C ├── SBWAIT.C ├── SCANCEL.C ├── SCLOSE.C ├── SCOMMAND.C ├── SCONTROL.C ├── SCOPY.C ├── SCREATE.C ├── SDEFINE.C ├── SDELETE.C ├── SDEVLOCK.C ├── SDISABLE.C ├── SENABLE.C ├── SEXCEPT.C ├── SEXIT.C ├── SGET.C ├── SGIVE.C ├── SGSX.C ├── SINSTALL.C ├── SKCTRL.C ├── SLOCK.C ├── SLOOKUP.C ├── SMALLOC.C ├── SMCTRL.C ├── SMFREE.C ├── SOPEN.C ├── SORDER.C ├── SOVERLAY.C ├── SRDELIM.C ├── SREAD.C ├── SRENAME.C ├── SRETURN.C ├── SRWAIT.C ├── SSEEK.C ├── SSET.C ├── SSPECIAL.C ├── SSTATUS.C ├── SSWIRET.C ├── STD40.H ├── STDIO.H ├── STIMER.C ├── STOI.C ├── STRCAT.C ├── STRCPY.C ├── STRNCMP.C ├── SVCCREAT.C ├── SWAIT.C ├── SWRITE.C ├── SXLAT.C ├── SYSLIB.L68 ├── SYSLINK.BAT ├── SYSTEM.H ├── TOOLS.C └── ZEROFIL.C ├── SYS_GEN ├── OBJECTS │ ├── ABORT.O │ ├── AFLAG.O │ ├── ALLOCATE.O │ ├── ASYNC.O │ ├── ASYNCA.O │ ├── BASE.O │ ├── COFFLOAD.O │ ├── COMMAND.O │ ├── DISPA00.OBJ │ ├── DISPA10.OBJ │ ├── MMU00M0.OBJ │ ├── MMU1000.OBJ │ ├── MMU10M1.OBJ │ ├── OMMU10.OBJ │ ├── OMMUA00.OBJ │ ├── OMMUA10.OBJ │ ├── OMMUM0.OBJ │ └── XLIB └── TOOLS │ ├── 00M0.COM │ ├── 10M0.COM │ ├── 10M1.COM │ ├── LINK00M0.BAT │ ├── LINK10M0.BAT │ ├── LINK10M1.BAT │ ├── NOCRM.COM │ └── NOFE.COM ├── SYS_SRC ├── CPUMMU.EQU ├── OMMU.C ├── OMMUA.PS ├── PANIC68.C ├── VMCLK.C ├── VMCONFIG.C ├── VMPANIC.C ├── VMQUEUE.C └── VPROBE.S ├── TABLES.O ├── TEXT ├── TIME.68K ├── TIME.COM ├── TIME.O ├── TIMEMSG.O ├── TOOLS.O ├── TOOLS ├── COMBINE.68K ├── DUMP.68K ├── EXPAND.68K ├── NM68.68K ├── SENDC68.68K └── SIZE68.68K ├── TREE.68K ├── TREE.COM ├── TREE.O ├── TREEMSG.O ├── TYPE.68K ├── TYPE.COM ├── TYPE.O ├── TYPEMSG.O ├── USER.TAB ├── UTL_MSGS └── UTILMSGS.ARC ├── U_TOOLS ├── BANNER.68K ├── CAT.68K ├── CMP.68K ├── CUT.68K ├── DIFF.68K ├── DUMP.68K ├── DUP.68K ├── ECHOX.68K ├── FGREP.68K ├── GREP.68K ├── LC2UC.68K ├── PASTE.68K ├── PR.68K ├── SPLIT.68K ├── STRINGS.68K ├── SUM.68K ├── UC2LC.68K └── WC.68K ├── VCDRCOPY.O ├── VCDRTOOL.O ├── VCDRV.O ├── VCDRVWRT.O ├── VER.68K ├── VER.COM ├── VER.O ├── VERMSG.O ├── VM400.O ├── VMCLK.O ├── VMCONASM.O ├── VMCONFIG.O ├── VMDISKA.O ├── VMKB.O ├── VMPANIC.O ├── VMQUEUE.O ├── VMRWINDK.O ├── VMUTIL ├── BOOTFIX.H ├── BOOTREC.H ├── DIRIBM.C ├── DKCONF.C ├── DOSRWIN.C ├── ERAIBM.C ├── IBMDISK.C ├── IBMDISK.H ├── IBMINIT.C ├── IBMMAIN.C ├── IBMSUP.C ├── MOTBUG.H ├── PUTBOOT.C ├── READIBM.C ├── SWAP.S ├── TYPEIBM.C ├── VMUTIL.68K ├── VMUTIL.COM └── WRITEIBM.C ├── VOL.68K ├── VOL.COM ├── VOL.O ├── VOLMSG.O ├── VPROBE.O ├── VT52.O ├── WMEX.68K ├── WMEX.COM ├── WMEX.O ├── WMEXDATA.O ├── WMEXNUT.O ├── WMUTLS.O ├── XLOGON.O └── XPASSWD.O /.deepsource.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | [[analyzers]] 4 | name = "test-coverage" 5 | enabled = true 6 | 7 | [[analyzers]] 8 | name = "shell" 9 | enabled = true 10 | 11 | [[analyzers]] 12 | name = "secrets" 13 | enabled = true 14 | 15 | [[transformers]] 16 | name = "autopep8" 17 | enabled = true 18 | 19 | [[transformers]] 20 | name = "isort" 21 | enabled = true 22 | 23 | [[transformers]] 24 | name = "standardrb" 25 | enabled = true 26 | 27 | [[transformers]] 28 | name = "prettier" 29 | enabled = true 30 | 31 | [[transformers]] 32 | name = "black" 33 | enabled = true 34 | 35 | [[transformers]] 36 | name = "gofmt" 37 | enabled = true 38 | 39 | [[transformers]] 40 | name = "yapf" 41 | enabled = true 42 | 43 | [[transformers]] 44 | name = "standardjs" 45 | enabled = true 46 | 47 | [[transformers]] 48 | name = "rubocop" 49 | enabled = true 50 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/.gitignore -------------------------------------------------------------------------------- /.whitesource: -------------------------------------------------------------------------------- 1 | { 2 | "scanSettings": { 3 | "baseBranches": [] 4 | }, 5 | "checkRunSettings": { 6 | "vulnerableCheckRunConclusionLevel": "failure", 7 | "displayMode": "diff" 8 | }, 9 | "issueSettings": { 10 | "minSeverityLevel": "LOW" 11 | } 12 | } -------------------------------------------------------------------------------- /AUTOEXEC.BAT: -------------------------------------------------------------------------------- 1 | echo off 2 | rem 3 | rem ***** Set up some alias command names ***** 4 | rem 5 | define def = define 6 | def d = dir -w 7 | def ren = rename 8 | def t = type 9 | def sy = systab 10 | def lo = logoff 11 | def pa = path 12 | def pmt = prompt 13 | def help = define helplvl 14 | def ps = process view -e-m-p 15 | rem 16 | rem ***** Set up path and prompt ***** 17 | rem 18 | pa default: system: 19 | a: 20 | pmt $p$g 21 | -------------------------------------------------------------------------------- /BACKUP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/BACKUP.68K -------------------------------------------------------------------------------- /BACKUP.COM: -------------------------------------------------------------------------------- 1 | [s] backup.68k = stdmain,backup1,backup2,bkuperr,brcom,bkupmsg,brcommsg, 2 | share.l68,errlib.l68,40pro.l68,utools.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /BACKUP1.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/BACKUP1.O -------------------------------------------------------------------------------- /BACKUP2.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/BACKUP2.O -------------------------------------------------------------------------------- /BKUPERR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/BKUPERR.O -------------------------------------------------------------------------------- /BKUPMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/BKUPMSG.O -------------------------------------------------------------------------------- /BOOTER.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/BOOTER.68K -------------------------------------------------------------------------------- /BOOTER/BOOTER.COM: -------------------------------------------------------------------------------- 1 | [abs,tex[38000]] booter.68k = btstart.o,bootobj.o,cdosboot.o,pcdosdk.o, 2 | rwinboot.o,putchar.o,rwinasm.o,support.o,swap.o,0:clib 3 |  -------------------------------------------------------------------------------- /BOOTER/BOOTREC.H: -------------------------------------------------------------------------------- 1 | /* @(#)bootrec.h 1.1 */ 2 | 3 | /* 4 | * This is the funky boot record structure definition 5 | * for Concurrent DOS. It is defined as BYTE arrays because 6 | * it is not WORD aligned, and the bytes within WORDs and 7 | * LONGs are swapped. 8 | */ 9 | 10 | typedef struct 11 | { /* NOTE: STRUCTURE NOT WORD ALLIGNED!! */ 12 | BYTE jmp[3]; /* first three bytes are jump (branch) */ 13 | BYTE name[8]; /* eight byte OEM name and version */ 14 | BYTE sctrsz[2]; /* bytes per sector */ 15 | BYTE clstrsz; /* sectors per cluster (power of 2) */ 16 | BYTE rsvsc[2]; /* reserved sectors */ 17 | BYTE numfats; /* number of FATS */ 18 | BYTE rtdir[2]; /* number of root dir entries */ 19 | BYTE dksz[2]; /* number of sectors in logical disk */ 20 | BYTE meddsc; /* media descriptor ID */ 21 | BYTE fatsz[2]; /* number of sectors in a FAT */ 22 | BYTE spt[2]; /* sectors per track */ 23 | BYTE hds[2]; /* number of heads */ 24 | BYTE hidsc[2]; /* hidden sectors */ 25 | BYTE xdksz[4]; /* extended disk size if dksz 0 */ 26 | BYTE fdats[2]; /* first sector num after root dir */ 27 | BYTE cdld[4]; /* code load base */ 28 | BYTE cdln[4]; /* code length */ 29 | BYTE dtld[4]; /* data load base */ 30 | BYTE dtln[4]; /* data length */ 31 | } BTREC; 32 | */ 33 | BYTE cdln[4]; /* code length */ 34 | BYTE dtld[4]; /* data load base */ 35 | BYTE dtln[ -------------------------------------------------------------------------------- /BOOTER/PUTCHAR.S: -------------------------------------------------------------------------------- 1 | 2 | * @(#)putchar.s 1.1 3 | 4 | ******************************************************************* 5 | * 6 | * putchar() is used to send characters to the console. 7 | * Currently it uses a call to the TENbug monitor putchar routine. 8 | * TENbug automatically performs an LF,CR when an LF is output. 9 | * 10 | * CP/M `C' stack frame: 11 | * 12 | * 13 | * A7 --> longword for proc calls 14 | * saved registers 15 | * . 16 | * local var area 17 | * . 18 | * A6 --> previous value of A6 19 | * return address 20 | * argument 1 21 | * argument 2 22 | * . 23 | * . 24 | * 25 | * for us our byte is at offset '5' on entry (add 8 after we save the 26 | * registers. 27 | * 28 | ******************************************************************* 29 | 30 | .Globl _putchar 31 | 32 | _putchar: 33 | Move.l A6,-(SP) * Save the registers we trash. 34 | Move.l A5,-(SP) 35 | Lea.l 13(SP),A5 * Start character address. 36 | Lea.l 1(A5),A6 * End character address (start + 1). 37 | Trap #15 * TENbug trap handler interface. 38 | .dc.w 6 * Write string function number. 39 | Move.l (SP)+,A5 * Restore registers. 40 | Move.l (SP)+,A6 41 | Rts 42 | 43 | .End 44 | terface. 45 | .dc.w 6 * Write string function number. 46 | Move.l (SP)+,A5 * Restore registers. 47 | Move.l (SP)+,A6 -------------------------------------------------------------------------------- /BOOTER/RWINASM.S: -------------------------------------------------------------------------------- 1 | * @(#)rwinasm.s 1.3 2 | .text 3 | * 4 | * Global Code addresses 5 | * 6 | .globl _RdDataXfer 7 | 8 | * 9 | * Disk data transfer loop 10 | * Calling sequence: 11 | * RdDataXfer(bufadr, ctladr); 12 | * bufadr is the source/destination data address 13 | * ctladr is the controller's data register address 14 | * 15 | * without considering wait states movep.l makes 16 | * the faster loop. however, accounting for wait 17 | * states makes the 68010 loop mode faster. 18 | * 19 | _RdDataXfer: 20 | move.l 4(sp),a0 21 | move.l 8(sp),a1 22 | move.w #127,d0 23 | rdlp: move.b (a1),(a0)+ 24 | dbf d0,rdlp 25 | rts 26 | * 27 | .end 28 |  29 | * 30 | _RdDataXfer: 31 | move.l 4(sp),a0 32 | move.l 8(sp),a1 33 | move.w #127,d0 34 | rdlp: move.b (a1),(a0)+ 35 | -------------------------------------------------------------------------------- /BOOTER/SUPPORT.S: -------------------------------------------------------------------------------- 1 | * @(#)support.s 1.1 2 | * 3 | * Assembly language support routines for the Concurrent DOS 4 | * boot loader for the VME/10. 5 | * 6 | * These are here purely for performance considerations! 7 | * 8 | * ALSO: these are meant to be called from `C' routines!! 9 | * We will frequently trash temporary registers (we assume 10 | * D0, D1, A0, and A1 are trashable). 11 | * 12 | 13 | .Text 14 | 15 | * 16 | * Your basic byte move. 17 | * 18 | * 19 | * VOID movb(s,d,count) 20 | * REG BYTE *s, *d; 21 | * REG WORD count; 22 | * { 23 | * while( count-- ) 24 | * *d++ = *s++; 25 | * } 26 | * 27 | 28 | .globl _movb 29 | 30 | _movb: 31 | Move.l 4(SP),A0 32 | Move.l 8(SP),A1 33 | Move.w 12(SP),D0 34 | Bra.b blps 35 | blp: 36 | Move.b (A0)+,(A1)+ 37 | blps: Dbra D0,blp 38 | Rts 39 | 40 | * 41 | * VOID setb(ch,d,count) 42 | * REG BYTE ch; 43 | * REG BYTE *d; 44 | * REG WORD count; 45 | * { 46 | * while( count-- ) 47 | * *d++ = ch; 48 | * } 49 | * 50 | 51 | .globl _setb 52 | 53 | _setb: 54 | Move.b 5(SP),D1 55 | Move.l 6(SP),A0 56 | Move.w 10(SP),D0 57 | Bra.b c1ls 58 | c1l: 59 | Move.b D1,(A0)+ 60 | c1ls: Dbra D0,c1l 61 | Rts 62 | 63 | .End 64 |  65 | Move.b 5(SP),D1 66 | Move.l 6(SP),A0 67 | Move.w 10(SP),D0 68 | Bra.b c1ls 69 | c1l: 70 | Move.b D1,(A0) -------------------------------------------------------------------------------- /BRCOM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/BRCOM.O -------------------------------------------------------------------------------- /BRCOMMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/BRCOMMSG.O -------------------------------------------------------------------------------- /CDOS.SYS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CDOS.SYS -------------------------------------------------------------------------------- /CFG_UTL/COFF.COM: -------------------------------------------------------------------------------- 1 | [s] coff.68k = gstart.obj,coff,xio,syslib.l68 2 | -------------------------------------------------------------------------------- /CFG_UTL/CRUNCH.COM: -------------------------------------------------------------------------------- 1 | [s] crunch.68k = gstart.obj,crunch,xio,syslib.l68 2 | -------------------------------------------------------------------------------- /CFG_UTL/DISKCOMP.COM: -------------------------------------------------------------------------------- 1 | [s] diskcomp.68k = 2 | gstart.obj, 3 | diskcomp, 4 | xio, 5 | syslib.l68 6 | -------------------------------------------------------------------------------- /CFG_UTL/DISKCOPY.COM: -------------------------------------------------------------------------------- 1 | [s] diskcopy.68k = 2 | gstart.obj, 3 | diskcopy, 4 | xio, 5 | syslib.l68 6 | -------------------------------------------------------------------------------- /CFG_UTL/FORMAT.COM: -------------------------------------------------------------------------------- 1 | [s] format.68k = 2 | gstart.obj, 3 | format, 4 | fmtutils, 5 | putsys, 6 | xio, 7 | syslib.l68 8 | -------------------------------------------------------------------------------- /CFG_UTL/GSTART.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CFG_UTL/GSTART.OBJ -------------------------------------------------------------------------------- /CFG_UTL/LINK.BAT: -------------------------------------------------------------------------------- 1 | link68 [co[%1.com]] 2 | -------------------------------------------------------------------------------- /CFG_UTL/LOAD68K.H: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * LOAD68K.H - structures for CP/M load files 3 | ********************************************************************/ 4 | 5 | /******************************************************************** 6 | * 7 | * CP/M-68K load file header structure 8 | * 9 | ********************************************************************/ 10 | 11 | #define HEADER struct header 12 | HEADER { 13 | WORD h_flag; /* 601A or 601C */ 14 | LONG h_tsize; /* size of text segment */ 15 | LONG h_dsize; /* size of data segment */ 16 | LONG h_bsize; /* size of BSS segment */ 17 | LONG h_ssize; /* size of symbol table */ 18 | LONG h_stack; /* size of stack */ 19 | LONG h_start; /* start of text seg and program entry point */ 20 | WORD h_reloc; /* relocation flag - 0 if relocatable */ 21 | }; 22 | 23 | 24 | /******************************************************************** 25 | * 26 | * CP/M-68K base page format 27 | * 28 | ********************************************************************/ 29 | 30 | #define BASPAG struct baspag 31 | BASPAG { 32 | LONG b_lotpa; /* lowest address of TPA */ 33 | LONG b_hitpa; /* highest address of TPA + 1 */ 34 | LONG b_tstart; /* start of text segment */ 35 | LONG b_tsize; /* size of text segment */ 36 | LONG b_dstart; /* start of data segment */ 37 | LONG b_dsize; /* size of data segment */ 38 | LONG b_bstart; /* start of bss segment */ 39 | LONG b_bsize; /* length of bss */ 40 | LONG b_free; /* length of free memory after bss */ 41 | BYTE b_drive; /* drive from which pgm was loaded */ 42 | BYTE b_junk1[3]; /* filler to make stack on LONG boundary */ 43 | LONG b_stack; /* start of stack segment */ 44 | BYTE b_junk2[12]; /* more filler */ 45 | BYTE b_fcb2[36]; /* 2nd fcb from cmd line */ 46 | BYTE b_fcb1[36]; /* 1st fcb from cmd line */ 47 | BYTE b_dma[128]; /* command tail */ 48 | }; 49 | -------------------------------------------------------------------------------- /CFG_UTL/PORTAB.H: -------------------------------------------------------------------------------- 1 | /* @(#)portab.h 1.1 */ 2 | #define UCHARA 1 /* if char is unsigned */ 3 | /* 4 | * Standard type definitions 5 | */ 6 | #define BYTE char /* Signed byte */ 7 | #define BOOLEAN int /* 2 valued (true/false) */ 8 | #define WORD int /* Signed word (16 bits) */ 9 | #define UWORD unsigned int /* unsigned word */ 10 | 11 | #define LONG long /* signed long (32 bits) */ 12 | #define ULONG long /* Unsigned long */ 13 | 14 | #define REG register /* register variable */ 15 | #define LOCAL auto /* Local var on 68000 */ 16 | #define EXTERN extern /* External variable */ 17 | #define MLOCAL static /* Local to module */ 18 | #define GLOBAL /**/ /* Global variable */ 19 | #define VOID int /* Void function return */ 20 | #define DEFAULT int /* Default size */ 21 | 22 | #ifdef UCHARA 23 | #define UBYTE char /* Unsigned byte */ 24 | #else 25 | #define UBYTE unsigned char /* Unsigned byte */ 26 | #endif 27 | 28 | /****************************************************************************/ 29 | /* Miscellaneous Definitions: */ 30 | /****************************************************************************/ 31 | #define FAILURE (-1) /* Function failure return val */ 32 | #define SUCCESS (0) /* Function success return val */ 33 | #define YES 1 /* "TRUE" */ 34 | #define NO 0 /* "FALSE" */ 35 | #define FOREVER for(;;) /* Infinite loop declaration */ 36 | #define NULL 0 /* Null pointer value */ 37 | #define NULLPTR (char *) 0 /* */ 38 | #define EOF (-1) /* EOF Value */ 39 | #define TRUE (1) /* Function TRUE value */ 40 | #define FALSE (0) /* Function FALSE value */ 41 | 42 | -------------------------------------------------------------------------------- /CFG_UTL/QLINK.BAT: -------------------------------------------------------------------------------- 1 | link68 [tem[m:],co[%1.com]] 2 | -------------------------------------------------------------------------------- /CFG_UTL/SS.COM: -------------------------------------------------------------------------------- 1 | [s] ss.68k = gstart.obj,ss,xio,syslib.l68 2 | -------------------------------------------------------------------------------- /CFG_UTL/STDIO.H: -------------------------------------------------------------------------------- 1 | /* Standard I/O files for CDOS */ 2 | 3 | #define STDIN 0L 4 | #define STDOUT 1L 5 | #define STDERR 2L 6 |  -------------------------------------------------------------------------------- /CFG_UTL/SYS.C: -------------------------------------------------------------------------------- 1 | /*********************************************************************** 2 | * SYS - copy system files from boot drive to destination drive 3 | * 4 | * VERSION DATE WHO CHANGE 5 | * ======= ==== === ====== 6 | * 1.1 03/24/86 MA Relink with new putsys. Use s_exit() 7 | * to return properly. 8 | * 1.0 ??/??/?? MA First version. 9 | ***********************************************************************/ 10 | 11 | 12 | #include "portab.h" 13 | #include "stdio.h" 14 | 15 | EXTERN LONG putsys(); 16 | 17 | main(argc,argv) 18 | WORD argc; 19 | BYTE *argv[]; 20 | { 21 | LONG sysfiles; 22 | 23 | if (argc != 2) 24 | { 25 | printf("Usage: sys "); 26 | s_exit(1L); 27 | } 28 | sysfiles = putsys(argv[1]); 29 | if (sysfiles == 0) 30 | printf("No system files transferred\r\n"); 31 | s_exit(0L); 32 | /* printf("%ld bytes of system files transferred\r\n"); */ 33 | } 34 | -------------------------------------------------------------------------------- /CFG_UTL/SYS.COM: -------------------------------------------------------------------------------- 1 | [s] sys.68k = 2 | gstart.obj, 3 | sys, 4 | putsys, 5 | xio, 6 | syslib.l68 7 | -------------------------------------------------------------------------------- /CFG_UTL/XIO.C: -------------------------------------------------------------------------------- 1 | /* XIO.C simplified interface to CDOS */ 2 | 3 | #include "portab.h" 4 | #include "stdio.h" 5 | 6 | EXTERN LONG s_open(),s_create(),s_read(),s_write(),s_close(),s_exit(); 7 | EXTERN LONG s_seek(),s_delete(),s_rdelim(); 8 | 9 | 10 | /* xread - read bytes from current position in file */ 11 | 12 | LONG xread(fnum,buffer,size) 13 | LONG fnum; 14 | BYTE *buffer; 15 | LONG size; 16 | { 17 | MLOCAL WORD delims[4] = { 3, 0x0d, 0x0a, 0x1b }; 18 | 19 | if (fnum == STDIN) /* reading from standard input? */ 20 | return (s_rdelim(0x122,fnum,buffer,size,0L,delims)); 21 | else 22 | return (s_read(0x100,fnum,buffer,size,0L)); 23 | } 24 | 25 | 26 | /* xwrite - write bytes to current position in file */ 27 | 28 | LONG xwrite(fnum,buffer,size) 29 | LONG fnum; 30 | BYTE *buffer; 31 | LONG size; 32 | { 33 | return (s_write(0x100,fnum,buffer,size,0L)); 34 | } 35 | 36 | 37 | /* xopen - open a file */ 38 | 39 | LONG xopen(fname,access) 40 | BYTE *fname; 41 | WORD access; /* 0 = read-only, 1 = write-only, 2 = read/write */ 42 | { 43 | MLOCAL WORD oflags[4] = { 0x018, 0x015, 0x01d, 0x00 }; 44 | 45 | return (s_open(oflags[access],fname)); 46 | } 47 | 48 | 49 | /* xcreat - create a disk file, allow read/write access */ 50 | 51 | LONG xcreat(fname,access) 52 | LONG fname; 53 | WORD access; /* not used */ 54 | { 55 | return (s_create(0,0x40d,fname,0,0,0L)); 56 | } 57 | 58 | 59 | /* xseek - move file pointer around */ 60 | 61 | LONG xseek(fnum,offset,origin) 62 | LONG fnum; 63 | LONG offset; /* how much to move */ 64 | WORD origin; /* 0 = beginning, 1 = current, 2 = end of file */ 65 | { 66 | return (s_seek(origin << 8,fnum,offset)); 67 | } 68 | 69 | 70 | /* xclose - do a full close on a file */ 71 | 72 | LONG xclose(fnum) 73 | LONG fnum; 74 | { 75 | return (s_close(0,fnum)); 76 | } 77 | 78 | 79 | /* xunlink - delete a file */ 80 | 81 | LONG xunlink(filename) 82 | BYTE *filename; 83 | { 84 | return (s_delete(0,filename)); 85 | } 86 | -------------------------------------------------------------------------------- /CHKDSK.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CHKDSK.68K -------------------------------------------------------------------------------- /CHKDSK.COM: -------------------------------------------------------------------------------- 1 | [s] chkdsk.68k = stdmain,chkdsk1,chkdsk2,chkdsk3,ckdskmsg, 2 | slib.l68,ccutls.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /CHKDSK1.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CHKDSK1.O -------------------------------------------------------------------------------- /CHKDSK2.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CHKDSK2.O -------------------------------------------------------------------------------- /CHKDSK3.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CHKDSK3.O -------------------------------------------------------------------------------- /CKDSKMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CKDSKMSG.O -------------------------------------------------------------------------------- /COMMAND.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMMAND.68K -------------------------------------------------------------------------------- /COMP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMP.68K -------------------------------------------------------------------------------- /COMP.COM: -------------------------------------------------------------------------------- 1 | [s] comp.68k = stdmain,comp,compmsg, 2 | share.l68,errlib.l68,40pro.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /COMP.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMP.O -------------------------------------------------------------------------------- /COMPILER/AR68.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/AR68.68K -------------------------------------------------------------------------------- /COMPILER/AS68.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/AS68.68K -------------------------------------------------------------------------------- /COMPILER/AS68SYMB.DAT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/AS68SYMB.DAT -------------------------------------------------------------------------------- /COMPILER/ASM.BAT: -------------------------------------------------------------------------------- 1 | as68 -l %1.s 2 |  -------------------------------------------------------------------------------- /COMPILER/C.BAT: -------------------------------------------------------------------------------- 1 | cp68 -i 0: %1.c %1.i 2 | c068 %1.i %1.1 %1.2 %1.3 -f 3 | del %1.i 4 | c168 %1.1 %1.2 %1.s 5 | del %1.1 6 | del %1.2 7 | as68 -l -u %1.s 8 | del %1.s 9 | 10 |  -------------------------------------------------------------------------------- /COMPILER/C068.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/C068.68K -------------------------------------------------------------------------------- /COMPILER/C168.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/C168.68K -------------------------------------------------------------------------------- /COMPILER/CLIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/CLIB -------------------------------------------------------------------------------- /COMPILER/CLINK.BAT: -------------------------------------------------------------------------------- 1 | lo68 -r -u_nofloat -o %1.68k s.o %1.o %2.o %3.o %4.o %5.o %6.o %7.o %8.o %9.o clib 2 | 3 |  -------------------------------------------------------------------------------- /COMPILER/COFF.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/COFF.68K -------------------------------------------------------------------------------- /COMPILER/CP68.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/CP68.68K -------------------------------------------------------------------------------- /COMPILER/CRUNCH.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/CRUNCH.68K -------------------------------------------------------------------------------- /COMPILER/LINK68.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/LINK68.68K -------------------------------------------------------------------------------- /COMPILER/LO68.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/LO68.68K -------------------------------------------------------------------------------- /COMPILER/S.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/S.O -------------------------------------------------------------------------------- /COMPILER/SID.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/SID.68K -------------------------------------------------------------------------------- /COMPILER/SS.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPILER/SS.68K -------------------------------------------------------------------------------- /COMPMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COMPMSG.O -------------------------------------------------------------------------------- /CONFIG.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CONFIG.68K -------------------------------------------------------------------------------- /CONFIG.BAT: -------------------------------------------------------------------------------- 1 | define con = con:console 2 | define path = default: system: default:/ 3 | define order = 68K REL BAT 4 | define switchar = - 5 | define wmanager = system:wmex.68K 6 | define shell = system:command.68K 7 | define home: = boot: 8 | define -s a: = fd0: 9 | define -s b: = fd1: 10 | define -s c: = fd2: 11 | define -s d: = fd3: 12 | define -s protect = ON 13 | define -s helplvl = 4 14 | define -s version = DRI 15 | security -o=rwed -g=re -w=re 16 | define con: = con0: 17 | back boot:logon 18 | ;define con: = con1: 19 | ;back boot:logon 20 | -------------------------------------------------------------------------------- /CONFIG.COM: -------------------------------------------------------------------------------- 1 | [s] config.68k = kstart,konfig,konxface,konerr, 2 | ccutls.l68,ccmsgs.l68,slib.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /COPY.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COPY.68K -------------------------------------------------------------------------------- /COPY.COM: -------------------------------------------------------------------------------- 1 | [s] copy.68k = stdmain,copy,cpparse,cputl1,cputl2,cperhand,copymsgs, 2 | ccutls.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /COPY.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COPY.O -------------------------------------------------------------------------------- /COPYMSGS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/COPYMSGS.O -------------------------------------------------------------------------------- /CPERHAND.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CPERHAND.O -------------------------------------------------------------------------------- /CPMLOAD.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CPMLOAD.O -------------------------------------------------------------------------------- /CPPARSE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CPPARSE.O -------------------------------------------------------------------------------- /CPUTL1.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CPUTL1.O -------------------------------------------------------------------------------- /CPUTL2.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CPUTL2.O -------------------------------------------------------------------------------- /CRMAN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMAN.O -------------------------------------------------------------------------------- /CRMCONV8.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMCONV8.O -------------------------------------------------------------------------------- /CRMCOPY.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMCOPY.O -------------------------------------------------------------------------------- /CRMCREAT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMCREAT.O -------------------------------------------------------------------------------- /CRMDEL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMDEL.O -------------------------------------------------------------------------------- /CRMGSL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMGSL.O -------------------------------------------------------------------------------- /CRMINST.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMINST.O -------------------------------------------------------------------------------- /CRMKB.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMKB.O -------------------------------------------------------------------------------- /CRMMOUSE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMMOUSE.O -------------------------------------------------------------------------------- /CRMOPEN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMOPEN.O -------------------------------------------------------------------------------- /CRMRDEL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMRDEL.O -------------------------------------------------------------------------------- /CRMREAD.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMREAD.O -------------------------------------------------------------------------------- /CRMWIND.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMWIND.O -------------------------------------------------------------------------------- /CRMWRITE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMWRITE.O -------------------------------------------------------------------------------- /CRMXLAT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/CRMXLAT.O -------------------------------------------------------------------------------- /DATE.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DATE.68K -------------------------------------------------------------------------------- /DATE.COM: -------------------------------------------------------------------------------- 1 | [s] date.68k = stdmain,date,datemsg, 2 | share.l68,errlib.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /DATE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DATE.O -------------------------------------------------------------------------------- /DATEMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DATEMSG.O -------------------------------------------------------------------------------- /DEBUGGER/DEBUG.SUB: -------------------------------------------------------------------------------- 1 | loadgo sas.68k 2 | loadsys cdos$1.68k 3 | ; Hit ABORT button to enter Stand-Alone-SID 4 |  -------------------------------------------------------------------------------- /DEBUGGER/LOADGO.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DEBUGGER/LOADGO.68K -------------------------------------------------------------------------------- /DEBUGGER/LOADSYS.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DEBUGGER/LOADSYS.68K -------------------------------------------------------------------------------- /DEBUGGER/SAS.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DEBUGGER/SAS.68K -------------------------------------------------------------------------------- /DINIT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DINIT.O -------------------------------------------------------------------------------- /DIR.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DIR.68K -------------------------------------------------------------------------------- /DIR.COM: -------------------------------------------------------------------------------- 1 | [s] dir.68k = stdmain,dir,dirmsg, 2 | share.l68,errlib.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /DIR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DIR.O -------------------------------------------------------------------------------- /DIRMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DIRMSG.O -------------------------------------------------------------------------------- /DISK01.DOC: -------------------------------------------------------------------------------- 1 | DISK1.DOC Developer Kit Disk 1 - Boot Disk and Executable 2 | Utilities (part 1) 3 | 6 August 1986 CDOS 68K ver. 1.2 4 | _______________________________________________________________________________ 5 | 6 | 7 | In this release of Concurrent DOS 68K the operating system's function- 8 | ality and characteristics are defined in two phases; 1) the initial hardware 9 | configuration and the user environment are defined during system generation 10 | (when the CDOS.SYS file is created) by the VMCONFIG.C file, and 2) at system 11 | load time via the files CONFIG.BAT and AUTOEXEC.BAT. Be sure to edit these 12 | files to correspond to any changes you make to your hardware or software 13 | organization. 14 | 15 | This version of Concurrent DOS is shipped with a system that includes 16 | the CP/M 68K front end and may be booted from either the floppy or the hard 17 | disk. Instructions for booting from the hard disk are included in the 18 | Concurrent DOS for the Motorola MC68000 Release Note. 19 | 20 | For the VME/10 the window manager keys are as follows: 21 | 22 | Function Key 23 | 24 | SEL 25 | PAD FUNC + HELP 26 | -->| (the tab key on the arrow keypad) 27 | |<-- (the backtab key on the arrow keypad) 28 | 29 | -------------------------------------------------------------------------------- /DISK02.DOC: -------------------------------------------------------------------------------- 1 | DISK2.DOC Developer Kit Disk 2 - Executable Utilities 2 | (part 2) and UNIX-like 3 | Utilities (part 1) 4 | 6 August 1986 CDOS 68K ver. 1.2 5 | _______________________________________________________________________________ 6 | 7 | 8 | This disk contains the remainder of the CDOS native utilities and part 9 | 1 of a set of general purpose tools similar to some of the tools provided with 10 | UNIX. These UNIX-like tools are provided to help system developers and 11 | application programmers create and maintain files. These tools are documented 12 | in the PROGRAMMER'S UTILITIES GUIDE SUPPLEMENT. 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /DISK03.DOC: -------------------------------------------------------------------------------- 1 | DISK3.DOC Developer Kit Disk 3 - UNIX-like Utilities 2 | (part 2), CP/M 68K Tools, 3 | Special Utilities, and 4 | Code Sample 5 | 6 August 1986 CDOS 68K ver. 1.2 6 | _______________________________________________________________________________ 7 | 8 | 9 | This disk contains the following programming tools and sample code: 10 | 11 | Subdirectory Explanation 12 | 13 | U_TOOLS Remainder of the UNIX-like tools. Documented in the 14 | PROGRAMMER'S UTILITIES GUIDE SUPPLEMENT. 15 | 16 | TOOLS CP/M 68K programming tools; requires the CP/M 68k 17 | front-end be present. The utilities COMBINE and 18 | EXPAND are CDOS native mode utilities that are 19 | useful for conserving disk space used to store 20 | small files. The typical naming convention is to 21 | give COMBINE'd files the extension ARC. All of these 22 | programs are documented in the PROGRAMMER'S UTILITIES 23 | GUIDE. 24 | 25 | SAMPLE Some of the Window Manager source is provided as an 26 | example of a program that implements windowing tech- 27 | niques, message passing, and process creation. 28 | In addition to the files listed in the release note 29 | the following files are included in the SAMPLE 30 | subdirectory: 31 | CCUTLS.H 32 | UTLERRS.H 33 | 34 | -------------------------------------------------------------------------------- /DISK04.DOC: -------------------------------------------------------------------------------- 1 | 2 | DISK4.DOC Developer Kit Disk 4 - Programmer's Utilities 3 | and Tools and C Compiler 4 | 6 August 1986 CDOS 68K ver. 1.2 5 | _______________________________________________________________________________ 6 | 7 | 8 | This disk contains the assembler, C compiler, linkers, debugger, and 9 | other programming tools and utilities. These tools and utilities are all 10 | documented in the PROGRAMMER'S UTILITIES GUIDE. Supplemental discussions 11 | of assembly language programming conventions, file load formats, and the use 12 | of the COFF and CRUNCH utilities are contained in the CONCURRENT DOS 13 | SUPPLEMENT FOR COMPUTERS BASED ON THE MOTOROLA MC68000 FAMILY OF 14 | MICROPROCESSORS. 15 | 16 | The C library contains CP/M 68K code rather than CDOS 68K native mode 17 | code and therefore, the executable files produced can only be run on CDOS 68K 18 | systems that include the CP/M 68K front end. CDOS native mode C programs can 19 | be produced by using the SYSLIB.L68 library included on Developer Kit Disk 5. 20 | -------------------------------------------------------------------------------- /DISK06.DOC: -------------------------------------------------------------------------------- 1 | DISK6.DOC Developer Kit Supplement Disk 1 - Driver and System 2 | Sources 3 | 6 August 1986 CDOS 68K ver. 1.2 4 | _______________________________________________________________________________ 5 | 6 | This diskette is organized into three subdirectories: 7 | 8 | DRV_SRC -- Contains all of the CDOS 68K driver modules in source form. 9 | In addition to the files listed in the release note, this subdirectory 10 | contains the file CPASM.BAT which is used to process the RAMDISK driver 11 | source component BTOOLS.PS. To produce a loadable ramdisk driver, the 12 | linker output file RDD.68K must be processed by the CRUNCH utility. 13 | 14 | SYS_SRC -- Contains all of the CDOS 68K system configuration modules 15 | in source form. Also, the file listed in the release note as OMMUA.S 16 | is named OMMUA.PS. Files with the file extension "PS" are assembler 17 | files that use the #include directive and must be processed by the C 18 | preprocessor CP68.68k. 19 | 20 | HEADERS -- Contains all of the .h files used to compile the sources 21 | in DRV_SRC and SYS_SRC. 22 | 23 | In order to conserve disk space, some of the .h files that are used to 24 | compile the SYSLIB sources may not have been duplicated on this disk. Check 25 | Developer Kit Disk 5 for additional .h files. 26 | 27 | 28 | -------------------------------------------------------------------------------- /DISK07.DOC: -------------------------------------------------------------------------------- 1 | DISK7.DOC Developer Kit Supplement Disk 2 - System Debugger, 2 | System Generation 3 | Tools and Objects 4 | 6 August 1986 CDOS 68K ver. 1.2 5 | _______________________________________________________________________________ 6 | 7 | This diskette is organized into two subdirectories: 8 | 9 | DEBUGGER -- Contains all of the files necessary to debug a CDOS 68K 10 | system under CP/M 68K. Instructions for using the cross-environment 11 | debugger are provided in the CDOS 68K Release Note. 12 | 13 | SYS_GEN -- Organized into two subdirectories: 14 | 15 | TOOLS -- Contains .BAT and .COM files to link a new system file. 16 | The different permutations of hardware and features are described 17 | in the CDOS 68K Release Note. To link a new system file you must 18 | increase the stack size of LINK68.68K to F000h with the following 19 | command: 20 | 21 | SS -sf000 link68.68k 22 | 23 | OBJECTS -- Contains some of the objects files required to link a new 24 | system file. 25 | 26 | NOTE: The files BASE.O, COFFLOAD.O, and COMMAND.O are on Developer Kit 27 | Supplement Disk 2 instead of Developer Kit Disk 3 as shown in the CDOS 28 | 68K Release Note. 29 | 30 | -------------------------------------------------------------------------------- /DISK08.DOC: -------------------------------------------------------------------------------- 1 | 2 | DISK8.DOC Developer Kit Supplement Disk 3 - System Generation 3 | Objects 4 | 6 August 1986 CDOS 68K ver. 1.2 5 | _______________________________________________________________________________ 6 | 7 | This diskette is contains the remainder of the object files required to\ 8 | generate a new system file. In general the files are organized into the 9 | following categories: 10 | 11 | File System files: 12 | FSCACHE.O 13 | FSDM.O 14 | FMNAME.O 15 | FSPATH.O 16 | FSVOL.O 17 | FSWINDOW.O 18 | HOOK.O 19 | 20 | CP/M 68k Front End files: 21 | FE1.O 22 | FE2.O 23 | FE68.O 24 | FESTUB.O (used in systems with no front end) 25 | FEINIT.O 26 | FEMAIN.O 27 | FE.O 28 | FEU1.O 29 | FEU2.O 30 | FPOOL.O 31 | FPOOL68K.O (used in systems with no front end) 32 | FPRINTF.O 33 | SUP68K.O 34 | SUP68KNF.O (used in systems with no front end) 35 | 36 | Console Driver files: 37 | VCDRCOPY.O 38 | VCDRTOOL.O 39 | VCDRV.O 40 | VCDRVWRT.O 41 | IBMTOVM.O 42 | VMCONASM.O 43 | VMKB.O 44 | 45 | Disk Driver files 46 | VMDISKA.O 47 | VMRWINDK.O 48 | 49 | Serial Port Driver files 50 | VM400.O 51 | VT52.O 52 | SDRV.O 53 | DRT.O 54 | 55 | Kernel, Resource Managers and Misc. files 56 | ABORT.O AFLAG.O ALLOCATE.O ASYNC.O 57 | ASYNCA.O BASE.O COFFLOAD.O COMMAND.O 58 | CPMLOAD.O CRMAN.O CRMCONV8.O CRMCOPY.O 59 | CRMCREAT.O CRMDEL.O CRMREAD.O CRMGSL.O 60 | CRMINST.O CRMKB.O CRMMOUSE.O CRMOPEN.O 61 | CRMRDEL.O CRMWIND.O CRMWRITE.O CRMXLAT.O 62 | DINIT.O DVRIF.O EXCEPT.O FREE.O 63 | HEAP.O INSTALL.O KFUNCS.O KTOOLS.O 64 | LOAD68K.O LUTILS.O M68.O MISMAN.O 65 | MGETBLK.O NULLDEV.O OFILE.O OSMEM.O 66 | OVERLAY.O PANIC68.O PEWTER.O PIPE.O 67 | PMGET.O PROCESS.O RDELIM.O RTMIF.O 68 | SUPERMAN.O SWI68K.O TABLES.O TOOLS.O 69 | VMCLK.O VMCONFIG.O VMPANIC.O VMQUEUE.O 70 | VPROBE.O 71 | 72 | NOTE: The files BASE.O, COFFLOAD.O, and COMMAND.O are on Developer Kit 73 | Supplement Disk 2 instead of Developer Kit Disk 3 as shown in the CDOS 74 | 68K Release Note. 75 | 76 | -------------------------------------------------------------------------------- /DISK09.DOC: -------------------------------------------------------------------------------- 1 | DISK9.DOC OEM Redistribution Kit Disk 1 - Utility Objects 2 | 6 August 1986 CDOS 68K ver. 1.2 3 | _______________________________________________________________________________ 4 | 5 | This diskette contains the object files and batch files to build the 6 | following utilities: 7 | 8 | RECDIR 9 | FSET 10 | MORE 11 | SORT 12 | CHKDSK 13 | PROCESS 14 | CONFIG 15 | RENAME 16 | DATE 17 | DIR 18 | DISKSET 19 | FIND 20 | TIME 21 | TREE 22 | TYPE 23 | COPY 24 | VER 25 | VOL 26 | BACKUP 27 | WMEX 28 | RESTORE 29 | LOGON 30 | COMP 31 | PASSWORD 32 | RECFILE 33 | 34 | -------------------------------------------------------------------------------- /DISK10.DOC: -------------------------------------------------------------------------------- 1 | DISK10.DOC OEM Redistribution Kit Disk 2 - System Libraries 2 | Shell Objects, Booter 3 | Source, and OEM 4 | Configurable Utilities 5 | Sources 6 | 6 August 1986 CDOS 68K ver. 1.2 7 | _______________________________________________________________________________ 8 | 9 | This diskette is organized into the following subdirectories: 10 | 11 | L68S -- System libraries linked into the shell and the CDOS utilities. 12 | 13 | SHEL_OBJ -- Shell object file and the linker input file SHELL.COM to 14 | regenerate the shell. 15 | 16 | BOOTER -- Sources to the booter used with CDOS 68K for the VME/10. 17 | 18 | CFG_UTL -- Sources and linker input files for the following OEM 19 | configurable utilities: 20 | 21 | COFF 22 | FORMAT 23 | SYS 24 | DISKCOMP 25 | DISKCOPY 26 | CRUNCH 27 | SS 28 | 29 | This subdirectory also includes the files PORTAB.H and STDIO.H. These 30 | are special versions the header files designed specifically for use when 31 | compiling the BOOTER and other utilities. Do not use other versions of 32 | PORTAB.H or STDIO.H when compiling sources included on this disk. 33 | -------------------------------------------------------------------------------- /DISK11.DOC: -------------------------------------------------------------------------------- 1 | DISK11.DOC OEM Redistribution Kit Disk 3 - System Message Source, 2 | CP/M68K to CDOS File 3 | Transfer Utility, and 4 | Special Sources 5 | 6 August 1986 CDOS 68K ver. 1.2 6 | _______________________________________________________________________________ 7 | 8 | This diskette is organized into the following subdirectories: 9 | 10 | CCMSGS -- Contains the sources to all of the general system messages in 11 | COMBINE'd file format. Convert to individual files using the EXPAND 12 | utility. 13 | 14 | UTL_MSGS -- Contains the sources to these utilities in COMBINE'd file 15 | format. Convert to individual files using the EXPAND utility. 16 | 17 | RECDIR 18 | FSET 19 | MORE 20 | SORT 21 | CHKDSK 22 | PROCESS 23 | CONFIG 24 | RENAME 25 | DATE 26 | DIR 27 | DISKSET 28 | FIND 29 | TIME 30 | TREE 31 | TYPE 32 | COPY 33 | VER 34 | VOL 35 | BACKUP 36 | WMEX 37 | RESTORE 38 | LOGON 39 | COMP 40 | PASSWORD 41 | RECFILE 42 | 43 | Source -- Contains the source to files which must be modified to run CDOS 44 | 68K on a Motorola 68020 microprocessor. See the CDOS 68K Release Note 45 | for additional information; these files are named DISPA.PS and MMU.PS and 46 | should be assembled using the CPASM.BAT file found in the DRV_SRC directory 47 | on Developer Kit Supplement Disk 1. This subdirectory also contains the 48 | files STRUCT.EQU, PANIC.EQU, and CPUMMU.EQU which are not shown on the list 49 | of included files in the RELEASE NOTE. 50 | 51 | VMUTIL -- Contains the source and executable file for the CP/M 68K to CDOS 52 | 68K file transfer utilitiy. 53 | 54 | SHEL_MSG -- Contains the sources to the utilities built in to the shell in 55 | COMBINE'd file format. Convert to individual files using the EXPAND utility. 56 | 57 | -------------------------------------------------------------------------------- /DISKCOMP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DISKCOMP.68K -------------------------------------------------------------------------------- /DISKCOPY.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DISKCOPY.68K -------------------------------------------------------------------------------- /DISKSET.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DISKSET.68K -------------------------------------------------------------------------------- /DISKSET.COM: -------------------------------------------------------------------------------- 1 | [s] diskset.68k = stdmain,diskset,dsetmsg, 2 | share.l68,errlib.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /DISKSET.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DISKSET.O -------------------------------------------------------------------------------- /DREDIX.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DREDIX.68K -------------------------------------------------------------------------------- /DRIVERS/RAMDISK.BAT: -------------------------------------------------------------------------------- 1 | echo off 2 | echo *-----------------------------------------------------* 3 | echo * RAMDISK.BAT * 4 | echo * This Batch file will install the loadable Memory * 5 | echo * Disk driver in your CDOS 1.2 operating sytem. The * 6 | echo * installation will default a disk size of 64K if no * 7 | echo * parameter is specified when invoking this batch * 8 | echo * file. At present, this version (0.03), can only * 9 | echo * only be installed in sizes of 64k, 128k, 256k, and * 10 | echo * 512K. The Ram Disk is physical device "rd0:" and * 11 | echo * logical device "m:". * 12 | echo *-----------------------------------------------------* 13 | rem 14 | rem *** First check to see if rd0: has already been 15 | rem installed. 16 | rem 17 | if exist rd0: goto done1 18 | rem 19 | rem *** Was the size specified ? 20 | rem 21 | if @%1 == @ goto dosize 22 | define -s RDSIZE = %1 23 | goto install 24 | :dosize 25 | define -s RDSIZE = 64 26 | rem 27 | :install 28 | dvrload rd0: ramdsk.drv lnrws 29 | if exist rd0: goto done 30 | echo *************Ram Disk Installation Failure****************** 31 | goto fini 32 | :done1 33 | echo *--------------Ram Disk already Installed ------------------* 34 | goto fini 35 | :done 36 | define -s m:=rd0: 37 | echo *-----------------Ram Disk installed -----------------------* 38 | goto fini 39 | :fini 40 | echo *------------------------DONE-------------------------------* 41 | echo on 42 | -------------------------------------------------------------------------------- /DRIVERS/RAMDSK.DRV: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DRIVERS/RAMDSK.DRV -------------------------------------------------------------------------------- /DRV_SRC/CPASM.BAT: -------------------------------------------------------------------------------- 1 | cp68 -i 0: %1.ps %1.i 2 | as68 -l -t %1.i 3 | del %1.i 4 | -------------------------------------------------------------------------------- /DRV_SRC/LINKRDD.BAT: -------------------------------------------------------------------------------- 1 | link68 rdd.68k = rdd.o,btools.o,drt.o,xlib 2 | -------------------------------------------------------------------------------- /DRV_SRC/VMDISKA.S: -------------------------------------------------------------------------------- 1 | * @(#)diska.s 1.4 2 | .text 3 | * 4 | * Global Code addresses 5 | * 6 | .globl _rddat 7 | .globl _wrdat 8 | .globl _no_device 9 | * 10 | * Vector Addresses 11 | * 12 | buserr: .equ $8 13 | * 14 | * Disk data transfer loops 15 | * Calling sequence: 16 | * xxdat(bufadr, ctladr); 17 | * bufadr is the source/destination data address 18 | * ctladr is the controller's data register address 19 | * 20 | * without considering wait states movep.l makes 21 | * the faster loop. however, accounting for wait 22 | * states makes the 68010 loop mode faster. 23 | * 24 | _rddat: move.l 4(sp),a0 25 | move.l 8(sp),a1 26 | move.w #127,d0 27 | rdlp: move.b (a1),(a0)+ 28 | dbf d0,rdlp 29 | rts 30 | * 31 | _wrdat: move.l 4(sp),a0 32 | move.l 8(sp),a1 33 | move.w #127,d0 34 | wrlp: move.b (a0)+,(a1) 35 | dbf d0,wrlp 36 | rts 37 | * 38 | * 39 | _no_device: 40 | move.l 4(sp),a0 41 | move.l buserr,-(sp) 42 | move.l #ndber,buserr 43 | move.b (a0),d0 44 | moveq.l #0,d0 45 | move.l (sp)+,buserr 46 | rts 47 | ndber: 48 | moveq.l #1,d0 49 | add.l #58,sp 50 | move.l (sp)+,buserr 51 | rts 52 | * 53 | .end 54 | ),d0 55 | moveq.l #0,d0 56 | move.l (sp)+,buserr 57 | rts 58 | ndber: 59 | moveq.l #1,d0 60 | add.l #58,sp 61 | move.l (sp)+,b -------------------------------------------------------------------------------- /DSETMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DSETMSG.O -------------------------------------------------------------------------------- /DVRIF.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/DVRIF.O -------------------------------------------------------------------------------- /EXCEPT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/EXCEPT.O -------------------------------------------------------------------------------- /FE1.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FE1.O -------------------------------------------------------------------------------- /FE2.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FE2.O -------------------------------------------------------------------------------- /FE68.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FE68.O -------------------------------------------------------------------------------- /FEINIT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FEINIT.O -------------------------------------------------------------------------------- /FEMAIN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FEMAIN.O -------------------------------------------------------------------------------- /FESTUB.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FESTUB.O -------------------------------------------------------------------------------- /FEU1.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FEU1.O -------------------------------------------------------------------------------- /FEU2.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FEU2.O -------------------------------------------------------------------------------- /FFDIR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FFDIR.O -------------------------------------------------------------------------------- /FFERR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FFERR.O -------------------------------------------------------------------------------- /FFFAT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FFFAT.O -------------------------------------------------------------------------------- /FFINIT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FFINIT.O -------------------------------------------------------------------------------- /FFMAIN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FFMAIN.O -------------------------------------------------------------------------------- /FFMSGS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FFMSGS.O -------------------------------------------------------------------------------- /FFSYS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FFSYS.O -------------------------------------------------------------------------------- /FIND.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FIND.68K -------------------------------------------------------------------------------- /FIND.COM: -------------------------------------------------------------------------------- 1 | [s] find.68k = stdmain,find,findmsg, 2 | share.l68,errlib.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /FIND.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FIND.O -------------------------------------------------------------------------------- /FINDMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FINDMSG.O -------------------------------------------------------------------------------- /FORMAT.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FORMAT.68K -------------------------------------------------------------------------------- /FPOOL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FPOOL.O -------------------------------------------------------------------------------- /FPOOL68K.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FPOOL68K.O -------------------------------------------------------------------------------- /FPRINTF.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FPRINTF.O -------------------------------------------------------------------------------- /FREE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FREE.O -------------------------------------------------------------------------------- /FSCACHE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSCACHE.O -------------------------------------------------------------------------------- /FSDM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSDM.O -------------------------------------------------------------------------------- /FSET.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSET.68K -------------------------------------------------------------------------------- /FSET.COM: -------------------------------------------------------------------------------- 1 | [s] fset.68k = stdmain,fset,fsetmsg, 2 | share.l68,errlib.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /FSET.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSET.O -------------------------------------------------------------------------------- /FSETMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSETMSG.O -------------------------------------------------------------------------------- /FSNAME.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSNAME.O -------------------------------------------------------------------------------- /FSPATH.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSPATH.O -------------------------------------------------------------------------------- /FSVOL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSVOL.O -------------------------------------------------------------------------------- /FSWINDOW.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/FSWINDOW.O -------------------------------------------------------------------------------- /HEADERS/BASPAG.H: -------------------------------------------------------------------------------- 1 | 2 | /****************************************************************************** 3 | * BASPAG.H Version 1.0.02 4 | ******************************************************************************* 5 | * Copyright (c) 1985, Digital Research, Inc. All Rights Reserved. The Software 6 | * Code contained in this listing is proprietary to Digital Research, Inc., 7 | * Monterey, California and is covered by U.S. and other copyright protection. 8 | * Unauthorized copying, adaptation, distribution, use or display is prohibited 9 | * and may be subject to civil and criminal penalties. Disclosure to others is 10 | * prohibited. For the terms and conditions of software code use refer to the 11 | * appropriate Digital Research License Agreement. 12 | ******************************************************************************* 13 | * Version Date Who Description 14 | * ======= ======== === ======================================================= 15 | * v1.0.02 09/05/85 FRH Remove DRL, NRL 16 | * v1.0.01 08/18/85 FRH No more ZLR 17 | * v1.0.00 05/28/85 Concurrent DOS 286 1.0 Release Version 18 | ******************************************************************************/ 19 | 20 | EXTERN PD *rlr, *thrdrt; 21 | EXTERN EVB *dlr, *plr; 22 | EXTERN MD *mfl, *allocp; 23 | EXTERN WORD elinkoff, pthrdoff; 24 | EXTERN SPB *bdsync, *qsync, *memsync, *slr; 25 | EXTERN BDA *bdap; 26 | EXTERN LONG curpid; 27 | EXTERN UWORD indisp; 28 | linkoff, pthrdoff; 29 | EXTERN SPB *bdsync, *qsync, * 30 | sync, *slr; 31 | EXTERN BDA *bdap; 32 | EXTERN LONG curpid; 33 | EXTERN UWORD indisp; 34 | linkoff, pthrdoff; 35 | EXTERN SPB *bdsync, *qsync, * -------------------------------------------------------------------------------- /HEADERS/BTOOLS.H: -------------------------------------------------------------------------------- 1 | 2 | /* btools.h - header file for routines which call the block oriented tools */ 3 | 4 | 5 | #define STRCPY( d , s ) strcpy( d , s ) /* use std. */ 6 | #define STRNCPY( d , s , n ) bmove( s , d , n ) 7 | #define STRLEN( s ) blength( s , '\0' ) 8 | #define bzero( s , n ) bfill( s , 0 , n ) 9 | 10 | 11 | EXTERN VOID bmove() ; 12 | EXTERN VOID bfill() ; 13 | EXTERN BYTE *bsrch() ; 14 | EXTERN WORD blength() ; 15 | 16 |  -------------------------------------------------------------------------------- /HEADERS/CPUMMU.H: -------------------------------------------------------------------------------- 1 | /*********************************************************************** 2 | * CPUMMU.H - defines for CPU type and whether an MMU is used 3 | ***********************************************************************/ 4 | 5 | #define MC68010 1 /* are we using the 68010 (I hope so) */ 6 | #define MC68000 0 /* are we using the 68000 (I hope not) */ 7 | #define MMU 1 /* are we using the MMU? */ 8 |  9 |  hope so) */ 10 | #define MC68000 0 /* are we using the 68000 (I hope not) */ 11 | #define MMU 1 /* are we using the MMU? */ 12 |  -------------------------------------------------------------------------------- /HEADERS/VMCONIBM.H: -------------------------------------------------------------------------------- 1 | /* @(#)vmconibm.h 1.2 */ 2 | /* 3 | * This header file contains information about the 4 | * IBM PC memory mapped monitor. 5 | * 6 | * Concurrent DOS supports the IBM PC as a standard, 7 | * all user's write to an image of a PC monitor, 8 | * it is up to the console driver to appropriately map the 9 | * PC image to the real, physical console. 10 | */ 11 | 12 | #define IBMNROW 25 13 | #define IBMNCOL 80 14 | 15 | /* 16 | * The attribute is the odd byte of the display address 17 | * and is associated with a character. 18 | */ 19 | 20 | #define IBMBLINK 0x80 21 | #define IBMINTENSE 0x08 22 | 23 | /* Background color */ 24 | 25 | #define IBMBRED 0x40 26 | #define IBMBGREEN 0x20 27 | #define IBMBBLUE 0x10 28 | 29 | /* Foreground color */ 30 | 31 | #define IBMFRED 0x04 32 | #define IBMFGREEN 0x02 33 | #define IBMFBLUE 0x01 34 | 35 | /* 36 | * The monochrome monitor on the IBM PC uses 37 | * the color fields to specify: 38 | * 39 | * - character display 40 | * - normal video 41 | * - reverse video 42 | * - underline 43 | */ 44 | 45 | #define IBMNOSHOW 0x00 46 | #define IBMNORMAL 0x07 47 | #define IBMREVERSE 0x70 48 | #define IBMUNDLINE 0x01 /* FOR NORMAL ONLY ???? */ 49 | 50 | #define IBMINITATTR IBMNORMAL 51 | IBMNORMAL 0x07 52 | #define IBMREVERSE 0x70 53 | #define IBMUNDLINE 0x01 /* FOR NORMAL ONL -------------------------------------------------------------------------------- /HEADERS/VMKB.H: -------------------------------------------------------------------------------- 1 | /* 2 | * Concurrent 4.0 driver header file 3 | */ 4 | 5 | /* mapphys parameter block */ 6 | typedef struct 7 | { 8 | LONG mpzero; 9 | BYTE *pbegaddr; 10 | LONG plength; 11 | } MAPPB; 12 | /* mapphys memory type */ 13 | #define MAPCODE 0 /* physical memory contains code */ 14 | #define MAPDATA 1 /* physical memory contains data */ 15 | 16 | /* 17 | * Parameter block used to call the supif supervisor 18 | * timer function. Used in the keyboard driver. 19 | */ 20 | 21 | struct timeblk 22 | { 23 | BYTE t_async; 24 | BYTE t_zero; 25 | WORD t_flags; 26 | LONG t_swi; 27 | LONG t_time; 28 | }; 29 | 30 | #define F_TIMER 24 /* supif function number for TIMER function */ 31 | 32 | 33 | ro; 34 | WORD t_flags; 35 | LONG t_swi; 36 | LONG t_time; 37 | }; 38 | -------------------------------------------------------------------------------- /HEADERS/VMQUEUE.H: -------------------------------------------------------------------------------- 1 | /* @(#)vmqueue.h 1.3 */ 2 | /**************************************************************************** 3 | * 4 | * These are the variables that control the ring buffer for 5 | * port driver types. 6 | * 7 | *****************************************************************************/ 8 | 9 | #define BIGQUEUE 0 10 | 11 | #if BIGQUEUE 12 | 13 | #define QBUFSIZ 512 /* Size of input and output buffers */ 14 | 15 | #define QHIWATER 512-50 /* High water mark - we're getting full boys */ 16 | #define QLOWATER 50 /* Yes, you can start filling us up again */ 17 | 18 | #else 19 | 20 | #define QBUFSIZ 80 /* Size of input and output buffers */ 21 | 22 | #define QHIWATER 60 /* High water mark - we're getting full boys */ 23 | #define QLOWATER 20 /* Yes, you can start filling us up again */ 24 | 25 | #endif 26 | 27 | #define QUEUE struct _QueUeStrUct 28 | 29 | QUEUE 30 | { 31 | WORD q_head; 32 | WORD q_tail; 33 | UWORD q_count; 34 | LONG q_overflow; 35 | LONG q_underflow; 36 | UBYTE q_buffer[QBUFSIZ]; 37 | }; 38 | 39 | #define qempty(q) ((q)->q_count == 0) 40 | #define qfull(q) ((q)->q_count >= QBUFSIZ) 41 | #define qcnt(q) ((q)->q_count) 42 | #define qhiwater(q) ((q)->q_count >= QHIWATER) 43 | #define qlowater(q) ((q)->q_count <= QLOWATER) 44 | 45 | UBYTE dequeue(); 46 | VOID enqueue(); 47 | QUEUE *getqueue(); 48 | q_count >= QHIWATER) 49 | #define qlowater(q) ((q)->q_count <= QLOWATER) 50 | 51 | UBYTE dequeue(); 52 | VOID enqueue -------------------------------------------------------------------------------- /HEADERS/VTERM.H: -------------------------------------------------------------------------------- 1 | /* @(#)vterm.h 1.1 */ 2 | /* 3 | * Terminal SubDriver Header File 4 | */ 5 | 6 | #define MAXTUNIT 2 7 | 8 | /* 9 | * Special entry point functions. 10 | */ 11 | 12 | #define TGOTO 1 13 | #define ED_TERM (0x80000000L | (DVR_TERM << 16)) /* Terminal Driver */ 14 | pecial entry point functions -------------------------------------------------------------------------------- /HEAP.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/HEAP.O -------------------------------------------------------------------------------- /HOOK.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/HOOK.O -------------------------------------------------------------------------------- /IBMTOVM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/IBMTOVM.O -------------------------------------------------------------------------------- /INSTALL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/INSTALL.O -------------------------------------------------------------------------------- /KFUNCS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/KFUNCS.O -------------------------------------------------------------------------------- /KONERR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/KONERR.O -------------------------------------------------------------------------------- /KONFIG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/KONFIG.O -------------------------------------------------------------------------------- /KONXFACE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/KONXFACE.O -------------------------------------------------------------------------------- /KSTART.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/KSTART.O -------------------------------------------------------------------------------- /KTOOLS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/KTOOLS.O -------------------------------------------------------------------------------- /L68S/40PRO.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/40PRO.L68 -------------------------------------------------------------------------------- /L68S/CCMSGS.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/CCMSGS.L68 -------------------------------------------------------------------------------- /L68S/CCRTL.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/CCRTL.L68 -------------------------------------------------------------------------------- /L68S/CCUTLS.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/CCUTLS.L68 -------------------------------------------------------------------------------- /L68S/ERRLIB.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/ERRLIB.L68 -------------------------------------------------------------------------------- /L68S/SHARE.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/SHARE.L68 -------------------------------------------------------------------------------- /L68S/SLIB.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/SLIB.L68 -------------------------------------------------------------------------------- /L68S/UTIL68K.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/UTIL68K.L68 -------------------------------------------------------------------------------- /L68S/UTOOLS.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/L68S/UTOOLS.L68 -------------------------------------------------------------------------------- /LOAD68K.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/LOAD68K.O -------------------------------------------------------------------------------- /LOCLOGON.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/LOCLOGON.O -------------------------------------------------------------------------------- /LOGMAIN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/LOGMAIN.O -------------------------------------------------------------------------------- /LOGMSGS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/LOGMSGS.O -------------------------------------------------------------------------------- /LOGON.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/LOGON.68K -------------------------------------------------------------------------------- /LOGON.COM: -------------------------------------------------------------------------------- 1 | [s] logon.68k = stdmain,logmain,loclogon,remlogon,logmsgs,protools, 2 | utools.l68,ccutls.l68,ccrtl.l68,ccmsgs.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /LUTILS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/LUTILS.O -------------------------------------------------------------------------------- /M68.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/M68.O -------------------------------------------------------------------------------- /MGETBLK.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/MGETBLK.O -------------------------------------------------------------------------------- /MISMAN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/MISMAN.O -------------------------------------------------------------------------------- /MORE.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/MORE.68K -------------------------------------------------------------------------------- /MORE.COM: -------------------------------------------------------------------------------- 1 | [s] more.68k = stdmain,more,moremsg, 2 | share.l68,errlib.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /MORE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/MORE.O -------------------------------------------------------------------------------- /MOREMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/MOREMSG.O -------------------------------------------------------------------------------- /NULLDEV.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/NULLDEV.O -------------------------------------------------------------------------------- /OFILE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/OFILE.O -------------------------------------------------------------------------------- /OSMEM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/OSMEM.O -------------------------------------------------------------------------------- /OVERLAY.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/OVERLAY.O -------------------------------------------------------------------------------- /PANIC68.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PANIC68.O -------------------------------------------------------------------------------- /PASSMAIN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PASSMAIN.O -------------------------------------------------------------------------------- /PASSMSGS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PASSMSGS.O -------------------------------------------------------------------------------- /PASSWORD.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PASSWORD.68K -------------------------------------------------------------------------------- /PASSWORD.COM: -------------------------------------------------------------------------------- 1 | [s] password.68k = stdmain,passmain,xpasswd,passmsgs,protools, 2 | utools.l68,ccrtl.l68,ccutls.l68,ccmsgs.l68,utools.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /PEWTER.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PEWTER.O -------------------------------------------------------------------------------- /PIPE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PIPE.O -------------------------------------------------------------------------------- /PMGET.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PMGET.O -------------------------------------------------------------------------------- /PROCESS.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PROCESS.68K -------------------------------------------------------------------------------- /PROCESS.COM: -------------------------------------------------------------------------------- 1 | [s] process.68k = stdmain,procutl,procmsgs, 2 | ccutls.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /PROCESS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PROCESS.O -------------------------------------------------------------------------------- /PROCMSGS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PROCMSGS.O -------------------------------------------------------------------------------- /PROCUTL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PROCUTL.O -------------------------------------------------------------------------------- /PROTOOLS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/PROTOOLS.O -------------------------------------------------------------------------------- /RDELIM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RDELIM.O -------------------------------------------------------------------------------- /RECDIR.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RECDIR.68K -------------------------------------------------------------------------------- /RECDIR.COM: -------------------------------------------------------------------------------- 1 | [s] recdir.68k = kstart,recdir,recds1,recds2, 2 | slib.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /RECDIR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RECDIR.O -------------------------------------------------------------------------------- /RECDS1.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RECDS1.O -------------------------------------------------------------------------------- /RECDS2.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RECDS2.O -------------------------------------------------------------------------------- /RECFILE.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RECFILE.68K -------------------------------------------------------------------------------- /RECFILE.COM: -------------------------------------------------------------------------------- 1 | [s] recfile.68k = kstart,ffmain,ffdir,fffat,ffinit,ffsys,fferr,ffmsgs, 2 | slib.l68,slib.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /REMLOGON.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/REMLOGON.O -------------------------------------------------------------------------------- /RENAME.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RENAME.68K -------------------------------------------------------------------------------- /RENAME.COM: -------------------------------------------------------------------------------- 1 | [s] rename.68k = stdmain,rename,renmsg, 2 | share.l68,errlib.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /RENAME.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RENAME.O -------------------------------------------------------------------------------- /RENMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RENMSG.O -------------------------------------------------------------------------------- /RESTERR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RESTERR.O -------------------------------------------------------------------------------- /RESTMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RESTMSG.O -------------------------------------------------------------------------------- /RESTORE.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RESTORE.68K -------------------------------------------------------------------------------- /RESTORE.COM: -------------------------------------------------------------------------------- 1 | [s] restore.68k = stdmain,restore1,restore2,resterr,brcom,restmsg,brcommsg, 2 | share.l68,errlib.l68,40pro.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /RESTORE1.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RESTORE1.O -------------------------------------------------------------------------------- /RESTORE2.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RESTORE2.O -------------------------------------------------------------------------------- /RTMIF.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/RTMIF.O -------------------------------------------------------------------------------- /SAMPLE/SAMPLE.DOC: -------------------------------------------------------------------------------- 1 | SAMPLE.DOC Developer Kit Disk 3 - Sample Source Code 2 | 6 August 1986 CDOS 68K ver. 1.2 3 | _______________________________________________________________________________ 4 | 5 | 6 | The sample source code in this subdirectory is only meant to be used 7 | as a study guide. This source code is only a portion of the CDOS window 8 | manager, WMEX.68K. In its present form, it cannot be compiled as there 9 | are certain header files and library dependencies not included as part of 10 | the Developer Kit. 11 | 12 | This code contains examples of windowing techniques, message passing, and 13 | process spawning. It is provided soley as an aide for developing software 14 | that contains these features in the native CDOS 68K mode. 15 | 16 | Source code files provided: 17 | 18 | WMEXNUT C 19 | WMEXDATA C 20 | WMCHAR H 21 | WMOS H 22 | WMEX H 23 | WMUTLS C 24 | WMEX C 25 | 26 | In addition to the files listed in the release note the following 27 | sample source files are provided: 28 | 29 | CCUTLS H 30 | UTLERRS H 31 | 32 | -------------------------------------------------------------------------------- /SAMPLE/UTLERRS.H: -------------------------------------------------------------------------------- 1 | /* Utility Return Codes */ 2 | 3 | /****************************************************************/ 4 | /* */ 5 | /* Utility Return codes follow the same basic format of */ 6 | /* DOS return codes, with the following exceptions: */ 7 | /* */ 8 | /* All error codes are positive numbers (LONGS) since */ 9 | /* the high bit (31) is always zero (0). */ 10 | /* */ 11 | /* The error code field should use one of the following */ 12 | /* listed codes when possible. */ 13 | /* */ 14 | /* Utility return code format: */ 15 | /* */ 16 | /* 31|30 24|23 16|15 0 (bits) */ 17 | /* +-+-------+--------+----------------+ */ 18 | /* |0| 0 | module | Error Code | */ 19 | /* +-+-------+--------+----------------+ */ 20 | /* (high byte) (low word) */ 21 | /* */ 22 | /* Error Code 16 bit number as described below */ 23 | /* (NOTE: these are all cast as WORD) */ 24 | /* Module 8 bit number indicating source Module */ 25 | /* This value may be used to designate */ 26 | /* certain modules within a utility. */ 27 | /* High Byte high bit is 0, low 7 bits are reserved */ 28 | /* */ 29 | /* Applications return errors that they generated */ 30 | /* by ORing the Module with the Error Code. */ 31 | /* ie. */ 32 | /* return( UR_SOURCE | UR_PARM ); */ 33 | /* (The Utility is noting that a parameter error was detected) */ 34 | /* */ 35 | /* ALSO: DON'T OR Module Number with UR_SUCCESS... */ 36 | /* */ 37 | /****************************************************************/ 38 | 39 | #define UR_SOURCE (LONG)0 /* Utility Return Module ID */ 40 | 41 | #define UR_SUCCESS (LONG)0 /* Successful completion */ 42 | 43 | #define UR_PARM 0x0001 /* Parameter error */ 44 | #define UR_CONFLICT 0x0002 /* Contention conflict */ 45 | #define UR_UTERM 0x0003 /* Terminated by user */ 46 | #define UR_FORMAT 0x0004 /* Data structure format err */ 47 | #define UR_INTERNAL 0x0005 /* Internal utility error */ 48 |  */ 49 | #define UR_FORMAT -------------------------------------------------------------------------------- /SDRV.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SDRV.O -------------------------------------------------------------------------------- /SHEL_OBJ/ASNMSGS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/ASNMSGS.O -------------------------------------------------------------------------------- /SHEL_OBJ/ASSIGN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/ASSIGN.O -------------------------------------------------------------------------------- /SHEL_OBJ/BREAK.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/BREAK.O -------------------------------------------------------------------------------- /SHEL_OBJ/BREAKMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/BREAKMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/CANCEL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/CANCEL.O -------------------------------------------------------------------------------- /SHEL_OBJ/CANCEMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/CANCEMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/CHDIR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/CHDIR.O -------------------------------------------------------------------------------- /SHEL_OBJ/CHDIRMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/CHDIRMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/CMDTAB.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/CMDTAB.O -------------------------------------------------------------------------------- /SHEL_OBJ/CTTY.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/CTTY.O -------------------------------------------------------------------------------- /SHEL_OBJ/DEFINE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/DEFINE.O -------------------------------------------------------------------------------- /SHEL_OBJ/DEFMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/DEFMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/DVRLINK.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/DVRLINK.O -------------------------------------------------------------------------------- /SHEL_OBJ/DVRLOAD.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/DVRLOAD.O -------------------------------------------------------------------------------- /SHEL_OBJ/DVRTOOLS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/DVRTOOLS.O -------------------------------------------------------------------------------- /SHEL_OBJ/DVRUNIT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/DVRUNIT.O -------------------------------------------------------------------------------- /SHEL_OBJ/DVRUNLK.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/DVRUNLK.O -------------------------------------------------------------------------------- /SHEL_OBJ/ERAMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/ERAMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/ERASE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/ERASE.O -------------------------------------------------------------------------------- /SHEL_OBJ/MKDIR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/MKDIR.O -------------------------------------------------------------------------------- /SHEL_OBJ/MKDIRMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/MKDIRMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/RMDIR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/RMDIR.O -------------------------------------------------------------------------------- /SHEL_OBJ/RMDIRMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/RMDIRMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/SECURITY.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SECURITY.O -------------------------------------------------------------------------------- /SHEL_OBJ/SECURMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SECURMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHELL.COM: -------------------------------------------------------------------------------- 1 | [s] command.68k = 2 | stdmain,shmain,shell,shswi,sherr,shmem,shsym,shtools,shmsgs,shstruct,cmdtab, 3 | xcls,xecho,xexit,xlist,xlogoff,xorder,xpath,xpause,xprompt,xrem, 4 | break,breakmsg,ctty,chdir,chdirmsg,define,defmsg,utverify,vfymsg, 5 | erase,eramsg,cancel,cancemsg,mkdir,mkdirmsg,rmdir,rmdirmsg, 6 | assign,asnmsgs,security,securmsg, 7 | dvrunit,dvrlink,dvrload,dvrunlk,dvrtools, 8 | 40pro.l68,40pro.l68,errlib.l68,ccutls.l68,ccrtl.l68, 9 | ccmsgs.l68,util68k.l68 10 |  11 | -------------------------------------------------------------------------------- /SHEL_OBJ/SHELL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHELL.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHERR.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHERR.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHMAIN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHMAIN.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHMEM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHMEM.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHMSGS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHMSGS.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHSTRUCT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHSTRUCT.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHSWI.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHSWI.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHSYM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHSYM.O -------------------------------------------------------------------------------- /SHEL_OBJ/SHTOOLS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/SHTOOLS.O -------------------------------------------------------------------------------- /SHEL_OBJ/STDMAIN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/STDMAIN.O -------------------------------------------------------------------------------- /SHEL_OBJ/UTVERIFY.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/UTVERIFY.O -------------------------------------------------------------------------------- /SHEL_OBJ/VFYMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/VFYMSG.O -------------------------------------------------------------------------------- /SHEL_OBJ/XCLS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XCLS.O -------------------------------------------------------------------------------- /SHEL_OBJ/XECHO.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XECHO.O -------------------------------------------------------------------------------- /SHEL_OBJ/XEXIT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XEXIT.O -------------------------------------------------------------------------------- /SHEL_OBJ/XLIST.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XLIST.O -------------------------------------------------------------------------------- /SHEL_OBJ/XLOGOFF.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XLOGOFF.O -------------------------------------------------------------------------------- /SHEL_OBJ/XORDER.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XORDER.O -------------------------------------------------------------------------------- /SHEL_OBJ/XPATH.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XPATH.O -------------------------------------------------------------------------------- /SHEL_OBJ/XPAUSE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XPAUSE.O -------------------------------------------------------------------------------- /SHEL_OBJ/XPROMPT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XPROMPT.O -------------------------------------------------------------------------------- /SHEL_OBJ/XREM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SHEL_OBJ/XREM.O -------------------------------------------------------------------------------- /SORT.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SORT.68K -------------------------------------------------------------------------------- /SORT.COM: -------------------------------------------------------------------------------- 1 | [s] sort.68k = stdmain,sort,sortmsgs, 2 | ccutls.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /SORT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SORT.O -------------------------------------------------------------------------------- /SORTMSGS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SORTMSGS.O -------------------------------------------------------------------------------- /SOURCE/CPUMMU.EQU: -------------------------------------------------------------------------------- 1 | ************************************************************************ 2 | * CPUMMU.EQU - assembly language equates for cpu and mmu type 3 | ************************************************************************ 4 | 5 | MC68010 equ 1 * 1 = 68010 6 | MC68000 equ 0 * 1 = 68000 7 | MMU equ 1 * 0 = no mmu, 1 = use mmu 8 | ***************************** 9 | 10 | MC68010 equ 1 * 1 = 68010 11 | MC68000 equ 0 -------------------------------------------------------------------------------- /STUDENT.BAT: -------------------------------------------------------------------------------- 1 | dredix [t] 2 | -------------------------------------------------------------------------------- /SUP.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SUP.O -------------------------------------------------------------------------------- /SUP68K.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SUP68K.O -------------------------------------------------------------------------------- /SUP68KNF.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SUP68KNF.O -------------------------------------------------------------------------------- /SUPERMAN.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SUPERMAN.O -------------------------------------------------------------------------------- /SWI.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SWI.O -------------------------------------------------------------------------------- /SWI68K.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SWI68K.O -------------------------------------------------------------------------------- /SYS.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS.68K -------------------------------------------------------------------------------- /SYSLIB/BUILDL68.BAT: -------------------------------------------------------------------------------- 1 | 2 | ; 3 | ; This submit file builds SYSLIB.L68 from scratch. 4 | ; 5 | ERASE SYSLIB.OLD 6 | REN SYSLIB.L68 SYSLIB.OLD 7 | ar68 r syslib.l68 gmain.o tools.o fprintf.o stoi.o 8 | ar68 r syslib.l68 ebwait.o ecommand.o econtrol.o elock.o eread.o erwait.o 9 | ar68 r syslib.l68 especial.o eterm.o etimer.o ewrite.o sabort.o salter.o 10 | ar68 r syslib.l68 sbwait.o scancel.o sclose.o scommand.o scontrol.o scopy.o 11 | ar68 r syslib.l68 screate.o sdefine.o sdelete.o sdevlock.o sdisable.o 12 | ar68 r syslib.l68 senable.o sexcept.o sexit.o sget.o sgive.o sgsx.o 13 | ar68 r syslib.l68 sinstall.o skctrl.o slock.o slookup.o smalloc.o smctrl.o 14 | ar68 r syslib.l68 smfree.o sopen.o sorder.o soverlay.o srdelim.o sread.o 15 | ar68 r syslib.l68 srename.o sreturn.o srwait.o sseek.o sset.o sspecial.o 16 | ar68 r syslib.l68 sstatus.o sswiret.o stimer.o svccreat.o swait.o swrite.o 17 | ar68 r syslib.l68 sxlat.o zerofil.o osif.o ldiv.o lmul.o lrem.o strcat.o 18 | ar68 r syslib.l68 strcpy.o strncmp.o 19 | ; 20 | ; Done. 21 | ; 22 | -------------------------------------------------------------------------------- /SYSLIB/BUILDL68.SUB: -------------------------------------------------------------------------------- 1 | ; 2 | ; This submit file builds SYSLIB.L68 from scratch. 3 | ; 4 | ERA SYSLIB.OLD 5 | REN SYSLIB.OLD=SYSLIB.L68 6 | ar68 r syslib.l68 gmain.o tools.o fprintf.o stoi.o 7 | ar68 r syslib.l68 ebwait.o ecommand.o econtrol.o elock.o eread.o erwait.o 8 | ar68 r syslib.l68 especial.o eterm.o etimer.o ewrite.o sabort.o salter.o 9 | ar68 r syslib.l68 sbwait.o scancel.o sclose.o scommand.o scontrol.o scopy.o 10 | ar68 r syslib.l68 screate.o sdefine.o sdelete.o sdevlock.o sdisable.o 11 | ar68 r syslib.l68 senable.o sexcept.o sexit.o sget.o sgive.o sgsx.o 12 | ar68 r syslib.l68 sinstall.o skctrl.o slock.o slookup.o smalloc.o smctrl.o 13 | ar68 r syslib.l68 smfree.o sopen.o sorder.o soverlay.o srdelim.o sread.o 14 | ar68 r syslib.l68 srename.o sreturn.o srwait.o sseek.o sset.o sspecial.o 15 | ar68 r syslib.l68 sstatus.o sswiret.o stimer.o svccreat.o swait.o swrite.o 16 | ar68 r syslib.l68 sxlat.o zerofil.o osif.o ldiv.o lmul.o lrem.o strcat.o 17 | ar68 r syslib.l68 strcpy.o strncmp.o 18 | ; 19 | ; Done. 20 | ; 21 | -------------------------------------------------------------------------------- /SYSLIB/EBWAIT.C: -------------------------------------------------------------------------------- 1 | /* EBWAIT.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_bwait(swi,clicks,fnum,mask,state) 28 | UWORD clicks; 29 | LONG swi,fnum,mask,state; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | p.pb_mode = 1; 35 | p.pb_flags = clicks; 36 | p.pb_swi = swi; 37 | p.pb_id = fnum; 38 | p.pb_buffer = mask; 39 | p.pb_bufsiz = state; 40 | return(__OSIF(F_BWAIT,&p)); 41 | } 42 | -------------------------------------------------------------------------------- /SYSLIB/ECOMMAND.C: -------------------------------------------------------------------------------- 1 | /* ECOMMAND.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_command(swi,pid,flags,command,buffer,bufsiz,procinfo) 28 | UWORD flags; 29 | LONG swi,pid,command,buffer,procinfo; 30 | LONG bufsiz; 31 | { 32 | PBLK p; 33 | 34 | zerofil(&p,sizeof(PBLK)); 35 | 36 | p.pb_mode = 1; 37 | p.pb_flags = flags; 38 | p.pb_swi = swi; 39 | p.pb_id = command; 40 | p.pb_buffer = buffer; 41 | p.pb_bufsiz = bufsiz; 42 | p.pb_p1 = procinfo; 43 | p.pb_p2 = pid; 44 | return(__OSIF(F_COMMAND,&p)); 45 | } 46 | -------------------------------------------------------------------------------- /SYSLIB/ECONTROL.C: -------------------------------------------------------------------------------- 1 | /* ECONTROL.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_control(swi,option,pid,buffer,bufsiz,target,tpid) 28 | UWORD option; 29 | LONG swi,pid,buffer,bufsiz,target,tpid; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_mode = 1; 36 | p.pb_flags = option; 37 | p.pb_swi = swi; 38 | p.pb_id = pid; 39 | p.pb_buffer = buffer; 40 | p.pb_bufsiz = bufsiz; 41 | p.pb_p1 = target; 42 | p.pb_p2 = tpid; 43 | return(__OSIF(F_CONTROL,&p)); 44 | } 45 | -------------------------------------------------------------------------------- /SYSLIB/ELOCK.C: -------------------------------------------------------------------------------- 1 | /* ELOCK.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_lock(swi,flags,fnum,offset,nbytes) 28 | UWORD flags; 29 | LONG swi,fnum,offset,nbytes; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_mode = 1; 36 | p.pb_flags = flags; 37 | p.pb_id = fnum; 38 | p.pb_buffer = offset; 39 | p.pb_bufsiz = nbytes; 40 | return(__OSIF(F_LOCK,&p)); 41 | } 42 | -------------------------------------------------------------------------------- /SYSLIB/EREAD.C: -------------------------------------------------------------------------------- 1 | /* EREAD.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_read(swi,flags,fnum,buffer,bufsiz,offset) 28 | LONG swi; 29 | UWORD flags; 30 | LONG fnum; 31 | BYTE *buffer; 32 | LONG bufsiz; 33 | LONG offset; 34 | { 35 | PBLK p; 36 | 37 | zerofil(&p,sizeof(PBLK)); 38 | /* p.pb_option = options; */ 39 | p.pb_mode = 1; 40 | p.pb_flags = flags; 41 | p.pb_swi = swi; 42 | p.pb_id = fnum; 43 | p.pb_buffer = (LONG)buffer; 44 | p.pb_bufsiz = bufsiz; 45 | p.pb_p1 = offset; 46 | return( __OSIF( F_READ,&p ) ); 47 | } 48 | -------------------------------------------------------------------------------- /SYSLIB/ERWAIT.C: -------------------------------------------------------------------------------- 1 | /* ERWAIT.C */ 2 | /* 28 DEC 84, ES=7.00 */ 3 | 4 | #include 5 | #include "system.h" 6 | 7 | #define PBLK struct _pblock 8 | #define RECT struct _rect 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | RECT 28 | { 29 | UWORD col; 30 | UWORD row; 31 | UWORD ncol; 32 | UWORD nrow; 33 | }; 34 | 35 | 36 | LONG e_rwait(swi,flags,fnum,region) 37 | WORD flags; 38 | LONG swi,fnum; 39 | RECT *region; 40 | { 41 | PBLK p; 42 | UWORD *s,*d; 43 | BYTE i; 44 | 45 | zerofil(&p,sizeof(PBLK)); 46 | p.pb_mode = 1; /* set the async bit */ 47 | p.pb_flags = flags; 48 | p.pb_swi = swi; 49 | p.pb_id = fnum; 50 | 51 | s = (UWORD *) region; 52 | d = (UWORD *) &p.pb_buffer; 53 | 54 | for(i=0;i<4;i++) *d++ = *s++; 55 | 56 | return( __OSIF(F_RWAIT,&p)); 57 | } 58 | 59 | -------------------------------------------------------------------------------- /SYSLIB/ESPECIAL.C: -------------------------------------------------------------------------------- 1 | /* ESPECIAL.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_special(swi,func,flags,fnum,databuf,dbufsiz,parmbuf,pbufsiz) 28 | UBYTE func; 29 | UWORD flags; 30 | LONG swi,fnum,databuf,dbufsiz,parmbuf,pbufsiz; 31 | { 32 | PBLK p; 33 | 34 | zerofil(&p,sizeof(PBLK)); 35 | 36 | p.pb_mode = 1; 37 | p.pb_option = func; 38 | p.pb_flags = flags; 39 | p.pb_swi = swi; 40 | p.pb_id = fnum; 41 | p.pb_buffer = databuf; 42 | p.pb_bufsiz = dbufsiz; 43 | p.pb_p1 = parmbuf; 44 | p.pb_p2 = pbufsiz; 45 | return(__OSIF(F_SPECIAL,&p)); 46 | } 47 | -------------------------------------------------------------------------------- /SYSLIB/ETERM.C: -------------------------------------------------------------------------------- 1 | /* ETERM.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_termevent(swi,pid) 28 | LONG swi,pid; 29 | { 30 | PBLK p; 31 | 32 | zerofil(&p,sizeof(PBLK)); 33 | p.pb_mode = 1; 34 | p.pb_swi = swi; 35 | p.pb_id = pid; 36 | return(__OSIF(F_ABORT,&p)); 37 | } 38 | -------------------------------------------------------------------------------- /SYSLIB/ETIMER.C: -------------------------------------------------------------------------------- 1 | /* ETIMER.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_timer(swi,flags,time) 28 | LONG swi,time; 29 | UWORD flags; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_mode = 1; 36 | p.pb_flags = flags; 37 | p.pb_swi = swi; 38 | p.pb_id = time; 39 | return(__OSIF(F_TIMER,&p)); 40 | } 41 | -------------------------------------------------------------------------------- /SYSLIB/EWRITE.C: -------------------------------------------------------------------------------- 1 | /* EWRITE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG e_write(swi,flags,fnum,buffer,bufsiz,offset) 28 | LONG swi; 29 | UWORD flags; 30 | LONG fnum; 31 | BYTE *buffer; 32 | LONG bufsiz; 33 | LONG offset; 34 | { 35 | PBLK p; 36 | 37 | zerofil(&p,sizeof(PBLK)); 38 | /* p.pb_option = 1; */ 39 | p.pb_mode = 1; 40 | p.pb_flags = flags; 41 | p.pb_swi = swi; 42 | p.pb_id = fnum; 43 | p.pb_buffer = (LONG)buffer; 44 | p.pb_bufsiz = bufsiz; 45 | p.pb_p1 = offset; 46 | return( __OSIF( F_WRITE,&p ) ); 47 | } 48 | -------------------------------------------------------------------------------- /SYSLIB/GETPID.C: -------------------------------------------------------------------------------- 1 | /* GPD.C -- 01/02/85 -- ES = 7.00 */ 2 | /*=========================================================* 3 | * GETPID() -- Get the calling PID from the ENVIRON * 4 | * table. PID is returned as a LONG. * 5 | * K&R standard. * 6 | * Usage: * 7 | * LONG pid; * 8 | * * 9 | * pid = getpid(); * 10 | *---------------------------------------------------------* 11 | * VERSION DATE AUTHOR COMMENTS * 12 | *---------------------------------------------------------* 13 | * 0.01 09/19/84 cpg First Try. * 14 | * 0.20 01/02/85 cpg Modified for QALIB.* 15 | *=========================================================* 16 | * INCLUDES: */ 17 | #include "portab.h" 18 | 19 | #define E_SUCCESS 0L 20 | #define E_TAB_NO 01 21 | #define ET_BUFSIZ 32 22 | 23 | EXTERN LONG s_get(); 24 | 25 | struct environ 26 | { 27 | LONG std_out; /* fnum for stdout */ 28 | LONG std_in; /* " " stdin */ 29 | LONG std_err; /* " " stderr */ 30 | LONG ovr_ly; /* " " loading prog. */ 31 | BYTE user,group; 32 | WORD f_id; /* process family ID */ 33 | LONG pid; /* process ID (current) */ 34 | WORD rn_id; /* requestor node ID */ 35 | WORD rf_id; /* requestor family ID */ 36 | LONG r_pid; /* requestor process ID */ 37 | } en_ptr; 38 | 39 | LONG getpid() 40 | { 41 | LONG sg_ret; 42 | 43 | if( ( sg_ret = s_get(E_TAB_NO,0L,&en_ptr,ET_BUFSIZ)) < E_SUCCESS ) 44 | { 45 | return( sg_ret ); 46 | } else return( en_ptr.pid ); 47 | 48 | } 49 | -------------------------------------------------------------------------------- /SYSLIB/GSTART.C: -------------------------------------------------------------------------------- 1 | /* gstart.c - 68K equivalent of gstart.a86 */ 2 | 3 | #define F_EXIT 25 4 | 5 | _main() 6 | { 7 | mainmain(); 8 | __osif(F_EXIT,0L); 9 | } 10 |  -------------------------------------------------------------------------------- /SYSLIB/GSTART.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYSLIB/GSTART.O -------------------------------------------------------------------------------- /SYSLIB/LREM.S: -------------------------------------------------------------------------------- 1 | * 2 | * Copyright 1983 3 | * Alcyon Corporation 4 | * 8716 Production Ave. 5 | * San Diego, CA 92121 6 | * 7 | * @(#)lrem.s 2.2 8/8/84 8 | * 9 | 10 | .globl _ldiv 11 | .globl _lrem 12 | .globl lrem 13 | 14 | .globl _ldivr 15 | 16 | .text 17 | 18 | _lrem: 19 | lrem: 20 | move.l 8(sp),-(sp) 21 | move.l 4+4(sp),-(sp) 22 | jsr _ldiv 23 | addq.l #8,sp 24 | move.l d1,d0 25 | rts 26 |  27 | .text 28 | 29 | _lrem: 30 | lrem: 31 | move.l 8(sp),-(sp) 32 | move.l 4+4 -------------------------------------------------------------------------------- /SYSLIB/OSIF.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYSLIB/OSIF.O -------------------------------------------------------------------------------- /SYSLIB/OSIF.S: -------------------------------------------------------------------------------- 1 | .text 2 | .globl ___osif 3 | .globl ___OSIF 4 | ___osif: 5 | ___OSIF: 6 | move 4(sp),d0 * function number 7 | move.l 6(sp),d1 * parameter block pointer 8 | trap #14 * enter concurrent dos 9 | rts * return (error code in d0.l) 10 | 11 | .end 12 | 13 |  -------------------------------------------------------------------------------- /SYSLIB/SABORT.C: -------------------------------------------------------------------------------- 1 | /* SABORT.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_abort(pid) 28 | LONG pid; 29 | { 30 | PBLK p; 31 | 32 | zerofil(&p,sizeof(PBLK)); 33 | p.pb_id = pid; 34 | return(__OSIF(F_ABORT,&p)); 35 | } 36 | -------------------------------------------------------------------------------- /SYSLIB/SALTER.C: -------------------------------------------------------------------------------- 1 | /* SALTER.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_alter(flags,fnum,dframe,drect,alterb) 28 | UWORD flags; 29 | LONG fnum,dframe,drect; 30 | BYTE *alterb; 31 | { 32 | PBLK p; 33 | int i; 34 | struct _pb 35 | { 36 | BYTE mode; 37 | BYTE option; 38 | UWORD flags; 39 | LONG swi; 40 | LONG fnum; 41 | LONG dframe; 42 | LONG drect; 43 | UBYTE alterb[6]; 44 | WORD res; 45 | } *b; 46 | 47 | b = (struct _pb *) &p; 48 | zerofil(b,sizeof(PBLK)); 49 | b->flags = flags; 50 | b->fnum = fnum; 51 | b->dframe = dframe; 52 | b->drect = drect; 53 | for(i=0;i<6;i++) b->alterb[i] = *alterb++; 54 | 55 | return(__OSIF(F_ALTER,b)); 56 | } 57 | -------------------------------------------------------------------------------- /SYSLIB/SBWAIT.C: -------------------------------------------------------------------------------- 1 | /* SBWAIT.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_bwait(clicks,fnum,mask,state) 28 | UWORD clicks; 29 | LONG fnum,mask,state; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | p.pb_flags = clicks; 35 | p.pb_id = fnum; 36 | p.pb_buffer = mask; 37 | p.pb_bufsiz = state; 38 | return(__OSIF(F_BWAIT,&p)); 39 | } 40 | -------------------------------------------------------------------------------- /SYSLIB/SCANCEL.C: -------------------------------------------------------------------------------- 1 | /* SCANCEL.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_cancel(events) 28 | LONG events; 29 | { 30 | return(__OSIF(F_CANCEL,events)); 31 | } 32 | -------------------------------------------------------------------------------- /SYSLIB/SCLOSE.C: -------------------------------------------------------------------------------- 1 | /* SCLOSE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_close(flags,fnum) 28 | UWORD flags; 29 | LONG fnum; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | p.pb_flags = flags; 35 | p.pb_id = fnum; 36 | return( __OSIF( F_CLOSE,&p ) ); 37 | } 38 | -------------------------------------------------------------------------------- /SYSLIB/SCOMMAND.C: -------------------------------------------------------------------------------- 1 | /* SCOMMAND.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_command(flags,command,buffer,bufsiz,procinfo) 28 | UWORD flags; 29 | LONG command,buffer,procinfo; 30 | LONG bufsiz; 31 | { 32 | PBLK p; 33 | 34 | zerofil(&p,sizeof(PBLK)); 35 | 36 | p.pb_flags = flags; 37 | p.pb_id = command; 38 | p.pb_buffer = buffer; 39 | p.pb_bufsiz = bufsiz; 40 | p.pb_p1 = procinfo; 41 | return(__OSIF(F_COMMAND,&p)); 42 | } 43 | -------------------------------------------------------------------------------- /SYSLIB/SCONTROL.C: -------------------------------------------------------------------------------- 1 | /* SCONTROL.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_control(option,pid,buffer,bufsiz,target,tpid) 28 | UWORD option; 29 | LONG pid,buffer,bufsiz,target,tpid; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = option; 36 | p.pb_id = pid; 37 | p.pb_buffer = buffer; 38 | p.pb_bufsiz = bufsiz; 39 | p.pb_p1 = target; 40 | p.pb_p2 = tpid; 41 | return(__OSIF(F_CONTROL,&p)); 42 | } 43 | -------------------------------------------------------------------------------- /SYSLIB/SCOPY.C: -------------------------------------------------------------------------------- 1 | /* SCOPY.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_copy (flags,fnum,sframe,srect,dframe,drect) 28 | UWORD flags; 29 | LONG fnum,sframe,srect,dframe,drect; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = flags; 36 | p.pb_id = fnum; 37 | p.pb_buffer = dframe; 38 | p.pb_bufsiz = drect; 39 | p.pb_p1 = sframe; 40 | p.pb_p2 = srect; 41 | return(__OSIF(F_COPY,&p)); 42 | } 43 | -------------------------------------------------------------------------------- /SYSLIB/SCREATE.C: -------------------------------------------------------------------------------- 1 | /* SCREATE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_create(option,flags,name,record_size,security,size) 28 | BYTE option; 29 | UWORD flags; 30 | BYTE *name; 31 | UWORD record_size; 32 | UWORD security; 33 | LONG size; 34 | { 35 | PBLK p; 36 | 37 | struct _pb 38 | { 39 | BYTE pb_mode; 40 | BYTE pb_option; 41 | WORD pb_flags; 42 | LONG pb_swi; 43 | LONG pb_id; 44 | UWORD pb_rsize; 45 | UWORD pb_security; 46 | LONG pb_bufsiz; 47 | } *b; 48 | 49 | b = (struct _pb *) &p; 50 | zerofil(b,sizeof(PBLK)); 51 | b->pb_option = option; 52 | b->pb_flags = flags; 53 | b->pb_id = (long)name; 54 | b->pb_rsize = record_size; 55 | b->pb_security = security; 56 | b->pb_bufsiz = size; 57 | return( __OSIF( F_CREATE,b ) ); 58 | } 59 | -------------------------------------------------------------------------------- /SYSLIB/SDEFINE.C: -------------------------------------------------------------------------------- 1 | /* SDEFINE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_define(flags,lname,prefix,psize) 28 | UWORD flags; 29 | BYTE *lname; 30 | BYTE *prefix; 31 | LONG psize; 32 | { 33 | PBLK p; 34 | 35 | zerofil(&p,sizeof(PBLK)); 36 | p.pb_flags = flags; 37 | p.pb_id = (LONG)lname; 38 | p.pb_buffer = (LONG)prefix; 39 | p.pb_bufsiz = psize; 40 | return( __OSIF( F_DEFINE,&p ) ); 41 | } 42 | -------------------------------------------------------------------------------- /SYSLIB/SDELETE.C: -------------------------------------------------------------------------------- 1 | /* SDELETE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_delete(flags,name) 28 | UWORD flags; 29 | BYTE *name; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | p.pb_flags = flags; 35 | p.pb_id = (LONG)name; 36 | return( __OSIF( F_DELETE,&p ) ); 37 | } 38 | -------------------------------------------------------------------------------- /SYSLIB/SDEVLOCK.C: -------------------------------------------------------------------------------- 1 | /* SDEVLOCK.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_devlock(option,fnum) 28 | UWORD option; 29 | LONG fnum; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = option; 36 | p.pb_id = fnum; 37 | return(__OSIF(F_DEVLOCK,&p)); 38 | } 39 | -------------------------------------------------------------------------------- /SYSLIB/SDISABLE.C: -------------------------------------------------------------------------------- 1 | /* SDISABLE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | 9 | #define PBLK struct _pblock 10 | 11 | EXTERN LONG __OSIF(); 12 | EXTERN VOID zerofil(); 13 | 14 | PBLK 15 | { 16 | BYTE pb_mode; 17 | BYTE pb_option; 18 | WORD pb_flags; 19 | LONG pb_swi; 20 | LONG pb_id; 21 | LONG pb_buffer; 22 | LONG pb_bufsiz; 23 | LONG pb_p1; 24 | LONG pb_p2; 25 | LONG pb_p3; 26 | }; 27 | 28 | LONG s_disable() 29 | { 30 | return(__OSIF(F_DISABLE,0)); 31 | } 32 | -------------------------------------------------------------------------------- /SYSLIB/SENABLE.C: -------------------------------------------------------------------------------- 1 | /* SENABLE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_enable() 28 | { 29 | return(__OSIF(F_ENABLE,0)); 30 | } 31 | -------------------------------------------------------------------------------- /SYSLIB/SEXCEPT.C: -------------------------------------------------------------------------------- 1 | /* SEXCEPT.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_exception(number,isr) 28 | UWORD number; 29 | LONG isr; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = number; 36 | p.pb_swi = isr; 37 | return(__OSIF(F_EXCEPTION,&p)); 38 | } 39 | -------------------------------------------------------------------------------- /SYSLIB/SEXIT.C: -------------------------------------------------------------------------------- 1 | /* SEXIT.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_exit(status) 28 | LONG status; 29 | { 30 | return(__OSIF(F_EXIT,status)); 31 | } 32 | -------------------------------------------------------------------------------- /SYSLIB/SGET.C: -------------------------------------------------------------------------------- 1 | /* SGET.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_get(table,id,buffer,bufsiz) 28 | BYTE table; 29 | LONG id; 30 | BYTE *buffer; 31 | LONG bufsiz; 32 | { 33 | PBLK p; 34 | 35 | zerofil(&p,sizeof(PBLK)); 36 | p.pb_option = table; 37 | p.pb_id = id; 38 | p.pb_buffer = (LONG)buffer; 39 | p.pb_bufsiz = bufsiz; 40 | return( __OSIF( F_GET,&p ) ); 41 | } 42 | -------------------------------------------------------------------------------- /SYSLIB/SGIVE.C: -------------------------------------------------------------------------------- 1 | /* SGIVE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_give(fnum) 28 | LONG fnum; 29 | { 30 | PBLK p; 31 | 32 | zerofil(&p,sizeof(PBLK)); 33 | 34 | p.pb_id = fnum; 35 | return(__OSIF(F_GIVE,&p)); 36 | } 37 | -------------------------------------------------------------------------------- /SYSLIB/SGSX.C: -------------------------------------------------------------------------------- 1 | /* SGSX.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_gsx(fnum,pb) 28 | LONG fnum,pb; 29 | { 30 | PBLK p; 31 | 32 | zerofil(&p,sizeof(PBLK)); 33 | 34 | p.pb_id = fnum; 35 | p.pb_buffer = pb; 36 | return(__OSIF(F_GSX,&p)); 37 | } 38 | -------------------------------------------------------------------------------- /SYSLIB/SINSTALL.C: -------------------------------------------------------------------------------- 1 | /* SINSTALL.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_install(option,flags,devname,parm) 28 | UBYTE option; 29 | UWORD flags; 30 | LONG devname,parm; 31 | { 32 | PBLK p; 33 | 34 | zerofil(&p,sizeof(PBLK)); 35 | 36 | p.pb_option = option; 37 | p.pb_flags = flags; 38 | p.pb_id = devname; 39 | p.pb_buffer = parm; 40 | return(__OSIF(F_INSTALL,&p)); 41 | } 42 | -------------------------------------------------------------------------------- /SYSLIB/SKCTRL.C: -------------------------------------------------------------------------------- 1 | /* SKCTRL.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_kctrl(fnum,nranges,begend) 28 | LONG fnum; 29 | BYTE nranges; 30 | UWORD begend; 31 | { 32 | PBLK p; 33 | UWORD *b,*q; 34 | BYTE i; 35 | 36 | zerofil(&p,sizeof(PBLK)); 37 | b = (UWORD *)(&begend); 38 | p.pb_id = fnum; 39 | nranges *= 2; 40 | for (i=0, q=(UWORD *)(&p.pb_buffer); i < nranges; i++) 41 | *q++ = *b++; /* copy all words */ 42 | return( __OSIF(F_KCTRL,&p)); 43 | } 44 | 45 | -------------------------------------------------------------------------------- /SYSLIB/SLOCK.C: -------------------------------------------------------------------------------- 1 | /* SLOCK.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_lock(flags,fnum,offset,nbytes) 28 | UWORD flags; 29 | LONG fnum,offset,nbytes; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = flags; 36 | p.pb_id = fnum; 37 | p.pb_buffer = offset; 38 | p.pb_bufsiz = nbytes; 39 | return(__OSIF(F_LOCK,&p)); 40 | } 41 | -------------------------------------------------------------------------------- /SYSLIB/SLOOKUP.C: -------------------------------------------------------------------------------- 1 | /* SLOOKUP.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_lookup(table,flags,name,buffer,bufsiz,itemsiz,key) 28 | BYTE table; 29 | UWORD flags; 30 | BYTE *name; 31 | BYTE *buffer; 32 | LONG bufsiz; 33 | LONG itemsiz; 34 | LONG key; 35 | { 36 | PBLK p; 37 | 38 | zerofil(&p,sizeof(PBLK)); 39 | p.pb_option = table; 40 | p.pb_flags = flags; 41 | p.pb_id = (LONG)name; 42 | p.pb_buffer = (LONG)buffer; 43 | p.pb_bufsiz = bufsiz; 44 | p.pb_p1 = itemsiz; 45 | p.pb_p2 = key; 46 | return( __OSIF( F_LOOKUP,&p ) ); 47 | } 48 | -------------------------------------------------------------------------------- /SYSLIB/SMALLOC.C: -------------------------------------------------------------------------------- 1 | /* SMALLOC.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_malloc(option,mpbptr) 28 | BYTE option; 29 | LONG mpbptr; 30 | { 31 | PBLK p; 32 | LONG mpb_size; 33 | 34 | zerofil( &p,(sizeof(PBLK)) ); 35 | 36 | mpb_size = 12L; /* Size of mem para block */ 37 | 38 | p.pb_option = option; 39 | p.pb_buffer = mpbptr; 40 | p.pb_bufsiz = mpb_size; 41 | 42 | return( __OSIF( F_MALLOC,&p )); 43 | } 44 | -------------------------------------------------------------------------------- /SYSLIB/SMCTRL.C: -------------------------------------------------------------------------------- 1 | /* SMCTRL.C (UNDER S_KCTRL) */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | #define RECT struct _rect 10 | 11 | EXTERN LONG __OSIF(); 12 | EXTERN VOID zerofil(); 13 | 14 | PBLK 15 | { 16 | BYTE pb_mode; 17 | BYTE pb_option; 18 | WORD pb_flags; 19 | LONG pb_swi; 20 | LONG pb_id; 21 | LONG pb_buffer; 22 | LONG pb_bufsiz; 23 | LONG pb_p1; 24 | LONG pb_p2; 25 | LONG pb_p3; 26 | }; 27 | 28 | RECT 29 | { 30 | UWORD col; 31 | UWORD row; 32 | UWORD ncol; 33 | UWORD nrow; 34 | }; 35 | 36 | 37 | LONG s_mctrl(fnum,region) 38 | LONG fnum; 39 | RECT *region; 40 | { 41 | PBLK p; 42 | UWORD *s,*d; 43 | BYTE i; 44 | 45 | zerofil(&p,sizeof(PBLK)); 46 | p.pb_flags = 1; 47 | p.pb_id = fnum; 48 | 49 | s = (UWORD *) region; 50 | d = (UWORD *) &p.pb_buffer; 51 | 52 | for(i=0;i<4;i++) *d++ = *s++; 53 | 54 | return( __OSIF(F_KCTRL,&p)); 55 | } 56 | 57 | -------------------------------------------------------------------------------- /SYSLIB/SMFREE.C: -------------------------------------------------------------------------------- 1 | /* SMFREE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_mfree(start) 28 | BYTE *start; 29 | { 30 | return( __OSIF(F_MFREE,start) ); 31 | } 32 | -------------------------------------------------------------------------------- /SYSLIB/SOPEN.C: -------------------------------------------------------------------------------- 1 | /* SOPEN.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_open(flags,name) 28 | UWORD flags; 29 | BYTE *name; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | p.pb_flags = flags; 35 | p.pb_id = (LONG)name; 36 | return( __OSIF( F_OPEN,&p ) ); 37 | } 38 | -------------------------------------------------------------------------------- /SYSLIB/SORDER.C: -------------------------------------------------------------------------------- 1 | /* SORDER.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_order(order,fnum) 28 | UWORD order; 29 | LONG fnum; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = order; 36 | p.pb_id = fnum; 37 | return(__OSIF(F_ORDER,&p)); 38 | } 39 | -------------------------------------------------------------------------------- /SYSLIB/SOVERLAY.C: -------------------------------------------------------------------------------- 1 | /* SOVERLAY.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_overlay(fnum,codeadr,dataadr,offset) 28 | LONG fnum,codeadr,dataadr,offset; 29 | { 30 | PBLK p; 31 | 32 | zerofil(&p,sizeof(PBLK)); 33 | 34 | p.pb_id = fnum; 35 | p.pb_buffer = codeadr; 36 | p.pb_bufsiz = dataadr; 37 | p.pb_p1 = offset; 38 | return(__OSIF(F_OVERLAY,&p)); 39 | } 40 | -------------------------------------------------------------------------------- /SYSLIB/SRDELIM.C: -------------------------------------------------------------------------------- 1 | /* SRDELIM.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_rdelim(flags,fnum,buffer,bufsiz,offset,delimiters) 28 | UWORD flags; 29 | LONG fnum; 30 | BYTE *buffer; 31 | LONG bufsiz; 32 | LONG offset; 33 | LONG delimiters; 34 | { 35 | PBLK p; 36 | 37 | zerofil(&p,sizeof(PBLK)); 38 | /* p.pb_option = options; */ 39 | p.pb_flags = flags; 40 | p.pb_id = fnum; 41 | p.pb_buffer = (LONG)buffer; 42 | p.pb_bufsiz = bufsiz; 43 | p.pb_p1 = offset; 44 | p.pb_p2 = delimiters; 45 | return( __OSIF( F_READ,&p ) ); 46 | } 47 | -------------------------------------------------------------------------------- /SYSLIB/SREAD.C: -------------------------------------------------------------------------------- 1 | /* SREAD.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_read(flags,fnum,buffer,bufsiz,offset) 28 | UWORD flags; 29 | LONG fnum; 30 | BYTE *buffer; 31 | LONG bufsiz; 32 | LONG offset; 33 | { 34 | PBLK p; 35 | BYTE sync; 36 | 37 | zerofil(&p,sizeof(PBLK)); 38 | sync = 0; 39 | 40 | p.pb_mode = sync; 41 | p.pb_flags = flags; 42 | p.pb_id = fnum; 43 | p.pb_buffer = (LONG)buffer; 44 | p.pb_bufsiz = bufsiz; 45 | p.pb_p1 = offset; 46 | return( __OSIF( F_READ,&p ) ); 47 | } 48 | 49 | -------------------------------------------------------------------------------- /SYSLIB/SRENAME.C: -------------------------------------------------------------------------------- 1 | /* SRENAME.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_rename(flags,name,newname) 28 | UWORD flags; 29 | LONG name,newname; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = flags; 36 | p.pb_id = name; 37 | p.pb_buffer = newname; 38 | return(__OSIF(F_RENAME,&p)); 39 | } 40 | -------------------------------------------------------------------------------- /SYSLIB/SRETURN.C: -------------------------------------------------------------------------------- 1 | /* SRETURN.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_return(emask) 28 | LONG emask; 29 | { 30 | return(__OSIF(F_RETURN,emask)); 31 | } 32 | -------------------------------------------------------------------------------- /SYSLIB/SRWAIT.C: -------------------------------------------------------------------------------- 1 | /* SRWAIT.C */ 2 | /* 28 DEC 84, ES=7.00 */ 3 | 4 | #include 5 | #include "system.h" 6 | 7 | #define PBLK struct _pblock 8 | #define RECT struct _rect 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | RECT 28 | { 29 | UWORD col; 30 | UWORD row; 31 | UWORD ncol; 32 | UWORD nrow; 33 | }; 34 | 35 | 36 | LONG s_rwait(flags,fnum,region) 37 | WORD flags; 38 | LONG fnum; 39 | RECT *region; 40 | { 41 | PBLK p; 42 | UWORD *s,*d; 43 | BYTE i; 44 | 45 | zerofil(&p,sizeof(PBLK)); 46 | p.pb_flags = flags; 47 | p.pb_id = fnum; 48 | 49 | s = (UWORD *) region; 50 | d = (UWORD *) &p.pb_buffer; 51 | 52 | for(i=0;i<4;i++) *d++ = *s++; 53 | 54 | return( __OSIF(F_RWAIT,&p)); 55 | } 56 | 57 | -------------------------------------------------------------------------------- /SYSLIB/SSEEK.C: -------------------------------------------------------------------------------- 1 | /* SSEEK.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_seek(flags,fnum,offset) 28 | UWORD flags; 29 | LONG fnum,offset; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = flags; 36 | p.pb_id = fnum; 37 | p.pb_buffer = offset; 38 | return(__OSIF(F_SEEK,&p)); 39 | } 40 | -------------------------------------------------------------------------------- /SYSLIB/SSET.C: -------------------------------------------------------------------------------- 1 | /* SSET.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_set(table,id,buffer,bufsiz) 28 | BYTE table; 29 | LONG id; 30 | BYTE *buffer; 31 | LONG bufsiz; 32 | { 33 | PBLK p; 34 | 35 | zerofil(&p,sizeof(PBLK)); 36 | p.pb_option = table; 37 | p.pb_id = id; 38 | p.pb_buffer = (LONG)buffer; 39 | p.pb_bufsiz = bufsiz; 40 | return( __OSIF( F_SET,&p ) ); 41 | } 42 | -------------------------------------------------------------------------------- /SYSLIB/SSPECIAL.C: -------------------------------------------------------------------------------- 1 | /* SSPECIAL.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_special(func,flags,fnum,databuf,dbufsiz,parmbuf,pbufsiz) 28 | UBYTE func; 29 | UWORD flags; 30 | LONG fnum,databuf,dbufsiz,parmbuf,pbufsiz; 31 | { 32 | PBLK p; 33 | 34 | zerofil(&p,sizeof(PBLK)); 35 | 36 | p.pb_option = func; 37 | p.pb_flags = flags; 38 | p.pb_id = fnum; 39 | p.pb_buffer = databuf; 40 | p.pb_bufsiz = dbufsiz; 41 | p.pb_p1 = parmbuf; 42 | p.pb_p2 = pbufsiz; 43 | return(__OSIF(F_SPECIAL,&p)); 44 | } 45 | -------------------------------------------------------------------------------- /SYSLIB/SSTATUS.C: -------------------------------------------------------------------------------- 1 | /* SSTATUS.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_status() 28 | { 29 | return(__OSIF(F_STATUS,0L)); 30 | } 31 | -------------------------------------------------------------------------------- /SYSLIB/SSWIRET.C: -------------------------------------------------------------------------------- 1 | /* SSWIRET.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_swiret(option) 28 | LONG option; 29 | { 30 | return(__OSIF(F_SWIRET,option)); 31 | } 32 | -------------------------------------------------------------------------------- /SYSLIB/STD40.H: -------------------------------------------------------------------------------- 1 | /** STD40.H 2 | * 3 | * This header file defines the information used by the standard I/O 4 | * package under the QA library --GMAIN3.C 5 | * 6 | **/ 7 | #include "portab.h" 8 | 9 | #define _BUFSIZ 512 /* standard buffer size */ 10 | #define BUFSIZ 512 /* standard buffer size */ 11 | #define _NFILE 20 /* maximum number of files */ 12 | 13 | struct _iobuf { 14 | char *_ptr; /* current buffer pointer */ 15 | int _rcnt; /* current byte count for reading */ 16 | int _wcnt; /* current byte count for writing */ 17 | char *_base; /* base address of I/O buffer */ 18 | char _flag; /* control flags */ 19 | long _file; /* file number */ 20 | int _size; /* size of buffer */ 21 | char _cbuff; /* single char buffer */ 22 | char _pad; /* (pad to even number of bytes) */ 23 | }; 24 | 25 | extern struct _iobuf _iob[_NFILE]; 26 | 27 | #define _IOREAD 1 /* read flag */ 28 | #define _IOWRT 2 /* write flag */ 29 | #define _IONBF 4 /* non-buffered flag */ 30 | #define _IOMYBUF 8 /* private buffer flag */ 31 | #define _IOEOF 16 /* end-of-file flag */ 32 | #define _IOERR 32 /* error flag */ 33 | #define _IOSTRG 64 34 | #define _IORW 128 /* read-write (update) flag */ 35 | 36 | #define NULL 0 /* null pointer value */ 37 | #define FILE struct _iobuf /* shorthand */ 38 | #define EOF (-1) /* end-of-file code */ 39 | 40 | #define stdin (&_iob[0]) /* standard input file pointer */ 41 | #define stdout (&_iob[1]) /* standard output file pointer */ 42 | #define stderr (&_iob[2]) /* standard error file pointer */ 43 | 44 | #define feof(p) (((p)->_flag&_IOEOF)!=0) 45 | #define ferror(p) (((p)->_flag&_IOERR)!=0) 46 | #define fileno(p) (p)->_file 47 | #define rewind(fp) fseek(fp,0L,0) 48 | #define getchar() _getchar() 49 | /*#define fflush(fp) _flsbf(-1,fp)*/ 50 | 51 | 52 | #define abs(x) ((x)<0?-(x):(x)) 53 | #define max(a,b) ((a)>(b)?(a):(b)) 54 | #define min(a,b) ((a)<=(b)?(a):(b)) 55 | 56 |  -------------------------------------------------------------------------------- /SYSLIB/STIMER.C: -------------------------------------------------------------------------------- 1 | /* STIMER.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_timer(flags,time) 28 | UWORD flags; 29 | LONG time; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = flags; 36 | p.pb_id = time; 37 | return(__OSIF(F_TIMER,&p)); 38 | } 39 | -------------------------------------------------------------------------------- /SYSLIB/STOI.C: -------------------------------------------------------------------------------- 1 | /*---------------------------------------------------------* 2 | * STOI.C -- a string to hex conversion for inclusion * 3 | * into QALIB.L86. * 4 | *---------------------------------------------------------* 5 | * 1.0 05/06/85 cpg first try. * 6 | *---------------------------------------------------------*/ 7 | #include "portab.h" 8 | #include "ctyp40.h" 9 | 10 | LONG stoi( str ) 11 | char *str; 12 | { 13 | LONG lval = 0; 14 | char *istr; 15 | int sign = 1; 16 | 17 | istr = str; 18 | 19 | while( *istr == ' ' || *istr == '\t' || *istr == '\n' ) 20 | istr++; 21 | 22 | if( *istr == '-' ) 23 | { 24 | sign = -1; 25 | istr++; 26 | } 27 | if( *istr == '0' ) 28 | { 29 | istr++; 30 | if( *istr == 'x' || *istr == 'X' ) 31 | { 32 | istr++; 33 | while( ('0' <= *istr && *istr <= '9') || 34 | ('a' <= *istr && *istr <= 'f') || 35 | ('A' <= *istr && *istr <= 'F') ) 36 | { 37 | lval *= 16; 38 | lval += ('0' <= *istr && *istr <= '9') ? 39 | *istr - '0' : (*istr & 0x47) - 'A' + 10; 40 | istr++; 41 | } 42 | } 43 | else 44 | { 45 | while( '0' <= *istr && *istr <= '7' ) 46 | { 47 | lval *= 8; 48 | lval += *istr++ - '0'; 49 | } 50 | } 51 | } 52 | else 53 | { 54 | while( '0' <= *istr && *istr <= '9' ) 55 | { 56 | lval *= 10; 57 | lval += *istr++ - '0'; 58 | } 59 | } 60 | 61 | *str = istr; 62 | return( lval * sign ); 63 | } 64 | /*---------------------------------------------------------* 65 | * End of STOI.C routine * 66 | *---------------------------------------------------------*/ 67 | -------------------------------------------------------------------------------- /SYSLIB/STRCAT.C: -------------------------------------------------------------------------------- 1 | 2 | /* --------------------------- strcat.c ---------------------------------- */ 3 | /* created: 5/15/84 */ 4 | /* modified: 8/22/84 */ 5 | /* ----------------------------------------------------------------------- */ 6 | #include "portab.h" 7 | #include "concur.h" 8 | 9 | /* ----------------------------- strcat -------------------------------- */ 10 | /* concatenate two character string */ 11 | /* --------------------------------------------------------------------- */ 12 | VOID strcat( s,t ) 13 | BYTE s[],t[]; 14 | { 15 | REG BYTE i,j; 16 | 17 | for( i=0,j=0; s[i] != NULL; i++ ); 18 | while ( (s[i++] = t[j++]) !=NULL ); 19 | } 20 | rcat( s,t ) 21 | BYTE s[],t[]; 22 | { 23 | REG BYTE -------------------------------------------------------------------------------- /SYSLIB/STRCPY.C: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * "Copyright (C) 1985, Digital Research, Inc. All Rights * 3 | * Reserved. The Software Code contained in this listing is * 4 | * proprietary to Digital Research Inc., Monterey, California * 5 | * and is covered by U.S. and other copyright protection. * 6 | * Unauthorized copying, adaptation, distribution, use or * 7 | * display is prohibited and may be subject to civil and * 8 | * criminal penalties. Disclosure to others is prohibited. For * 9 | * the terms and conditions of software code use refer to the * 10 | * appropriate Digital Research License Agreement." * 11 | *****************************************************************/ 12 | 13 | /*===============================================================* 14 | * Version 1.0 strcpy.c * 15 | * This routine copies a null terminated string s to * 16 | * buffer d, and returns a pointer to d. * 17 | *---------------------------------------------------------------* 18 | * VERSION DATE BY CHANGE/COMMENTS * 19 | *---------------------------------------------------------------* 20 | * 1.0 01/26/84 KSO - Created * 21 | * * 22 | *===============================================================* 23 | * INCLUDES: */ 24 | #include "portab.h" 25 | 26 | BYTE *strcpy( d,s ) 27 | BYTE *d; 28 | BYTE *s; 29 | { 30 | BYTE *p; 31 | 32 | for( p = d; *p = *s; p++,s++ ); 33 | return( d ); 34 | } 35 | ude "portab.h" 36 | 37 | BYTE *strcpy( d,s ) 38 | BYTE *d; 39 | BYTE * -------------------------------------------------------------------------------- /SYSLIB/STRNCMP.C: -------------------------------------------------------------------------------- 1 | /********************************************************************* 2 | * STRNCMP - compares strings up to n chars 3 | * 4 | * WORD strncmp(s1,s2,n) 5 | * BYTE *s1, *s2; 6 | * UWORD n; 7 | * 8 | * 'strncmp' compares null terminated strings s1 and s2, and examines 9 | * at most n chars. 10 | * Always compares at least 1 char. 11 | * n < 0 compares many, many characters. 12 | * Returns: 13 | * strncmp < 0 if s1 0 if s1>s2 " " " 16 | *********************************************************************/ 17 | 18 | #include 19 | 20 | WORD strncmp(s1,s2,num) /* CLEAR FUNCTION ***********/ 21 | REG BYTE *s1, *s2; 22 | REG WORD num; 23 | { 24 | for( ; --num > 0 && (*s1 == *s2); s1++, s2++ ) 25 | if( *s1 == NULL ) 26 | return(0); 27 | return(*s1 - *s2); 28 | } 29 |  WORD num; 30 | { 31 | for( ; --num > 0 && (*s1 == *s2); s1++, s2++ ) 32 | if( *s1 == NULL ) 33 | return(0 -------------------------------------------------------------------------------- /SYSLIB/SVCCREAT.C: -------------------------------------------------------------------------------- 1 | /* SVCCREAT.C (PART OF S_CREATE) */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_vccreate(flags,pfnum,rows,columns,top,bottom,left,right) 28 | UWORD flags; 29 | LONG pfnum; 30 | WORD rows; 31 | WORD columns; 32 | BYTE top; 33 | BYTE bottom; 34 | BYTE left; 35 | BYTE right; 36 | { 37 | PBLK p; 38 | 39 | struct _pb 40 | { 41 | BYTE pb_mode; 42 | BYTE pb_option; 43 | WORD pb_flags; 44 | LONG pb_swi; 45 | LONG pb_pfnum; 46 | WORD pb_rows; 47 | WORD pb_columns; 48 | BYTE pb_top; 49 | BYTE pb_bottom; 50 | BYTE pb_left; 51 | BYTE pb_right; 52 | } *b; 53 | 54 | b = (struct _pb *) &p; 55 | zerofil(b,sizeof(PBLK)); 56 | b->pb_option = 2; /* create Vconsole */ 57 | b->pb_flags = flags; 58 | b->pb_pfnum = pfnum; /* fnum from parent */ 59 | b->pb_rows = rows; 60 | b->pb_columns = columns; 61 | b->pb_top = top; 62 | b->pb_bottom = bottom; 63 | b->pb_left = left; 64 | b->pb_right = right; 65 | 66 | return( __OSIF( F_CREATE,b ) ); 67 | } 68 | 69 | -------------------------------------------------------------------------------- /SYSLIB/SWAIT.C: -------------------------------------------------------------------------------- 1 | /* SWAIT.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_wait(events) 28 | LONG events; 29 | { 30 | return(__OSIF(F_WAIT,events)); 31 | } 32 | -------------------------------------------------------------------------------- /SYSLIB/SWRITE.C: -------------------------------------------------------------------------------- 1 | /* SWRITE.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_write(flags,fnum,buffer,bufsiz,offset) 28 | UWORD flags; 29 | LONG fnum; 30 | BYTE *buffer; 31 | LONG bufsiz; 32 | LONG offset; 33 | { 34 | PBLK p; 35 | 36 | zerofil(&p,sizeof(PBLK)); 37 | p.pb_flags = flags; 38 | p.pb_id = fnum; 39 | p.pb_buffer = (LONG)buffer; 40 | p.pb_bufsiz = bufsiz; 41 | p.pb_p1 = offset; 42 | return( __OSIF( F_WRITE,&p ) ); 43 | } 44 | -------------------------------------------------------------------------------- /SYSLIB/SXLAT.C: -------------------------------------------------------------------------------- 1 | /* SXLAT.C */ 2 | /* 7 SEP 84, ES=6.01 */ 3 | /* 28 DEC 84, ES=7.00 */ 4 | 5 | #include 6 | #include "system.h" 7 | 8 | #define PBLK struct _pblock 9 | 10 | EXTERN LONG __OSIF(); 11 | EXTERN VOID zerofil(); 12 | 13 | PBLK 14 | { 15 | BYTE pb_mode; 16 | BYTE pb_option; 17 | WORD pb_flags; 18 | LONG pb_swi; 19 | LONG pb_id; 20 | LONG pb_buffer; 21 | LONG pb_bufsiz; 22 | LONG pb_p1; 23 | LONG pb_p2; 24 | LONG pb_p3; 25 | }; 26 | 27 | LONG s_xlat(flags,buffer,bufsiz) 28 | UWORD flags; 29 | LONG buffer,bufsiz; 30 | { 31 | PBLK p; 32 | 33 | zerofil(&p,sizeof(PBLK)); 34 | 35 | p.pb_flags = flags; 36 | p.pb_buffer = buffer; 37 | p.pb_bufsiz = bufsiz; 38 | return(__OSIF(F_XLAT,&p)); 39 | } 40 | -------------------------------------------------------------------------------- /SYSLIB/SYSLIB.L68: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYSLIB/SYSLIB.L68 -------------------------------------------------------------------------------- /SYSLIB/SYSLINK.BAT: -------------------------------------------------------------------------------- 1 | 2 | LO68 -R -O %1.68K GSTART.O %1.O SYSLIB.L68 OSIF.O CLIB 3 | -------------------------------------------------------------------------------- /SYSLIB/ZEROFIL.C: -------------------------------------------------------------------------------- 1 | /* ZEROFIL.C */ 2 | #include "portab.h" 3 | 4 | zerofil(p,s) 5 | BYTE *p; 6 | WORD s; 7 | { 8 | while (s--) *p++ = 0; 9 | } 10 | -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/ABORT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/ABORT.O -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/AFLAG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/AFLAG.O -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/ALLOCATE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/ALLOCATE.O -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/ASYNC.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/ASYNC.O -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/ASYNCA.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/ASYNCA.O -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/BASE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/BASE.O -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/COFFLOAD.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/COFFLOAD.O -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/COMMAND.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/COMMAND.O -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/DISPA00.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/DISPA00.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/DISPA10.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/DISPA10.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/MMU00M0.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/MMU00M0.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/MMU1000.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/MMU1000.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/MMU10M1.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/MMU10M1.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/OMMU10.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/OMMU10.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/OMMUA00.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/OMMUA00.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/OMMUA10.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/OMMUA10.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/OMMUM0.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/OMMUM0.OBJ -------------------------------------------------------------------------------- /SYS_GEN/OBJECTS/XLIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/SYS_GEN/OBJECTS/XLIB -------------------------------------------------------------------------------- /SYS_GEN/TOOLS/00M0.COM: -------------------------------------------------------------------------------- 1 | [sym,abs,text[b00]] cdos00m0.68k = 2 | 3 | dispa00.obj,mmu00m0.obj,ommum0.obj,ommua00.obj, 4 | 5 | abort.o,aflag.o,allocate.o,async.o,asynca.o,base.o,coffload.o,command.o, 6 | cpmload.o,crman.o,crmconv8.o,crmcopy.o,crmcreat.o,crmdel.o,crmgsl.o, 7 | crminst.o,crmkb.o,crmmouse.o,crmopen.o,crmrdel.o,crmread.o,crmwind.o, 8 | crmwrite.o,crmxlat.o,dinit.o,dvrif.o,except.o,fe1.o,fe2.o,fe68.o, 9 | feinit.o,femain.o,feu1.o,feu2.o,fpool68k.o,fprintf.o,free.o, 10 | fscache.o,fsdm.o,fsname.o,fspath.o,fsvol.o,fswindow.o, 11 | heap.o,hook.o,install.o,kfuncs.o,ktools.o,load68k.o, 12 | lutils.o,m68.o,mgetblk.o,misman.o,nulldev.o,ofile.o,osmem.o,overlay.o, 13 | panic68.o,pewter.o,pipe.o,pmget.o,process.o,rdelim.o,rtmif.o,sup.o, 14 | sup68k.o,superman.o,swi.o,swi68k.o,tables.o,tools.o, 15 | 16 | vcdrcopy.o,vcdrtool.o,vcdrv.o,vcdrvwrt.o,ibmtovm.o,vm400.o,vmclk.o, 17 | vmconasm.o,vmconfig.o,vmdiska.o,vmkb.o,vmpanic.o,vmqueue.o,vmrwindk.o, 18 | vprobe.o,vt52.o, 19 | 20 | xlib 21 |  -------------------------------------------------------------------------------- /SYS_GEN/TOOLS/10M0.COM: -------------------------------------------------------------------------------- 1 | [sym,abs,text[b00]] cdos10m0.68k = 2 | 3 | dispa10.obj,mmu10m0.obj,ommum0.obj,ommua10.obj, 4 | 5 | abort.o,aflag.o,allocate.o,async.o,asynca.o,base.o,coffload.o,command.o, 6 | cpmload.o,crman.o,crmconv8.o,crmcopy.o,crmcreat.o,crmdel.o,crmgsl.o, 7 | crminst.o,crmkb.o,crmmouse.o,crmopen.o,crmrdel.o,crmread.o,crmwind.o, 8 | crmwrite.o,crmxlat.o,dinit.o,dvrif.o,except.o,fe1.o,fe2.o,fe68.o, 9 | feinit.o,femain.o,feu1.o,feu2.o,fpool68k.o,fprintf.o,free.o, 10 | fscache.o,fsdm.o,fsname.o,fspath.o,fsvol.o,fswindow.o, 11 | heap.o,hook.o,install.o,kfuncs.o,ktools.o,load68k.o, 12 | lutils.o,m68.o,mgetblk.o,misman.o,nulldev.o,ofile.o,osmem.o,overlay.o, 13 | panic68.o,pewter.o,pipe.o,pmget.o,process.o,rdelim.o,rtmif.o,sup.o, 14 | sup68k.o,superman.o,swi.o,swi68k.o,tables.o,tools.o, 15 | 16 | vcdrcopy.o,vcdrtool.o,vcdrv.o,vcdrvwrt.o,ibmtovm.o,vm400.o,vmclk.o, 17 | vmconasm.o,vmconfig.o,vmdiska.o,vmkb.o,vmpanic.o,vmqueue.o,vmrwindk.o, 18 | vprobe.o,vt52.o, 19 | 20 | xlib 21 |  -------------------------------------------------------------------------------- /SYS_GEN/TOOLS/10M1.COM: -------------------------------------------------------------------------------- 1 | [sym,abs,text[b00]] cdos10m1.68k = 2 | 3 | dispa10.obj,mmu10m1.obj,ommu10.obj,ommua10.obj, 4 | 5 | abort.o,aflag.o,allocate.o,async.o,asynca.o,base.o,coffload.o,command.o, 6 | cpmload.o,crman.o,crmconv8.o,crmcopy.o,crmcreat.o,crmdel.o,crmgsl.o, 7 | crminst.o,crmkb.o,crmmouse.o,crmopen.o,crmrdel.o,crmread.o,crmwind.o, 8 | crmwrite.o,crmxlat.o,dinit.o,dvrif.o,except.o,fe1.o,fe2.o,fe68.o, 9 | feinit.o,femain.o,feu1.o,feu2.o,fpool.o,fprintf.o,free.o, 10 | fscache.o,fsdm.o,fsname.o,fspath.o,fsvol.o,fswindow.o, 11 | heap.o,hook.o,install.o,kfuncs.o,ktools.o,load68k.o, 12 | lutils.o,m68.o,mgetblk.o,misman.o,nulldev.o,ofile.o,osmem.o,overlay.o, 13 | panic68.o,pewter.o,pipe.o,pmget.o,process.o,rdelim.o,rtmif.o,sup.o, 14 | sup68k.o,superman.o,swi.o,swi68k.o,tables.o,tools.o, 15 | 16 | vcdrcopy.o,vcdrtool.o,vcdrv.o,vcdrvwrt.o,ibmtovm.o,vm400.o,vmclk.o, 17 | vmconasm.o,vmconfig.o,vmdiska.o,vmkb.o,vmpanic.o,vmqueue.o,vmrwindk.o, 18 | vprobe.o,vt52.o,sdrv.o, 19 | 20 | xlib 21 | m.o,vm400.o,vmclk.o, 22 | vmconasm.o,vmconfig.o,vmdiska.o,vmkb.o,vmpanic.o,vmqueue.o,vmrwindk.o, 23 | vprobe.o,vt52.o,sd -------------------------------------------------------------------------------- /SYS_GEN/TOOLS/LINK00M0.BAT: -------------------------------------------------------------------------------- 1 | link68 [co[00m0.com]] 2 |  -------------------------------------------------------------------------------- /SYS_GEN/TOOLS/LINK10M0.BAT: -------------------------------------------------------------------------------- 1 | link68 [co[10m0.com]] 2 |  -------------------------------------------------------------------------------- /SYS_GEN/TOOLS/LINK10M1.BAT: -------------------------------------------------------------------------------- 1 | link68 [co[10m1.com]] 2 |  -------------------------------------------------------------------------------- /SYS_GEN/TOOLS/NOCRM.COM: -------------------------------------------------------------------------------- 1 | [sym,abs,text[b00]] cdosnocr.68k = 2 | 3 | dispa10.obj,mmu10m1.obj,ommu10.obj,ommua10.obj, 4 | 5 | abort.o,aflag.o,allocate.o,async.o,asynca.o,base.o,coffload.o,command.o, 6 | cpmload.o, 7 | dinit.o,dvrif.o,except.o,fe1.o,fe2.o,fe68.o, 8 | feinit.o,femain.o,feu1.o,feu2.o,fpool68k.o,fprintf.o,free.o, 9 | fscache.o,fsdm.o,fsname.o,fspath.o,fsvol.o,fswindow.o, 10 | heap.o,hook.o,install.o,kfuncs.o,ktools.o,load68k.o, 11 | lutils.o,m68.o,mgetblk.o,misman.o,nulldev.o,ofile.o,osmem.o,overlay.o, 12 | panic68.o,pewter.o,pipe.o,pmget.o,process.o,rdelim.o,rtmif.o,sup.o, 13 | sup68k.o,superman.o,swi.o,swi68k.o,tables.o,tools.o, 14 | 15 | vm400.o,vmclk.o, 16 | vmconfig.o,vmdiska.o,vmpanic.o,vmqueue.o,vmrwindk.o, 17 | vprobe.o, 18 | sdrv, 19 | 20 | xlib 21 |  -------------------------------------------------------------------------------- /SYS_GEN/TOOLS/NOFE.COM: -------------------------------------------------------------------------------- 1 | [sym,abs,text[b00]] cdosnofe.68k = 2 | 3 | dispa10.obj,mmu10m1.obj,ommu10.obj,ommua10.obj, 4 | 5 | abort.o,aflag.o,allocate.o,async.o,asynca.o,base.o,coffload.o,command.o, 6 | cpmload.o,crman.o,crmconv8.o,crmcopy.o,crmcreat.o,crmdel.o,crmgsl.o, 7 | crminst.o,crmkb.o,crmmouse.o,crmopen.o,crmrdel.o,crmread.o,crmwind.o, 8 | crmwrite.o,crmxlat.o,dinit.o,dvrif.o,except.o,fe68.o,festub.o, 9 | fpool68k.o,free.o, 10 | fscache.o,fsdm.o,fsname.o,fspath.o,fsvol.o,fswindow.o, 11 | heap.o,hook.o,install.o,kfuncs.o,ktools.o,load68k.o, 12 | lutils.o,m68.o,mgetblk.o,misman.o,nulldev.o,ofile.o,osmem.o,overlay.o, 13 | panic68.o,pewter.o,pipe.o,pmget.o,process.o,rdelim.o,rtmif.o,sup.o, 14 | sup68knf.o,superman.o,swi.o,swi68k.o,tables.o,tools.o, 15 | 16 | vcdrcopy.o,vcdrtool.o,vcdrv.o,vcdrvwrt.o,ibmtovm.o,vm400.o,vmclk.o, 17 | vmconasm.o,vmconfig.o,vmdiska.o,vmkb.o,vmpanic.o,vmqueue.o,vmrwindk.o, 18 | vprobe.o,vt52.o, 19 | 20 | xlib 21 |  -------------------------------------------------------------------------------- /SYS_SRC/CPUMMU.EQU: -------------------------------------------------------------------------------- 1 | ************************************************************************ 2 | * CPUMMU.EQU - assembly language equates for cpu and mmu type 3 | ************************************************************************ 4 | 5 | MC68010 equ 1 * 1 = 68010 6 | MC68000 equ 0 * 1 = 68000 7 | MMU equ 1 * 0 = no mmu, 1 = use mmu 8 | ***************************** 9 | 10 | MC68010 equ 1 * 1 = 68010 11 | MC68000 equ 0 -------------------------------------------------------------------------------- /TABLES.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TABLES.O -------------------------------------------------------------------------------- /TEXT: -------------------------------------------------------------------------------- 1 | The driver of the wagon swaying through forest and 2 | swamp of the Ohio wilderness was a ragged girl of 3 | fourteen. Her mother they had buried near the 4 | Monongahela--the girl herself had heaped with torn 5 | sods the grave beside the river of the beautiful 6 | name. Her father lay shrinking with fever on the 7 | floor of the wagon-box, and about him played her 8 | brothers and sisters, dirty brats, hilarious brats. 9 | She halted at the fork in the grassy road, and 10 | the sick man quavered, "Emmy, ye better turn down 11 | towards Cincinnati. If we could find your Uncle 12 | Ed, I guess he'd take us in." 13 | "Nobody ain't going to take us in," she said. 14 | "We're going on jus' long as we can. Going West! 15 | They's a whole lot of new things I aim to be 16 | seeing!" 17 | She cooked the supper, she put the children to 18 | bed, and sat by the fire, alone. 19 | That was the great-grandmother of Martin 20 | Arrowsmith. 21 | * * * * * 22 | Cross-legged in the examining-chair in Doc Vickerson's 23 | office, a boy was reading "Gray's Anatomy", while the 24 | Doc himself was using DR EDIX. His name was Martin 25 | Arrowsmith, of Elk Mills, in the state of Winnemac. 26 | There was a suspicion in Elk Mills--now, in 1897, 27 | a dowdy red-brick village, smelling of apples--that 28 | this brown-leather adjustable seat which Doc 29 | Vickerson used for minor editing, for the infrequent 30 | pulling of teeth and for highly frequent naps, 31 | had begun life as a programmer's chair. There was 32 | also a belief that its proprietor must have once 33 | created the world's finest microcomputer text editor, 34 | and once have been called Doctor Vickerson, but for 35 | years he had been only The Doc, and he was scruffier 36 | and much less adjustable than DR EDIX. 37 | -------------------------------------------------------------------------------- /TIME.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TIME.68K -------------------------------------------------------------------------------- /TIME.COM: -------------------------------------------------------------------------------- 1 | [s] time.68k = stdmain,time,timemsg, 2 | share.l68,errlib.l68,40pro.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /TIME.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TIME.O -------------------------------------------------------------------------------- /TIMEMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TIMEMSG.O -------------------------------------------------------------------------------- /TOOLS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TOOLS.O -------------------------------------------------------------------------------- /TOOLS/COMBINE.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TOOLS/COMBINE.68K -------------------------------------------------------------------------------- /TOOLS/DUMP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TOOLS/DUMP.68K -------------------------------------------------------------------------------- /TOOLS/EXPAND.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TOOLS/EXPAND.68K -------------------------------------------------------------------------------- /TOOLS/NM68.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TOOLS/NM68.68K -------------------------------------------------------------------------------- /TOOLS/SENDC68.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TOOLS/SENDC68.68K -------------------------------------------------------------------------------- /TOOLS/SIZE68.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TOOLS/SIZE68.68K -------------------------------------------------------------------------------- /TREE.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TREE.68K -------------------------------------------------------------------------------- /TREE.COM: -------------------------------------------------------------------------------- 1 | [s] tree.68k = stdmain,tree,treemsg, 2 | share.l68,errlib.l68,40pro.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /TREE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TREE.O -------------------------------------------------------------------------------- /TREEMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TREEMSG.O -------------------------------------------------------------------------------- /TYPE.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TYPE.68K -------------------------------------------------------------------------------- /TYPE.COM: -------------------------------------------------------------------------------- 1 | [s] type.68k = stdmain,type,typemsg, 2 | share.l68,errlib.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /TYPE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TYPE.O -------------------------------------------------------------------------------- /TYPEMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/TYPEMSG.O -------------------------------------------------------------------------------- /USER.TAB: -------------------------------------------------------------------------------- 1 | system,********,0,0,default:,system:wmex.68K,system:command.68K,1 2 | ,********,0,0,default:,system:wmex.68K,system:command.68K,1 3 | user,********,100,0,default:,system:wmex.68K,system:command.68K,1 4 | nowind,********,0,0,default:,shell,system:command.68K,1 5 | -------------------------------------------------------------------------------- /U_TOOLS/BANNER.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/BANNER.68K -------------------------------------------------------------------------------- /U_TOOLS/CAT.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/CAT.68K -------------------------------------------------------------------------------- /U_TOOLS/CMP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/CMP.68K -------------------------------------------------------------------------------- /U_TOOLS/CUT.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/CUT.68K -------------------------------------------------------------------------------- /U_TOOLS/DIFF.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/DIFF.68K -------------------------------------------------------------------------------- /U_TOOLS/DUMP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/DUMP.68K -------------------------------------------------------------------------------- /U_TOOLS/DUP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/DUP.68K -------------------------------------------------------------------------------- /U_TOOLS/ECHOX.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/ECHOX.68K -------------------------------------------------------------------------------- /U_TOOLS/FGREP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/FGREP.68K -------------------------------------------------------------------------------- /U_TOOLS/GREP.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/GREP.68K -------------------------------------------------------------------------------- /U_TOOLS/LC2UC.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/LC2UC.68K -------------------------------------------------------------------------------- /U_TOOLS/PASTE.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/PASTE.68K -------------------------------------------------------------------------------- /U_TOOLS/PR.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/PR.68K -------------------------------------------------------------------------------- /U_TOOLS/SPLIT.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/SPLIT.68K -------------------------------------------------------------------------------- /U_TOOLS/STRINGS.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/STRINGS.68K -------------------------------------------------------------------------------- /U_TOOLS/SUM.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/SUM.68K -------------------------------------------------------------------------------- /U_TOOLS/UC2LC.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/UC2LC.68K -------------------------------------------------------------------------------- /U_TOOLS/WC.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/U_TOOLS/WC.68K -------------------------------------------------------------------------------- /VCDRCOPY.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VCDRCOPY.O -------------------------------------------------------------------------------- /VCDRTOOL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VCDRTOOL.O -------------------------------------------------------------------------------- /VCDRV.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VCDRV.O -------------------------------------------------------------------------------- /VCDRVWRT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VCDRVWRT.O -------------------------------------------------------------------------------- /VER.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VER.68K -------------------------------------------------------------------------------- /VER.COM: -------------------------------------------------------------------------------- 1 | [s] ver.68k = stdmain,ver,vermsg, 2 | share.l68,errlib.l68,40pro.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /VER.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VER.O -------------------------------------------------------------------------------- /VERMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VERMSG.O -------------------------------------------------------------------------------- /VM400.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VM400.O -------------------------------------------------------------------------------- /VMCLK.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMCLK.O -------------------------------------------------------------------------------- /VMCONASM.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMCONASM.O -------------------------------------------------------------------------------- /VMCONFIG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMCONFIG.O -------------------------------------------------------------------------------- /VMDISKA.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMDISKA.O -------------------------------------------------------------------------------- /VMKB.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMKB.O -------------------------------------------------------------------------------- /VMPANIC.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMPANIC.O -------------------------------------------------------------------------------- /VMQUEUE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMQUEUE.O -------------------------------------------------------------------------------- /VMRWINDK.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMRWINDK.O -------------------------------------------------------------------------------- /VMUTIL/BOOTFIX.H: -------------------------------------------------------------------------------- 1 | /* @(#)bootfix.h 1.5 */ 2 | 3 | /* 4 | * Now for something really disgusting: 5 | * 6 | * TENbug and other Motorola bugs REQUIRE that the first 7 | * 4 bytes of the object booted in be the initial 8 | * stack pointer, and the next long be the PC. For consistency 9 | * with 86 based filesystems, we collapse the boot info of the bug 10 | * into the first fields of the boot record describing the file 11 | * system. It all works out very nicely in fact, but a despicable 12 | * programming practice none the less. 13 | */ 14 | 15 | typedef struct 16 | { 17 | LONG bf_sp; /* stack pointer, not used as such */ 18 | LONG bf_pc; /* initial PC */ 19 | BYTE bf_68k[3]; /* a three byte signature */ 20 | } BTFIX; 21 | 22 | /* Magic little string for boot print */ 23 | 24 | #define BPSTRING "bjp" 25 |  -------------------------------------------------------------------------------- /VMUTIL/BOOTREC.H: -------------------------------------------------------------------------------- 1 | /* @(#)bootrec.h 1.1 */ 2 | 3 | /* 4 | * This is the funky boot record structure definition 5 | * for Concurrent DOS. It is defined as BYTE arrays because 6 | * it is not WORD aligned, and the bytes within WORDs and 7 | * LONGs are swapped. 8 | */ 9 | 10 | typedef struct 11 | { /* NOTE: STRUCTURE NOT WORD ALLIGNED!! */ 12 | BYTE jmp[3]; /* first three bytes are jump (branch) */ 13 | BYTE name[8]; /* eight byte OEM name and version */ 14 | BYTE sctrsz[2]; /* bytes per sector */ 15 | BYTE clstrsz; /* sectors per cluster (power of 2) */ 16 | BYTE rsvsc[2]; /* reserved sectors */ 17 | BYTE numfats; /* number of FATS */ 18 | BYTE rtdir[2]; /* number of root dir entries */ 19 | BYTE dksz[2]; /* number of sectors in logical disk */ 20 | BYTE meddsc; /* media descriptor ID */ 21 | BYTE fatsz[2]; /* number of sectors in a FAT */ 22 | BYTE spt[2]; /* sectors per track */ 23 | BYTE hds[2]; /* number of heads */ 24 | BYTE hidsc[2]; /* hidden sectors */ 25 | BYTE xdksz[4]; /* extended disk size if dksz 0 */ 26 | BYTE fdats[2]; /* first sector num after root dir */ 27 | BYTE cdld[4]; /* code load base */ 28 | BYTE cdln[4]; /* code length */ 29 | BYTE dtld[4]; /* data load base */ 30 | BYTE dtln[4]; /* data length */ 31 | } BTREC; 32 |  -------------------------------------------------------------------------------- /VMUTIL/DIRIBM.C: -------------------------------------------------------------------------------- 1 | /* @(#)diribm.c 2.1 */ 2 | /* diribm (15 Oct 84) - print directory of IBM diskette */ 3 | 4 | #include "portab.h" 5 | 6 | diribm(argc,argv) 7 | WORD argc; 8 | BYTE *argv[]; 9 | { 10 | BYTE direntry[32]; /* used to store one directory entry */ 11 | WORD column; 12 | 13 | if (argc != 1) 14 | { 15 | printf("No parameters allowed\n"); 16 | return; 17 | } 18 | if (opendir() == -1) 19 | { 20 | printf("Unable to read IBM directory\n"); 21 | return; 22 | } 23 | column = 0; 24 | while ((readdir(direntry)) >= 0) 25 | { 26 | write(1,direntry,8); 27 | write(1," ",1); 28 | write(1,&direntry[8],3); 29 | if (column == 4) 30 | { 31 | write(1,"\n",1); 32 | column = 0; 33 | } 34 | else 35 | { 36 | write(1," ",3); 37 | column++; 38 | } 39 | } 40 | } 41 |  -------------------------------------------------------------------------------- /VMUTIL/ERAIBM.C: -------------------------------------------------------------------------------- 1 | /* @(#)eraibm.c 1.1 */ 2 | /* eraseibm - erase an ibm file */ 3 | 4 | #include "portab.h" 5 | #include "ibmdisk.h" 6 | 7 | ierase(argc,argv) 8 | WORD argc; 9 | BYTE *argv[]; 10 | { 11 | if (argc != 2 ) 12 | { 13 | printf("Usage: eraseibm filename\n"); 14 | return; 15 | } 16 | 17 | eraibm(argv[1]); 18 | } 19 |  -------------------------------------------------------------------------------- /VMUTIL/IBMINIT.C: -------------------------------------------------------------------------------- 1 | /* @(#)ibminit.c 2.6 */ 2 | /* vmformat (09 AUG 84) - PC-DOS (CDOS) initialization routines */ 3 | 4 | #include "portab.h" 5 | #include "ibmdisk.h" 6 | 7 | EXTERN FS fs; 8 | 9 | /* initpcdos() - fats, and directory */ 10 | 11 | initpcdos(argc,argv) 12 | WORD argc; 13 | BYTE **argv; 14 | { 15 | /* We will need a pretty big buffer */ 16 | BYTE sector[MAXRTDIRENTRIES*DIRENTRYSZBYTES]; 17 | WORD nfats; 18 | BYTE buf; 19 | 20 | /* write the FATS and directory */ 21 | 22 | printf("All File System data on the diskette will now be destroyed.\n"); 23 | printf("Is this what you want (y/n)? "); 24 | read(0,&buf,1); 25 | printf("\n"); 26 | if (buf != 'y' && buf != 'Y') 27 | { 28 | printf("Init aborted\n"); 29 | return; 30 | } 31 | printf("Writing %d FATs of %d sector(s) each...\n",fs.nfats,fs.fatszinsecs); 32 | for (nfats = 0; nfats < fs.nfats; nfats++) 33 | { 34 | setb(0,sector,sizeof(sector)); 35 | sector[0] = sector[1] = sector[2] = fs.mediatype; 36 | if( WriteSector(fs.disknum, 37 | (LONG)(fs.fatstartsec+nfats*fs.fatszinsecs), 38 | fs.fatszinsecs,sector) == ERROR) 39 | { 40 | printf("COULD NOT WRITE FATS\n"); 41 | return; 42 | } 43 | } 44 | setb(0,sector,sizeof(sector)); 45 | printf("Writing directory of %d sectors...\n",fs.rtdirszinsecs); 46 | if( WriteSector(fs.disknum,fs.rtdirstartsec,fs.rtdirszinsecs,sector) == ERROR ) 47 | { 48 | printf("Could not write the directory.\n"); 49 | return; 50 | } 51 | } 52 | 53 | 54 | #if FORMATCMD 55 | 56 | ibmformat() 57 | { 58 | BYTE buf; 59 | BYTE status; 60 | 61 | printf("Floppy format for CONCURRENT DOS 68k v2.0\n"); 62 | printf("Insert a new diskette in the disk drive.\n"); 63 | printf("All data on the diskette will now be destroyed.\n"); 64 | printf("Is this what you want (y/n)? "); 65 | read(0,&buf,1); 66 | printf("\n"); 67 | if (buf != 'y' && buf != 'Y') 68 | { 69 | printf("Format aborted\n"); 70 | return; 71 | } 72 | 73 | /* checkstatus(config()); */ 74 | /* checkstatus(format()); */ 75 | printf("All done!\n"); 76 | } 77 | 78 | #endif 79 |  -------------------------------------------------------------------------------- /VMUTIL/IBMSUP.C: -------------------------------------------------------------------------------- 1 | /* @(#)ibmsup.c 2.1 */ 2 | 3 | #include "portab.h" 4 | 5 | VOID movb(s,d,cnt) 6 | REG BYTE *s, *d; 7 | REG WORD cnt; 8 | { 9 | while( cnt-- > 0 ) 10 | *d++ = *s++; 11 | } 12 | 13 | VOID setb(c,p,n) 14 | BYTE c; 15 | BYTE *p; 16 | WORD n; 17 | { 18 | while( n-- > 0 ) 19 | *p++ = c; 20 | } 21 |  -------------------------------------------------------------------------------- /VMUTIL/MOTBUG.H: -------------------------------------------------------------------------------- 1 | 2 | /* @(#)motbug.h 1.4 */ 3 | 4 | /* buffer for VME/10 bootrecord */ 5 | 6 | #define VOLID struct VolumeId 7 | 8 | VOLID 9 | { 10 | BYTE name[4]; /* The magic "CDOS" string */ 11 | BYTE _vfill1[0x10]; 12 | LONG vsector; /* first versados sector to transfer */ 13 | WORD vsects; /* number of versados sectors */ 14 | BYTE _vfill2[4]; 15 | LONG dest; /* destination address */ 16 | BYTE _vfill5[4]; 17 | BYTE description[20]; /* decriptive string */ 18 | BYTE _vfill3[0x6]; 19 | LONG diag[16]; /* diagnostic test pattern */ 20 | BYTE _vfill3a[0x10]; 21 | LONG dcasect; /* address of disk configuration area */ 22 | BYTE dcalen; /* length of configuration area */ 23 | BYTE _vfill4[0x63]; 24 | BYTE exormacs[8]; /* exormacs string */ 25 | }; 26 | 27 | #define DCA struct DataConfigurationAttr 28 | 29 | DCA 30 | { 31 | BYTE fill4dca[8]; 32 | WORD dca_attr; /* attributes */ 33 | BYTE _fill5dca[14]; 34 | BYTE dca_spt; /* sectors per track */ 35 | BYTE dca_heads; 36 | WORD dca_cylinders; /* number of cylinders on medium */ 37 | WORD _fill6dca; 38 | WORD dca_bps; /* bytes per sector */ 39 | WORD _fill7dca[2]; 40 | WORD dca_precomp; /* starting precompensation cylinder */ 41 | }; 42 | 43 |  -------------------------------------------------------------------------------- /VMUTIL/READIBM.C: -------------------------------------------------------------------------------- 1 | /* @(#)readibm.c 2.5 */ 2 | /* readibm (12 Oct 84) - read an IBM PC file to CP/M file */ 3 | 4 | #include "portab.h" 5 | #include "ibmdisk.h" 6 | 7 | iread(argc,argv) 8 | WORD argc; 9 | BYTE *argv[]; 10 | { 11 | WORD actual,fd; 12 | BYTE *cpmfile; 13 | BYTE buffer[MAXCLSIZE];/* used to store one cluster of file data */ 14 | 15 | if (argc != 2 && argc != 3) 16 | { 17 | printf("Usage: readibm []\n"); 18 | return; 19 | } 20 | cpmfile = (argc == 2 ? argv[1] : argv[2]); 21 | if (openibm(argv[1]) == -1) 22 | { 23 | printf("Unable to find IBM PC file %s\n",argv[1]); 24 | return; 25 | } 26 | if (strcmp(argv[0],"Read") == 0) 27 | { 28 | if ((fd = creata(argv[1],0666)) == -1) 29 | { 30 | printf("Unable to create CP/M file %s\n",argv[1]); 31 | return; 32 | } 33 | } 34 | else 35 | if ((fd = creatb(cpmfile,0666)) == -1) 36 | { 37 | printf("Unable to create CP/M file %s\n",argv[1]); 38 | return; 39 | } 40 | while ((actual = readibm(buffer)) > 0) 41 | { 42 | if (write(fd,buffer,actual) < actual) 43 | { 44 | printf("Unable to write to CP/M file\n"); 45 | break; 46 | } 47 | } 48 | close(fd); 49 | } 50 |  -------------------------------------------------------------------------------- /VMUTIL/TYPEIBM.C: -------------------------------------------------------------------------------- 1 | /* @(#)typeibm.c 2.1 */ 2 | /* typeibm (15 Oct 84) - type an IBM PC file on console */ 3 | 4 | #include "portab.h" 5 | #include "ibmdisk.h" 6 | 7 | typeibm(argc,argv) 8 | WORD argc; 9 | BYTE *argv[]; 10 | { 11 | BYTE buffer[MAXCLSIZE]; /* to store one cluster of file data */ 12 | WORD actual; 13 | 14 | if (argc != 2) 15 | { 16 | printf("Usage: typeibm \n"); 17 | return; 18 | } 19 | if (openibm(argv[1]) == -1) 20 | { 21 | printf("Unable to find IBM PC file %s\n",argv[1]); 22 | return; 23 | } 24 | while ((actual = readibm(buffer)) > 0) 25 | write(1,buffer,actual); 26 | } 27 |  -------------------------------------------------------------------------------- /VMUTIL/VMUTIL.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VMUTIL/VMUTIL.68K -------------------------------------------------------------------------------- /VMUTIL/VMUTIL.COM: -------------------------------------------------------------------------------- 1 | vmutil.68k = 0:s.o,swap,diribm,dkconf,dosrwin,eraibm,ibmdisk,ibminit, 2 | ibmmain,ibmsup,putboot,readibm,typeibm,writeibm,0:clib[in[_nofloat]] 3 |  -------------------------------------------------------------------------------- /VMUTIL/WRITEIBM.C: -------------------------------------------------------------------------------- 1 | /* @(#)writeibm.c 2.7 */ 2 | /* writeibm (13 Nov 84) - write a CP/M file to an IBM PC file */ 3 | 4 | #include "portab.h" 5 | #include "ibmdisk.h" 6 | 7 | EXTERN FS fs; 8 | 9 | MLOCAL BYTE buffer[MAXCLSIZE];/* used to store one cluster of file data */ 10 | 11 | iwrite(argc,argv) 12 | WORD argc; 13 | BYTE *argv[]; 14 | { 15 | REG WORD i,more,actual,fd,ascii; 16 | BYTE *ibmfile; 17 | 18 | if (argc != 2 && argc != 3) 19 | { 20 | printf("Usage: writeibm []\n"); 21 | return; 22 | } 23 | ibmfile = (argc == 2 ? argv[1] : argv[2]); 24 | 25 | ascii = (strcmp(argv[0],"Write") == 0 ); 26 | if ((fd = openb(argv[1],0)) == -1) 27 | { 28 | printf("Unable to find CP/M file %s\n",argv[1]); 29 | return; 30 | } 31 | if (creatibm(ibmfile) == -1) 32 | { 33 | printf("Unable to create IBM file %s\n",ibmfile); 34 | close(fd); 35 | return; 36 | } 37 | more = TRUE; 38 | while (more && ((actual = read(fd,buffer,fs.bpc)) > 0)) 39 | { 40 | if (ascii) 41 | { 42 | for (i = 0; i < actual; i++) 43 | { 44 | if (buffer[i] == 0x1a) 45 | { 46 | while (i < actual) 47 | buffer[i++] = 0x1a; 48 | more = FALSE; 49 | break; 50 | } 51 | } 52 | } 53 | if (writeibm(buffer,actual) == -1) 54 | { 55 | printf("Unable to write to IBM file\n"); 56 | break; 57 | } 58 | } 59 | close(fd); 60 | closeibm(); 61 | } 62 |  -------------------------------------------------------------------------------- /VOL.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VOL.68K -------------------------------------------------------------------------------- /VOL.COM: -------------------------------------------------------------------------------- 1 | [s] vol.68k = stdmain,vol,volmsg, 2 | share.l68,errlib.l68,40pro.l68,40pro.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /VOL.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VOL.O -------------------------------------------------------------------------------- /VOLMSG.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VOLMSG.O -------------------------------------------------------------------------------- /VPROBE.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VPROBE.O -------------------------------------------------------------------------------- /VT52.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/VT52.O -------------------------------------------------------------------------------- /WMEX.68K: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/WMEX.68K -------------------------------------------------------------------------------- /WMEX.COM: -------------------------------------------------------------------------------- 1 | [s] wmex.68k = stdmain,wmex,wmutls,wmexdata,wmexnut, 2 | ccutls.l68,ccmsgs.l68,ccrtl.l68,util68k.l68 3 |  4 | -------------------------------------------------------------------------------- /WMEX.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/WMEX.O -------------------------------------------------------------------------------- /WMEXDATA.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/WMEXDATA.O -------------------------------------------------------------------------------- /WMEXNUT.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/WMEXNUT.O -------------------------------------------------------------------------------- /WMUTLS.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/WMUTLS.O -------------------------------------------------------------------------------- /XLOGON.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/XLOGON.O -------------------------------------------------------------------------------- /XPASSWD.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnsonjh/cdos-68k/ec004248cf1367faa0d27edbf809cf980b5d0c83/XPASSWD.O --------------------------------------------------------------------------------