Bruce Mitchener
857100a29a
Remove AIX on PS/2 platform support. ( #50 )
2020-12-14 18:14:59 -08:00
Bruce Mitchener
fd0e12e855
Remove AIX RS/6000 platform support. ( #46 )
...
AIX on PS/2 will be removed separately.
2020-12-14 12:13:38 -08:00
Bruce Mitchener
52d3590401
Remove 1988-era copies of some SunOS headers. ( #42 )
2020-12-14 17:38:14 +00:00
Bruce Mitchener
2dba7492af
Begin to remove ISC platform support. ( #40 )
...
We don't want to modify emulation code yet as ISC support included
a number of other things, including some i386 code that isn't used
on other platforms, but is still useful as a reference.
2020-12-13 22:31:58 -08:00
Bruce Mitchener
7119613aee
Remove RISCOS platform support. ( #39 )
2020-12-14 01:38:57 +00:00
Bruce Mitchener
7313de4274
Remove FUJI compile flag. ( #38 )
...
This was only used for a keyboard warning that doesn't seem
relevant any longer.
2020-12-14 01:21:54 +00:00
Bruce Mitchener
074dce0e90
Remove bin/optck and bin/optck-. ( #24 )
...
These were binaries built for SPARC to test some assembler
optimizations.
They aren't needed as part of the version control as they're just
artifacts of the past.
2020-12-13 15:40:24 -08:00
Bruce Mitchener
33a42736d4
Remove OSF1 / DEC3100 platform support. ( #36 )
...
This also removes support for the DEC3100 keyboard, but leaves a
constant behind for it as I'm not sure about re-numbering.
[NBriggs: keyboard type numbers are stored within all sysouts. Do not renumber supported keyboards, do not reuse previously used keyboard numbers]
2020-12-13 10:22:43 -08:00
Bruce Mitchener
8e67d0e3c9
Remove unused externs.h ( #35 )
...
The things that are declared here either are declared elsewhere
or don't exist any longer.
2020-12-12 21:46:34 -08:00
Bruce Mitchener
362c658c73
Remove usermakefile for Apollo Domain. ( #32 )
...
Follow up on #30 .
2020-12-12 21:46:07 -08:00
Bruce Mitchener
1c912ff57e
Remove HP platform support. ( #34 )
...
This removes code related to HP9000, HPTIMERBUG, and HPUX defines.
It leaves KB_HP9000 for now as I'm not sure about renumbering
those constants.
This should not impact any of the core emulation code.
2020-12-13 05:35:53 +00:00
Bruce Mitchener
750d84c78c
Remove SGI Irix platform support. ( #33 )
...
This platform had no emulation-related changes.
Remove code for IRIX40, INDIGO definitions.
In disk code, simplify a chain of #ifdef's around fsync handling.
2020-12-13 02:57:07 +00:00
Bruce Mitchener
1c28005420
Remove support for Ultrix. ( #28 )
...
Ultrix hasn't seen an update since 1995 and the DEC3100 hardware
that this was originally written for was released in 1989.
It isn't likely that anyone has Ultrix running on hardware where
they would also want to run this.
2020-12-12 18:15:22 -08:00
Bruce Mitchener
292809694e
Remove platform support for Apollo/Domain. ( #30 )
2020-12-13 02:07:08 +00:00
Bruce Mitchener
69e66470a0
Remove unused _I386 -D flag. ( #29 )
...
This flag isn't actually used in any code, so let's remove it to
avoid confusion over whether it does do something or not.
2020-12-12 18:59:26 +00:00
Bruce Mitchener
dbd5bd6679
Remove fp.h ( #21 )
...
This was replaced by medleyfp.h. Perhaps this happened because
some systems have an fp.h in their system includes and the naming
collision was an issue. But nothing uses fp.h and medleyfp.h is
an updated version of the contents.
This also updates a bunch of manually managed dependency lists
to reflect the usage of medleyfp.h rather than fp.h.
Nick Briggs: Note that on OSF1 medleyfp.h includes the system fp.h (probably the origin of the renaming)
2020-12-10 17:52:08 +00:00
Bruce Mitchener
11c083d792
Remove editor save files. ( #19 )
...
Reviewed differences between save files and current versions to ensure no relevant history was lost.
2020-12-10 08:39:07 -08:00
Nick Briggs
8dda1fe2a8
Update build files for M1 Mac systems (refs Interlisp/medley#69 )
...
The config.guess script returns "aarch64-apple-darwin20.1.0" for an M1 Big Sur mac mini.
modified: bin/machinetype
new file: bin/makefile-darwin.aarch64-x
2020-11-24 17:43:04 -08:00
Abe Jellinek
3db585e2b2
Docker compatibility: makefile and headers ( #17 )
...
* Docker compatibility: makefile and headers
- _GNU_SOURCE required for F_SETSIG
* Remove duplicate makeright.sh script
* Update some includes that don't exist on modern Linux (termio.h); Clang in Docker
has trouble resolving them automatically
2020-10-26 17:54:35 -07:00
Nick Briggs
135d7f65d3
Switch compilation flags for Solaris2 on x86_64 to compile in 64-bit mode rather than 32-bit mode.
...
modified: bin/makefile-sunos5.x86_64-x
2020-10-18 16:33:21 -07:00
Nick Briggs
27d5e44b81
Add makefile fragment for sunos5-x86_64 compilation.
...
new file: bin/makefile-sunos5.x86_64-x
2020-10-18 16:23:52 -07:00
Nick Briggs
1200763831
Update osversion script to recognize Solaris 2.x running on x86_64 hardware.
...
modified: bin/osversion
2020-10-18 16:04:16 -07:00
Nick Briggs
cfc0046675
Rename gc.h to gcdata.h to avoid conflict with Boehm GC system include file, and adjust sources.
...
Remove duplicate external function definitions from gcdata.h
renamed: inc/gc.h -> inc/gcdata.h
modified: src/array2.c
modified: src/array4.c
modified: src/array6.c
modified: src/asmbbt.c
modified: src/asmbitblt.c
modified: src/bbtsub.c
modified: src/car-cdr.c
modified: src/conspage.c
modified: src/fvar.c
modified: src/gc.c
modified: src/gcarray.c
modified: src/gccode.c
modified: src/gcfinal.c
modified: src/gchtfind.c
modified: src/gcmain3.c
modified: src/gcoflow.c
modified: src/gcr.c
modified: src/gcrcell.c
modified: src/gcscan.c
modified: src/gvar2.c
modified: src/initsout.c
modified: src/loopsops.c
modified: src/mkcell.c
modified: src/rplcons.c
modified: src/storage.c
modified: src/xc.c
modified: src/z2.c
2020-09-05 16:39:21 -07:00
Nick Briggs
5c916cffb5
Remove obsoleted include files (replaced by xxxdefs.h files) and adjust dependencies in makefiles
...
modified: bin/makefile-darwin.386-x
modified: bin/makefile-darwin.x86_64-x
modified: bin/makefile-init.386
modified: bin/makefile-sunos5.386-x
modified: bin/makefile-tail
deleted: inc/car-cdr.h
deleted: inc/chardev.h
deleted: inc/conspage.h
deleted: inc/dir.h
deleted: inc/dsk.h
deleted: inc/dspsubrs.h
deleted: inc/llstk.h
deleted: inc/storage.h
deleted: inc/ufs.h
deleted: inc/uraid.h
2020-09-05 12:59:08 -07:00
Nick Briggs
623594fb89
Add LDEARCH environment variable to override config.guess host-triple in bin/machinetype (debug aid)
...
modified: bin/machinetype
2020-08-27 21:40:42 -07:00
Nick Briggs
ee00d0e567
Best to have matching versions of config.sub and config.guess, so update both to current.
...
modified: bin/config.guess
modified: bin/config.sub
2020-08-21 13:07:00 -07:00
Nick Briggs
cd4c59dbb3
Be clear that the code depends on the default char being unsigned.
...
Be clear that the code is not clean for pointer aliasing.
modified: bin/makefile-darwin.386-x
modified: bin/makefile-darwin.x86_64-x
modified: bin/makefile-linux.386-x
modified: bin/makefile-linux.armv7l-x
modified: bin/makefile-linux.x86_64-x
modified: bin/makefile-sunos5.386-x
2020-08-21 12:18:03 -07:00
Gunter Mueller
d07540cbb1
Add support for compiling on Raspberry Pi4 (armv7l architecture) running Linux
...
Author: Gunter Mueller <gunter.mueller@gmail.com>
Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com>
modified: .gitignore
modified: bin/machinetype
new file: bin/makefile-linux.armv7l-x
2020-08-19 13:28:34 -07:00
Nick Briggs
731c5de8da
Update config.guess to modern version which recognizes x86_64 architecture for Darwin (MacOS)
...
Update osversion script to recognize x86_64 triples for Darwin as Darwin
Update machinetype script to return 386 for MacOS El Capitan (10.11), x86_64 for other versions
Add makefile-darwin.x86_64-x for compiling in 64-bit mode on later MacOS versions
modified: config.guess
modified: machinetype
new file: makefile-darwin.x86_64-x
modified: osversion
2020-08-17 14:14:17 -07:00
Nick Briggs
6528ac38e3
Remove proprietary license from all files.
...
The code is being re-licensed under the MIT license.
modified: bin/fixid
modified: bin/launch.asm
modified: bin/makefile-hpux.hp9000-x
modified: bin/makefile-init.sgi
modified: bin/makefile-init.sparc
modified: bin/makefile-init.sparc-multi
modified: bin/makefile-irix.sgi-x
modified: bin/makefile-sunos4.sparc
modified: bin/makefile-sunos4.sparc%
modified: bin/makefile-sunos4.sparc-multi
modified: bin/makefile-sunos5.386-x
modified: bin/makefile-sunos5.i386-x
modified: bin/makefile-sunos5.sparc-x
modified: bin/makefile-tail
modified: bin/makeisc
modified: bin/makeright
modified: inc/Check.h
modified: inc/MyWindow.h
modified: inc/Stipple.h
modified: inc/XCursors.h
modified: inc/XKeymap.h
modified: inc/XVersion.h
modified: inc/Xdeflt.h
modified: inc/Xicon.h
modified: inc/address.h
modified: inc/arith.h
modified: inc/arith2.h
modified: inc/array.h
modified: inc/bb.h
modified: inc/cell.h
modified: inc/cell.h%
modified: inc/copyright
modified: inc/dbprint.h
modified: inc/debug.h
modified: inc/devif.h
modified: inc/display.h
modified: inc/dspdata.h
modified: inc/ether.h
modified: inc/fast_dsp.h
modified: inc/fp.h
modified: inc/gc.h
modified: inc/gc.h.save
modified: inc/gcscan.h
modified: inc/hdw_conf.h
modified: inc/ifpage.h
modified: inc/inlineC.h
modified: inc/inlnMIPS.h
modified: inc/inlnPS2.h
modified: inc/inlndos.h
modified: inc/iopage.h
modified: inc/kbdif.h
modified: inc/keyboard.h
modified: inc/keyboard.h%
modified: inc/keysym.h
modified: inc/ldeXdefs.h
modified: inc/lispemul.h
modified: inc/lispemul.h.save
modified: inc/lispmap.h
modified: inc/lldsp.h
modified: inc/lnk-Xdeflt.h
modified: inc/lnk-debug.h
modified: inc/lnk-fast_dsp.h
modified: inc/lnk-inlineC.h
modified: inc/lnk-lispmap.h
modified: inc/lnk-tosfns.h
modified: inc/lnk-tosret.h
modified: inc/locfile.h
modified: inc/lpdefs.h
modified: inc/lpglobl.h
modified: inc/lspglob.h
modified: inc/lsptypes.h
modified: inc/medleyfp.h
modified: inc/mnxdefs.h
modified: inc/my.h
modified: inc/native.h
modified: inc/ocr.h
modified: inc/osmsg.h
modified: inc/picture.h
modified: inc/pilotbbt.h
modified: inc/print.h
modified: inc/profile.h
modified: inc/rawrs232c.h
modified: inc/return.h
modified: inc/rs232c.h
modified: inc/stack.h
modified: inc/stream.h
modified: inc/stream.h%
modified: inc/stream.h2
modified: inc/sysatms.h
modified: inc/timeout.h
modified: inc/tos1defs.h
modified: inc/tosfns.h
modified: inc/tosret.h
modified: inc/tty.h
modified: inc/version.h
modified: inc/vmemsave.h
modified: inc/xbitmaps.h
modified: inc/xdefs.h
modified: src/Cldeetr.c
modified: src/allocmds.c
modified: src/arith2.c
modified: src/arith3.c
modified: src/arith4.c
modified: src/array.c
modified: src/array2.c
modified: src/array3.c
modified: src/array4.c
modified: src/array5.c
modified: src/array6.c
modified: src/asmbbt.c
modified: src/asmbitblt.c
modified: src/atom.c
modified: src/bbtSPARC.s
modified: src/bbtsub.c
modified: src/bin.c
modified: src/binds.c
modified: src/bitblt.c
modified: src/blt.c
modified: src/byteswap.c
modified: src/call-c.c
modified: src/car-cdr.c
modified: src/cdaudio.c
modified: src/cdrom.c
modified: src/chardev.c
modified: src/chatter.c
modified: src/codeconv.c
modified: src/codetbl.c
modified: src/colorbltfns.c
modified: src/common.c
modified: src/conspage.c
modified: src/cr
modified: src/dbgtool.c
modified: src/dir.c
modified: src/doscomm.c
modified: src/doskbd.c
modified: src/dosmouse.c
modified: src/draw.c
modified: src/dsk.c
modified: src/dspif.c
modified: src/dspsubrs.c
modified: src/ejlisp.c
modified: src/eqf.c
modified: src/ether.c
modified: src/findkey.c
modified: src/foreign.c
modified: src/fp.c
modified: src/fvar.c
modified: src/gc.c
modified: src/gc2.c
modified: src/gcarray.c
modified: src/gccode.c
modified: src/gcfinal.c
modified: src/gchtfind.c
modified: src/gcmain3.c
modified: src/gcoflow.c
modified: src/gcr.c
modified: src/gcrcell.c
modified: src/gcscan.c
modified: src/gvar2.c
modified: src/hacks.c
modified: src/hardrtn.c
modified: src/imagefile.c
modified: src/imagefile2.c
modified: src/inet.c
modified: src/initdsp.c
modified: src/initkbd.c
modified: src/initsout.c
modified: src/intcall.c
modified: src/kbdif.c
modified: src/kbdsubrs.c
modified: src/keyevent.c
modified: src/keylib.c
modified: src/keymaker.c
modified: src/keytst.c
modified: src/keytstno.c
modified: src/kprint.c
modified: src/launch.asm
modified: src/ldeboot.c
modified: src/ldeether.c
modified: src/ldsout.c
modified: src/lineblt8.c
modified: src/lisp2c.c
modified: src/llcolor.c
modified: src/llstk.c
modified: src/loader.c
modified: src/loopsops.c
modified: src/lowlev1.c
modified: src/lowlev2.c
modified: src/lpdual.c
modified: src/lpkit.c
modified: src/lplexyy.c
modified: src/lpmain.c
modified: src/lpread.c
modified: src/lpsolve.c
modified: src/lptran.c
modified: src/lpwrite.c
modified: src/lpytab.c
modified: src/lsthandl.c
modified: src/main.c
modified: src/misc7.c
modified: src/miscn.c
modified: src/mkatom.c
modified: src/mkcell.c
modified: src/mkkey.c
modified: src/mkvdate.c
modified: src/mnwevent.c
modified: src/mnxmeth.c
modified: src/mouseif.c
modified: src/mvs.c
modified: src/ocr.c
modified: src/ocrproc.c
modified: src/oether.c
modified: src/oldeether.c
modified: src/optck.c
modified: src/osmsg.c
modified: src/perrno.c
modified: src/picture.c
modified: src/rawcolor.c
modified: src/rawrs232c.c
modified: src/return.c
modified: src/rpc.c
modified: src/rplcons.c
modified: src/rs232c.c
modified: src/setsout.c
modified: src/shift.c
modified: src/socdvr.c
modified: src/storage.c
modified: src/subr.c
modified: src/subr0374.c
modified: src/sxhash.c
modified: src/testdsp.c
modified: src/testtool.c
modified: src/timeoday.c
modified: src/timeofday.c
modified: src/timer.c
modified: src/truecolor.c
modified: src/tstsout.c
modified: src/tty.c
modified: src/typeof.c
modified: src/ubf1.c
modified: src/ubf2.c
modified: src/ubf3.c
modified: src/ufn.c
modified: src/ufs.c
modified: src/unixcomm.c
modified: src/unixfork.c
modified: src/unwind.c
modified: src/uraid.c
modified: src/usrsubr.c
modified: src/uutils.c
modified: src/vars3.c
modified: src/vesafns.asm
modified: src/vesainit.c
modified: src/vgainit.c
modified: src/vmemsave.c
modified: src/xbbt.c
modified: src/xc.c
modified: src/xc.c.orig
modified: src/xcursor.c
modified: src/xinit.c
modified: src/xlspwin.c
modified: src/xmkicon.c
modified: src/xrdopt.c
modified: src/xscroll.c
modified: src/xwinman.c
modified: src/z2.c
2020-08-11 18:39:45 -07:00
Nick Briggs
9821329ec0
Move SYSVONLY define from version.h to the individual makefiles for Linux
...
Add makefile for Linux on x86_64 platforms
Remove include <stropts.h> for Linux as modern systems have dropped this
Adjust code to account for fcntl() vs ioctl() for generating signals on X I/O
Adjust includes for time related include files for modern Linux systems
modified: bin/makefile-linux.386-x
new file: bin/makefile-linux.x86_64-x
modified: inc/version.h
modified: src/mkvdate.c
modified: src/timer.c
2020-08-03 20:19:02 -07:00
Nick Briggs
79ad101cc1
Update machinetype to recognize x86_64 machines
2020-08-03 19:05:41 -07:00
Nick Briggs
a60e33bc17
Document options required for gcc and Developer Studio 12.6 C compilers
...
set default to "cc" (Studio C compiler) for now.
modified: bin/makefile-sunos5.sparc-x
2020-07-26 20:31:04 -04:00
Nick Briggs
0ced73e7fa
Clean up defines to better match x86 Solaris version where applicable
...
modified: makefile-sunos5.sparc-x
2020-07-11 07:30:57 -07:00
Nick Briggs
2a79b5e782
Turn down the compiler warnings for normal builds on macOS
...
Separate out the DEBUGFLAGS for compilation
Add ldex to the default targets
2020-07-16 20:41:50 -07:00
Nick Briggs
e74ca5795c
Ensure that "cleanup" target removes ldex and ldeether executables as well as lde
...
modified: bin/makefile-tail
2020-07-16 16:43:21 -07:00
Nick Briggs
3d828625df
Remove special assembly optimization that was only applicable to SPARC systems.
...
modified: bin/makefile-sunos5.386-x
2020-07-15 15:01:00 -07:00
Nick Briggs
c11f44d926
Add makefile section for SunOS5 (currently aimed at Solaris 10/11) on generic 386
...
The code compiles, but the emulator is not yet functional
new file: makefile-sunos5.386-x
2020-07-15 14:32:23 -07:00
Nick Briggs
9772948e31
Change default to build 64-bit binaries for compatability with macOS Catalina and forward
...
modified: bin/makefile-darwin.386-x
2020-07-13 19:19:51 -07:00
Nick Briggs
2563b05dc1
Change to default unsigned char for compilation. Possible after previous fixes to GETBYTE et al.
2018-11-15 16:14:24 -08:00
Nick Briggs
8e99402729
Switch to clang as default compiler, show options needed for gcc in comment.
2018-03-27 10:38:12 -07:00
Nick Briggs
a7360fd23d
ensure that object file directories used in the build exist
2018-03-23 13:19:54 -07:00
Nick Briggs
4342f86d50
cleanup should remove both tstsout.o and setsout.o
2018-03-23 13:19:11 -07:00
Nick Briggs
c06ba98144
Create bbtsub.h to declare functions defined in bbtsub.c
...
Update files that depend on bbtsub functions to include bbtsub.h
Declare as static all functions in bbtsub.c that are not needed externally.
Add dependencies to makefile-tail.
new file: ../inc/bbtsub.h
modified: ../src/bbtsub.c
modified: ../src/colorbltfns.c
modified: ../src/draw.c
modified: ../src/misc7.c
modified: ../src/rawcolor.c
modified: ../src/subr.c
2017-07-03 16:29:06 -07:00
Nick Briggs
b6bd2ed29f
Create storage.h to declare functions defined in storage.c
...
Update files that depend on storage functions to include storage.h
Declare as static all functions in storage.c that are not needed externally.
Add dependencies to makefile-tail.
modified: makefile-tail
new file: ../inc/storage.h
modified: ../src/allocmds.c
modified: ../src/gchtfind.c
modified: ../src/llstk.c
modified: ../src/main.c
modified: ../src/storage.c
modified: ../src/subr.c
2017-07-02 21:21:50 -07:00
Nick Briggs
cd437f0fc5
Update dependencies in makefile-tail for chardev.h and dspsubrs.h
2017-06-30 20:37:21 -07:00
Nick Briggs
5d8c90cf18
Fix up for inc/ufs.h.
...
Add return.c external functions to inc/return.h (previously only macros) and update
makefile-tail and relevant files.
modified: makefile-tail
modified: ../inc/return.h
new file: ../inc/ufs.h
modified: ../src/bbtsub.c
modified: ../src/dir.c
modified: ../src/dsk.c
modified: ../src/intcall.c
modified: ../src/subr.c
modified: ../src/ufs.c
modified: ../src/vmemsave.c
modified: ../src/xc.c
2017-06-30 20:10:38 -07:00
Nick Briggs
35b4ad4350
Fix ups for new llstk.h.
...
modified: bin/makefile-darwin.386-x
modified: bin/makefile-tail
new file: inc/llstk.h
modified: src/gcfinal.c
modified: src/hardrtn.c
modified: src/llstk.c
modified: src/uraid.c
modified: src/xc.c
modified: src/xc.c.orig
2017-06-30 17:42:46 -07:00
Nick Briggs
b7b658e8d3
Create dir.h to declare functions defined in dir.c
...
Update files that depend on dir functions to include dir.h
Declare as static all functions in dir.c that are not needed externally.
Add dependencies to makefile-tail.
modified: bin/makefile-tail
new file: inc/dir.h
modified: src/dir.c
modified: src/dsk.c
modified: src/main.c
modified: src/subr.c
modified: src/vmemsave.c
2017-06-30 15:48:18 -07:00
Nick Briggs
730ff30b86
Create unixfork.h to declare functions defined in unixfork.c
...
Update files that depend on unixfork functions to include unixfork.h
Declare as static all functions in unixfork.c that are not needed externally.
Add dependencies to makefile-tail.
modified: makefile-tail
new file: ../inc/unixfork.h
modified: ../src/ldeboot.c
modified: ../src/main.c
modified: ../src/unixfork.c
2017-06-30 15:10:52 -07:00