mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 00:14:25 +00:00
Upload
Digital Research
This commit is contained in:
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/COUT.H
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/COUT.H
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/CPUTC.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/CPUTC.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/CREAT.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/CREAT.C
Normal file
Binary file not shown.
38
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/DUP.C
Normal file
38
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/DUP.C
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* El-Kludg-o Dup routine. Takes advantage of the fact that
|
||||
* stdout is not closed by Bill Allen's stuff.
|
||||
*/
|
||||
dup(n)
|
||||
register int n;
|
||||
{
|
||||
return(n);
|
||||
}
|
||||
advantage of the fact that
|
||||
* stdout is not closed by Bill Allen's stuff.
|
||||
*/
|
||||
dup(n)
|
||||
egister int n;
|
||||
{
|
||||
return(n);
|
||||
}
|
||||
advantage of the fact that
|
||||
* stdout is not closed by Bill Allen's stuff.
|
||||
*/
|
||||
dup(n)
|
||||
egister int n;
|
||||
{
|
||||
return(n);
|
||||
}
|
||||
advantage of the fact that
|
||||
* stdout is not closed by Bill Allen's stuff.
|
||||
*/
|
||||
dup(n)
|
||||
egister int n;
|
||||
{
|
||||
return(n);
|
||||
}
|
||||
advantage of the fact that
|
||||
* stdout is not closed by Bill Allen's stuff.
|
||||
*/
|
||||
dup(n)
|
||||
|
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/GETC.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/GETC.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/GETCHAR.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/GETCHAR.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/IOB.H
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/IOB.H
Normal file
Binary file not shown.
52
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/IODEC.H
Normal file
52
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/IODEC.H
Normal file
@@ -0,0 +1,52 @@
|
||||
# define MAXFILES 15
|
||||
|
||||
struct fileps
|
||||
{
|
||||
char *buff; /* beginning of buffer */
|
||||
char *bptr; /* current position */
|
||||
int nchars; /* number of characters internal */
|
||||
int bsize; /* size of buffer */
|
||||
char eoferr; /* end of file flag */
|
||||
char wrflag; /* mode flag */
|
||||
char *pbuff; /* bottom of peek buffer */
|
||||
};
|
||||
|
||||
struct fileps __filehdr[MAXFILES];
|
||||
|
||||
struct param
|
||||
{
|
||||
int bufsize; /* initial buffer size */
|
||||
int peeksize; /* initial peek size */
|
||||
};
|
||||
|
||||
extern struct param __param;
|
||||
|
||||
int __statbuf[MAXFILES];
|
||||
tial buffer size */
|
||||
int peeksize; /* initial peek size */
|
||||
};
|
||||
|
||||
extern struct param __param;
|
||||
|
||||
int __sttbuf[MAXFILES];
|
||||
tial buffer size */
|
||||
int peeksize; /* initial peek size */
|
||||
};
|
||||
|
||||
extern struct param __param;
|
||||
|
||||
int __sttbuf[MAXFILES];
|
||||
tial buffer size */
|
||||
int peeksize; /* initial peek size */
|
||||
};
|
||||
|
||||
extern struct param __param;
|
||||
|
||||
int __sttbuf[MAXFILES];
|
||||
tial buffer size */
|
||||
int peeksize; /* initial peek size */
|
||||
};
|
||||
|
||||
extern struct param __param;
|
||||
|
||||
int __st
|
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/KLIB.H
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/KLIB.H
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/MAKE.SUB
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/MAKE.SUB
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/OPEN.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/OPEN.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/OUTERR.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/OUTERR.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/PUTC.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/PUTC.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/PUTCHAR.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/PUTCHAR.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/PUTCHD.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/PUTCHD.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/PUTL.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/PUTL.C
Normal file
Binary file not shown.
33
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/SEEK.C
Normal file
33
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/SEEK.C
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Seek.c -- Whitesmith's equivalent of V6 seek
|
||||
*/
|
||||
long lseek();
|
||||
|
||||
seek(fildes,offset,ptrname)
|
||||
int fildes; /* UNIX / WS file descriptor */
|
||||
int offset; /* File offset, bytes */
|
||||
int ptrname; /* Sense variable */
|
||||
{
|
||||
offset &= 0xffff; /* Clear sign extension problems*/
|
||||
if(ptrname > 2) /* Not byte sense seek */
|
||||
{ /* */
|
||||
offset = offset << 9; /* Multiply by 512 */
|
||||
ptrname -= 3; /* reset to range 0 .. 2 */
|
||||
} /********************************/
|
||||
return(lseek(fildes,(long)offset,ptrname));
|
||||
}
|
||||
-= 3; /* reset to range 0 .. 2 */
|
||||
} /********************************/
|
||||
return(lseek(fildes,(ong)offset,ptrname));
|
||||
}
|
||||
-= 3; /* reset to range 0 .. 2 */
|
||||
} /********************************/
|
||||
return(lseek(fildes,(ong)offset,ptrname));
|
||||
}
|
||||
-= 3; /* reset to range 0 .. 2 */
|
||||
} /********************************/
|
||||
return(lseek(fildes,(ong)offset,ptrname));
|
||||
}
|
||||
-= 3; /* reset to range 0 .. 2 */
|
||||
} /********************************/
|
||||
return(lseek(fildes,(
|
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/STRCMP.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/STRCMP.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/STRCPY.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/STRCPY.C
Normal file
Binary file not shown.
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/V6FFLUSH.C
Normal file
BIN
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/4/V6FFLUSH.C
Normal file
Binary file not shown.
Reference in New Issue
Block a user