Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6fed2b307 | ||
|
|
0e2c375a60 |
@@ -29,7 +29,7 @@ FATAL: illegal command line
|
||||
-b | --background run in background mode, no console I/O except errors
|
||||
-t | --timing 1 add timing delays to spoof diagnostic into passing
|
||||
-T | --timing 2 add timing delays to mimic a real TU58
|
||||
-s | --speed BAUD set line speed [1200..230400; default 9600]
|
||||
-s | --speed BAUD set line speed [1200..3000000; default 9600]
|
||||
-p | --port PORT set port to PORT [1..N or /dev/comN; default 1]
|
||||
-r | --read|rd FILENAME readonly drive
|
||||
-w | --write FILENAME read/write drive
|
||||
@@ -51,7 +51,9 @@ Most of the switches should be pretty obvious:
|
||||
-b run in background mode, no console I/O except errors
|
||||
-t adds time delays to allow the emulator to pass the DEC ZTUUF0 TU-58 Performance Exerciser diagnostic
|
||||
-T adds time delays to make the emulator nearly as slow as a real TU-58 (just for fun)
|
||||
-s BAUD sets the baud rate (115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200 are supported)
|
||||
-s BAUD sets the baud rate; the following rates are supported. the default will be 9600 if not set.
|
||||
3000000, 2500000, 2000000, 1500000, 1152000, 1000000, 921600, 576000, 500000,
|
||||
460800, 256000, 230400, 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200
|
||||
-p PORT sets the com port as a number (1,2,3,...) or if not numeric the full path (/dev/com1)
|
||||
-r FILENAME set the next unit as a read only drive using file FILENAME
|
||||
-w FILENAME set the next unit as a read/write drive using file FILENAME
|
||||
|
||||
35
common.h
35
common.h
@@ -2,18 +2,49 @@
|
||||
// tu58 - Emulate a TU58 over a serial line
|
||||
//
|
||||
// Original (C) 1984 Dan Ts'o <Rockefeller Univ. Dept. of Neurobiology>
|
||||
// Update (C) 2005-2012 Don North <ak6dn_at_mindspring_dot_com>
|
||||
// Update (C) 2005-2016 Donald N North <ak6dn_at_mindspring_dot_com>
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// o Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// o Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// o Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// This is the TU58 emulation program written at Rockefeller Univ., Dept. of
|
||||
// Neurobiology. We copyright (C) it and permit its use provided it is not
|
||||
// sold to others. Originally written by Dan Ts'o circa 1984 or so.
|
||||
//
|
||||
|
||||
|
||||
|
||||
//
|
||||
// TU58 Emulator Common Definitions
|
||||
//
|
||||
|
||||
|
||||
|
||||
// Common includes
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
Binary file not shown.
35
file.c
35
file.c
@@ -2,18 +2,49 @@
|
||||
// tu58 - Emulate a TU58 over a serial line
|
||||
//
|
||||
// Original (C) 1984 Dan Ts'o <Rockefeller Univ. Dept. of Neurobiology>
|
||||
// Update (C) 2005-2012 Don North <ak6dn_at_mindspring_dot_com>
|
||||
// Update (C) 2005-2016 Donald N North <ak6dn_at_mindspring_dot_com>
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// o Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// o Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// o Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// This is the TU58 emulation program written at Rockefeller Univ., Dept. of
|
||||
// Neurobiology. We copyright (C) it and permit its use provided it is not
|
||||
// sold to others. Originally written by Dan Ts'o circa 1984 or so.
|
||||
//
|
||||
|
||||
|
||||
|
||||
//
|
||||
// TU58 File access routines
|
||||
//
|
||||
|
||||
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
||||
|
||||
40
main.c
40
main.c
@@ -2,12 +2,41 @@
|
||||
// tu58 - Emulate a TU58 over a serial line
|
||||
//
|
||||
// Original (C) 1984 Dan Ts'o <Rockefeller Univ. Dept. of Neurobiology>
|
||||
// Update (C) 2005-2012 Don North <ak6dn_at_mindspring_dot_com>
|
||||
// Update (C) 2005-2016 Donald N North <ak6dn_at_mindspring_dot_com>
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// o Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// o Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// o Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// This is the TU58 emulation program written at Rockefeller Univ., Dept. of
|
||||
// Neurobiology. We copyright (C) it and permit its use provided it is not
|
||||
// sold to others. Originally written by Dan Ts'o circa 1984 or so.
|
||||
//
|
||||
|
||||
// Extensively rewritten to work reliably under the CYGWIN unix subsystem.
|
||||
// Has been tested up to 38.4Kbaud hosted on a 1GHz Pentium3 Win2K platform.
|
||||
// Added native windows serial comm support compile option (for break detect).
|
||||
@@ -43,6 +72,7 @@
|
||||
// - No functionality changes on other platforms
|
||||
// v1.4m - 23 Feb 2016 - donorth - Added M. Blair's vax console timeout changes for '730
|
||||
// - Added M. Blair's background mode option (no status).
|
||||
// v1.4n - 06 Apr 2016 - donorth - Added capability for baud rates >230K, up to 3M
|
||||
//
|
||||
|
||||
|
||||
@@ -50,10 +80,10 @@
|
||||
#include <getopt.h>
|
||||
|
||||
|
||||
static char copyright[] = "(C) 2005-2014 Don North <ak6dn" "@" "mindspring.com>, " \
|
||||
static char copyright[] = "(C) 2005-2016 Don North <ak6dn" "@" "mindspring.com>, " \
|
||||
"(C) 1984 Dan Ts'o <Rockefeller University>";
|
||||
|
||||
static char version[] = "tu58 tape emulator v1.4m";
|
||||
static char version[] = "tu58 tape emulator v1.4n";
|
||||
|
||||
static char port[32] = "1"; // default port number (COM1, /dev/ttyS0)
|
||||
static long speed = 9600; // default line speed
|
||||
@@ -202,7 +232,7 @@ int main (int argc,
|
||||
" -b | --background run in background mode, no console I/O except errors\n" \
|
||||
" -t | --timing 1 add timing delays to spoof diagnostic into passing\n" \
|
||||
" -T | --timing 2 add timing delays to mimic a real TU58\n" \
|
||||
" -s | --speed BAUD set line speed [1200..230400; default 9600]\n" \
|
||||
" -s | --speed BAUD set line speed [1200..3000000; default 9600]\n" \
|
||||
" -p | --port PORT set port to PORT [1..N or /dev/comN; default 1]\n" \
|
||||
" -r | --read|rd FILENAME readonly drive\n" \
|
||||
" -w | --write FILENAME read/write drive\n" \
|
||||
|
||||
101
serial.c
101
serial.c
@@ -2,18 +2,49 @@
|
||||
// tu58 - Emulate a TU58 over a serial line
|
||||
//
|
||||
// Original (C) 1984 Dan Ts'o <Rockefeller Univ. Dept. of Neurobiology>
|
||||
// Update (C) 2005-2012 Don North <ak6dn_at_mindspring_dot_com>
|
||||
// Update (C) 2005-2016 Donald N North <ak6dn_at_mindspring_dot_com>
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// o Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// o Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// o Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// This is the TU58 emulation program written at Rockefeller Univ., Dept. of
|
||||
// Neurobiology. We copyright (C) it and permit its use provided it is not
|
||||
// sold to others. Originally written by Dan Ts'o circa 1984 or so.
|
||||
//
|
||||
|
||||
|
||||
|
||||
//
|
||||
// TU58 serial support routines
|
||||
//
|
||||
|
||||
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#ifdef WINCOMM
|
||||
@@ -374,27 +405,49 @@ void devtxput (uint8_t c)
|
||||
static int32_t devbaud (int32_t rate)
|
||||
{
|
||||
#ifdef WINCOMM
|
||||
static int32_t baudlist[] = { 230400, 230400,
|
||||
115200, 115200,
|
||||
57600, 57600,
|
||||
38400, 38400,
|
||||
19200, 19200,
|
||||
9600, 9600,
|
||||
4800, 4800,
|
||||
2400, 2400,
|
||||
1200, 1200,
|
||||
-1, -1 };
|
||||
#else // !WINCOMM
|
||||
static int32_t baudlist[] = { 230400, B230400,
|
||||
115200, B115200,
|
||||
57600, B57600,
|
||||
38400, B38400,
|
||||
19200, B19200,
|
||||
9600, B9600,
|
||||
4800, B4800,
|
||||
2400, B2400,
|
||||
1200, B1200,
|
||||
static int32_t baudlist[] = { 3000000, 3000000,
|
||||
2500000, 2500000,
|
||||
2000000, 2000000,
|
||||
1500000, 1500000,
|
||||
1152000, 1152000,
|
||||
1000000, 1000000,
|
||||
921600, 921600,
|
||||
576000, 576000,
|
||||
500000, 500000,
|
||||
460800, 460800,
|
||||
256000, 256000,
|
||||
230400, 230400,
|
||||
115200, 115200,
|
||||
57600, 57600,
|
||||
38400, 38400,
|
||||
19200, 19200,
|
||||
9600, 9600,
|
||||
4800, 4800,
|
||||
2400, 2400,
|
||||
1200, 1200,
|
||||
-1, -1 };
|
||||
#else // !WINCOMM
|
||||
static int32_t baudlist[] = { 3000000, B3000000,
|
||||
2500000, B2500000,
|
||||
2000000, B2000000,
|
||||
1500000, B1500000,
|
||||
1152000, B1152000,
|
||||
1000000, B1000000,
|
||||
921600, B921600,
|
||||
576000, B576000,
|
||||
500000, B500000,
|
||||
460800, B460800,
|
||||
256000, B256000,
|
||||
230400, B230400,
|
||||
115200, B115200,
|
||||
57600, B57600,
|
||||
38400, B38400,
|
||||
19200, B19200,
|
||||
9600, B9600,
|
||||
4800, B4800,
|
||||
2400, B2400,
|
||||
1200, B1200,
|
||||
-1, -1 };
|
||||
#endif // !WINCOMM
|
||||
int32_t *p = baudlist;
|
||||
int32_t r;
|
||||
@@ -462,7 +515,7 @@ void devinit (char *port,
|
||||
dcb.fAbortOnError = FALSE;
|
||||
dcb.ByteSize = 8;
|
||||
dcb.Parity = NOPARITY;
|
||||
dcb.StopBits = ONESTOPBIT;
|
||||
dcb.StopBits = TWOSTOPBITS;
|
||||
|
||||
// timing/read param
|
||||
cto.ReadIntervalTimeout = MAXDWORD;
|
||||
@@ -518,7 +571,7 @@ void devinit (char *port,
|
||||
// control param
|
||||
line.c_cflag &= ~( CBAUD | CSIZE | CSTOPB | PARENB | PARODD |
|
||||
HUPCL | CRTSCTS | CLOCAL | CREAD );
|
||||
line.c_cflag |= ( CLOCAL | CREAD | CS8 );
|
||||
line.c_cflag |= ( CLOCAL | CREAD | CS8 | CSTOPB ); // 8b+2stop
|
||||
|
||||
// local param
|
||||
line.c_lflag &= ~( ISIG | ICANON | ECHO | ECHOE | ECHOK |
|
||||
|
||||
32
tu58.h
32
tu58.h
@@ -2,12 +2,40 @@
|
||||
// tu58 - Emulate a TU58 over a serial line
|
||||
//
|
||||
// Original (C) 1984 Dan Ts'o <Rockefeller Univ. Dept. of Neurobiology>
|
||||
// Update (C) 2005-2012 Don North <ak6dn_at_mindspring_dot_com>
|
||||
// Update (C) 2005-2016 Donald N North <ak6dn_at_mindspring_dot_com>
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// o Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// o Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// o Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// This is the TU58 emulation program written at Rockefeller Univ., Dept. of
|
||||
// Neurobiology. We copyright (C) it and permit its use provided it is not
|
||||
// sold to others. Originally written by Dan Ts'o circa 1984 or so.
|
||||
//
|
||||
|
||||
|
||||
|
||||
|
||||
35
tu58drive.c
35
tu58drive.c
@@ -2,18 +2,49 @@
|
||||
// tu58 - Emulate a TU58 over a serial line
|
||||
//
|
||||
// Original (C) 1984 Dan Ts'o <Rockefeller Univ. Dept. of Neurobiology>
|
||||
// Update (C) 2005-2012 Don North <ak6dn_at_mindspring_dot_com>
|
||||
// Update (C) 2005-2016 Donald N North <ak6dn_at_mindspring_dot_com>
|
||||
//
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
//
|
||||
// o Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
//
|
||||
// o Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// o Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// This is the TU58 emulation program written at Rockefeller Univ., Dept. of
|
||||
// Neurobiology. We copyright (C) it and permit its use provided it is not
|
||||
// sold to others. Originally written by Dan Ts'o circa 1984 or so.
|
||||
//
|
||||
|
||||
|
||||
|
||||
//
|
||||
// TU58 Drive Emulator Machine
|
||||
//
|
||||
|
||||
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
Reference in New Issue
Block a user