Chris Hanson [Sun, 1 Aug 1993 00:16:08 +0000 (00:16 +0000)]
Change KEYBOARD-READ, KEYBOARD-PEEK, and KEYBOARD-PEEK-NO-HANG to
intercept "update" and "resize" events and to handle them rather than
returning them. Other events with potentially troublesome actions are
returned as before. Additionally, several places where input events
were discarded have been fixed -- input events must ALWAYS be handled.
Chris Hanson [Sat, 31 Jul 1993 03:34:12 +0000 (03:34 +0000)]
Make WORKING-DIRECTORY-PATHNAME and *DEFAULT-PATHNAME-DEFAULTS* be
different for each CMDL. Change SET-WORKING-DIRECTORY-PATHNAME! so
that it only changes the working directory of the Scheme process if
the CMDL is the initial top-level REPL.
The end result of these changes is to make the working directory of an
Edwin inferior REPL buffer be independent of the global working
directory.
Chris Hanson [Sat, 31 Jul 1993 03:11:56 +0000 (03:11 +0000)]
Make WORKING-DIRECTORY-PATHNAME and *DEFAULT-PATHNAME-DEFAULTS* be
different for each CMDL. Change SET-WORKING-DIRECTORY-PATHNAME! so
that it only changes the working directory of the Scheme process if
the CMDL is the initial top-level REPL.
The end result of these changes is to make the working directory of an
Edwin inferior REPL buffer be independent of the global working
directory.
Chris Hanson [Fri, 30 Jul 1993 21:11:15 +0000 (21:11 +0000)]
Most uses of CURRENT-REPL-BUFFER should not signal an error if there
is no such buffer.
Guillermo J. Rozas [Fri, 30 Jul 1993 06:26:13 +0000 (06:26 +0000)]
File-attributes fails (returns #f) on `..' in CD file systems.
Accommodate.
Guillermo J. Rozas [Fri, 30 Jul 1993 06:23:56 +0000 (06:23 +0000)]
Remove check to verify that the first entry of a directory is a
subdirectory. Root directories on FAT volumes do not have `.' and
`..' entries, so this is not guaranteed to be the case.
Guillermo J. Rozas [Fri, 30 Jul 1993 06:20:17 +0000 (06:20 +0000)]
Fix line-wrapping. It dropped characters and did not invalidate
correctly.
Guillermo J. Rozas [Thu, 29 Jul 1993 07:11:02 +0000 (07:11 +0000)]
Trampoline headers have a different tag so the profiler can
distinguish them from ordinary cc blocks.
Guillermo J. Rozas [Thu, 29 Jul 1993 07:02:52 +0000 (07:02 +0000)]
Generalize hook/builtin information for use by trap recovery and PC
sampling.
Guillermo J. Rozas [Thu, 29 Jul 1993 00:01:20 +0000 (00:01 +0000)]
Add a larger set of capabilities, supported by the ANSI emulator built
into the Scheme microcode under Windows NT.
Guillermo J. Rozas [Wed, 28 Jul 1993 20:29:07 +0000 (20:29 +0000)]
Improve Edwin redisplay speed by avoiding repeated calls to
InvalidateRect when painting, and by adding insert/delete line
capabilities.
Guillermo J. Rozas [Wed, 28 Jul 1993 20:28:14 +0000 (20:28 +0000)]
Eliminate spurious 0-length write messages.
Chris Hanson [Wed, 28 Jul 1993 03:42:14 +0000 (03:42 +0000)]
New procedure COMPILED-CODE-BLOCK/FILENAME.
Guillermo J. Rozas [Tue, 27 Jul 1993 21:27:42 +0000 (21:27 +0000)]
NT changes:
- Abstract functionality not available in Win32s so it can be provided
in a DLL.
- Remove some fossil DOS code from ntsig.c.
- ntscreen.c can now emulate an ansi.sys terminal.
Guillermo J. Rozas [Tue, 27 Jul 1993 21:08:28 +0000 (21:08 +0000)]
NT changes:
- Abstract functionality not available in Win32s so it can be provided
in a DLL.
- Remove some fossil DOS code from ntsig.c.
- ntscreen.c can now emulate an ansi.sys terminal.
Guillermo J. Rozas [Tue, 27 Jul 1993 21:00:55 +0000 (21:00 +0000)]
NT changes:
- Abstract functionality not available in Win32s so it can be provided
in a DLL.
- Remove some fossil DOS code from ntsig.c.
- ntscreen.c can now emulate an ansi.sys terminal.
Guillermo J. Rozas [Tue, 27 Jul 1993 20:56:07 +0000 (20:56 +0000)]
Initial revision
Guillermo J. Rozas [Tue, 27 Jul 1993 17:47:34 +0000 (17:47 +0000)]
Fix bug. The val register was not preserved around flonum calls.
(flo:+ (flo:sin x) (flo:expt x y))
was failing because the result of flo:expt (close-coded) was left in
val around the call to sin, and the stub (and C code, potentially)
were clobbering it.
Chris Hanson [Tue, 27 Jul 1993 00:46:44 +0000 (00:46 +0000)]
Add new procedure ALLOW-THREAD-EVENT-DELIVERY.
Chris Hanson [Tue, 27 Jul 1993 00:46:19 +0000 (00:46 +0000)]
Don't allocate a new result vector to pass to SELECT-REGISTRY-TEST
each time that it is called. Instead, maintain a pool of these
vectors and pick one from the pool if it's available.
Nick Papadakis [Fri, 23 Jul 1993 20:06:58 +0000 (20:06 +0000)]
Added FLOATING_VECTOR_ARG to support vectors of double floats
Added FFI stuf to ymake.lcl for 700's
Nick Papadakis [Fri, 23 Jul 1993 19:43:45 +0000 (19:43 +0000)]
Added FLOATING_VECTOR_ARG to support vectors of double floats
Chris Hanson [Thu, 22 Jul 1993 21:06:43 +0000 (21:06 +0000)]
Change corresponding to most recent change to "tterm.scm".
Chris Hanson [Thu, 22 Jul 1993 19:45:42 +0000 (19:45 +0000)]
"gzip" now uses ".gz" suffix instead of ".z"; make corresponding
changes to Edwin.
Chris Hanson [Thu, 22 Jul 1993 19:12:26 +0000 (19:12 +0000)]
"gzip" now uses ".gz" suffix instead of ".z"; make corresponding
changes to Edwin.
Guillermo J. Rozas [Wed, 21 Jul 1993 06:02:28 +0000 (06:02 +0000)]
Fix wrong syscall name.
Guillermo J. Rozas [Wed, 21 Jul 1993 04:43:46 +0000 (04:43 +0000)]
Changes to make terminal-based Edwin work.
Guillermo J. Rozas [Wed, 21 Jul 1993 00:42:36 +0000 (00:42 +0000)]
Use GUI interface, and not console interface.
Guillermo J. Rozas [Tue, 20 Jul 1993 00:52:26 +0000 (00:52 +0000)]
Update to match new RTL syntax, and add floating-point vector support.
Chris Hanson [Mon, 19 Jul 1993 21:06:48 +0000 (21:06 +0000)]
When drawing cursor on highlighted text, and the cursor color is the
same as the foreground color, invert the cursor so that it appears
different from the highlighting.
Guillermo J. Rozas [Sun, 18 Jul 1993 22:25:57 +0000 (22:25 +0000)]
Allow DOS and NT to share bands.
Guillermo J. Rozas [Sun, 18 Jul 1993 21:24:52 +0000 (21:24 +0000)]
Update unconfig.
Guillermo J. Rozas [Sun, 18 Jul 1993 20:31:17 +0000 (20:31 +0000)]
Initial revision
Guillermo J. Rozas [Sun, 18 Jul 1993 20:30:44 +0000 (20:30 +0000)]
Copy setup.bat out of ntutl.
Guillermo J. Rozas [Sun, 18 Jul 1993 20:26:48 +0000 (20:26 +0000)]
The WINNT compilers do not pre-define __STDC__.
Guillermo J. Rozas [Sun, 18 Jul 1993 20:26:08 +0000 (20:26 +0000)]
Add missing semi-colon.
Chris Hanson [Sat, 17 Jul 1993 05:07:46 +0000 (05:07 +0000)]
Eliminate #undef's for sony that aren't needed now and cause warnings.
Guillermo J. Rozas [Sat, 17 Jul 1993 04:59:41 +0000 (04:59 +0000)]
Fix yet another register allocation bug in division.
Guillermo J. Rozas [Sat, 17 Jul 1993 03:37:05 +0000 (03:37 +0000)]
Integer divide by zero was not being signalled correctly.
Guillermo J. Rozas [Fri, 16 Jul 1993 20:56:45 +0000 (20:56 +0000)]
Set up an appropriate interrupt mask for the DOS high-priority
interrupt.
Guillermo J. Rozas [Fri, 16 Jul 1993 19:59:07 +0000 (19:59 +0000)]
Kludge to make defaulting of directory work under DOS (and NT?).
Guillermo J. Rozas [Fri, 16 Jul 1993 19:27:58 +0000 (19:27 +0000)]
Update back end to reflect changes to the RTL and to handle
floating-point vectors.
Guillermo J. Rozas [Fri, 16 Jul 1993 19:20:22 +0000 (19:20 +0000)]
Make read-event work on systems without select.
Guillermo J. Rozas [Fri, 16 Jul 1993 18:55:35 +0000 (18:55 +0000)]
Update the copyright.
Guillermo J. Rozas [Fri, 16 Jul 1993 06:33:12 +0000 (06:33 +0000)]
Add new dummy predicates needed by the rest of edwin.
Guillermo J. Rozas [Fri, 9 Jul 1993 00:15:16 +0000 (00:15 +0000)]
Fix a bug in closure bumping. The code was written in a hybrid of
locative-level rtl and "real" rtl.
Guillermo J. Rozas [Thu, 8 Jul 1993 21:56:26 +0000 (21:56 +0000)]
Fix bug in last edit. I used rtl:make-offset instead of
rtl:locative-offset.
Guillermo J. Rozas [Thu, 8 Jul 1993 01:06:53 +0000 (01:06 +0000)]
Fix lurking bug found in the 386 back end.
Guillermo J. Rozas [Wed, 7 Jul 1993 20:44:44 +0000 (20:44 +0000)]
Improve disassembler output of compiled code blocks.
Guillermo J. Rozas [Wed, 7 Jul 1993 20:44:36 +0000 (20:44 +0000)]
Export rtl:bump-closure.
Guillermo J. Rozas [Wed, 7 Jul 1993 20:38:46 +0000 (20:38 +0000)]
Improve disassembler output of compiled code blocks.
Guillermo J. Rozas [Wed, 7 Jul 1993 20:01:39 +0000 (20:01 +0000)]
Don't use select-registry primitives unless the operating system
supports the `select' system Call.
Guillermo J. Rozas [Wed, 7 Jul 1993 19:21:26 +0000 (19:21 +0000)]
Fix bug with unexpected constants appearing in the middle of
expressions.
Guillermo J. Rozas [Wed, 7 Jul 1993 05:46:49 +0000 (05:46 +0000)]
Missing arg list.
Chris Hanson [Wed, 7 Jul 1993 03:20:00 +0000 (03:20 +0000)]
Fix typo in definition of MAKE-POLAR.
Chris Hanson [Tue, 6 Jul 1993 20:35:48 +0000 (20:35 +0000)]
Try not to clear the message unnecessarily when processing input
events.
Guillermo J. Rozas [Tue, 6 Jul 1993 03:58:25 +0000 (03:58 +0000)]
Fix an out-of-range error because the @PCRXS addressing mode has a
limited range.
Guillermo J. Rozas [Tue, 6 Jul 1993 00:56:32 +0000 (00:56 +0000)]
- Update to match change in RTL introduced to improve array indexing.
- Add floating-vector support.
- Add top-level code compression support.
Guillermo J. Rozas [Sat, 3 Jul 1993 16:28:10 +0000 (16:28 +0000)]
Write block description more clearly.
Guillermo J. Rozas [Sat, 3 Jul 1993 08:34:51 +0000 (08:34 +0000)]
Update a use of rtl:make-offset that I missed in the last set of
edits.
Guillermo J. Rozas [Fri, 2 Jul 1993 01:56:43 +0000 (01:56 +0000)]
bit-string-andc-bang cannot be integrated where it is used.
Fix the heuristic for detection of external labels and pc-relative
addressing.
Chris Hanson [Thu, 1 Jul 1993 23:08:04 +0000 (23:08 +0000)]
Reimplement `thread-dead?' because Edwin needs it.
Guillermo J. Rozas [Thu, 1 Jul 1993 22:52:20 +0000 (22:52 +0000)]
Addressing-granularity means something different.
Chris Hanson [Thu, 1 Jul 1993 22:29:59 +0000 (22:29 +0000)]
Change interfaces of OS_real_time_clock and OS_process_clock to return
double instead of clock_t. This combined with changes in the
implementations of these procedures should prevent wraparound of these
clocks.
Chris Hanson [Thu, 1 Jul 1993 22:19:24 +0000 (22:19 +0000)]
Added mechanism to stop threads and restart them. When a
derived-thread error is signalled, the signalling thread stops itself
to allow debugging to occur. The debugger recognizes such stopped
threads and restarts them appropriately when the user requests a
continuation.
Also changed the handling of the thread timer to vary the period of
the timer in cases where the next desired timer event is longer than
the default timer interval.
Guillermo J. Rozas [Thu, 1 Jul 1993 21:49:02 +0000 (21:49 +0000)]
Fix typo in last edit.
Guillermo J. Rozas [Thu, 1 Jul 1993 21:48:35 +0000 (21:48 +0000)]
Fix typo in last edit.
Guillermo J. Rozas [Thu, 1 Jul 1993 21:47:28 +0000 (21:47 +0000)]
Compute addressing-granularity rather than default to 4.
Guillermo J. Rozas [Thu, 1 Jul 1993 07:48:28 +0000 (07:48 +0000)]
Fix a register allocator bug in float-load/offset, and add yet another
floating-point pattern.
Guillermo J. Rozas [Thu, 1 Jul 1993 06:51:22 +0000 (06:51 +0000)]
Changes to support better array indexing.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:30:28 +0000 (03:30 +0000)]
Add rewrite rule for instances of byte-offset-address used for closure
bumping.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:29:15 +0000 (03:29 +0000)]
Reflect changes to OFFSET and friends.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:28:05 +0000 (03:28 +0000)]
Handle some more cases.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:27:12 +0000 (03:27 +0000)]
rtl offsets have changed.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:26:29 +0000 (03:26 +0000)]
Add open coding for
floating-vector primitives
vector-cons-style primitives
flonum-atan2
Guillermo J. Rozas [Thu, 1 Jul 1993 03:25:52 +0000 (03:25 +0000)]
Diddle with locatives to allow index addressing modes.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:24:59 +0000 (03:24 +0000)]
Fix a common float reference.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:24:33 +0000 (03:24 +0000)]
Add floating-point vector support, and support for trig and friends.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:24:03 +0000 (03:24 +0000)]
Add handlers for a few common cases.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:23:35 +0000 (03:23 +0000)]
Improve primitive calling code.
Handle allocation primitives.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:22:47 +0000 (03:22 +0000)]
Update rules to handle new OFFSET and friends RTL addressing modes.
Add improved generation of common patterns.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:21:22 +0000 (03:21 +0000)]
Add handlers for string-allocate, vector-cons, and
floating-vector-cons.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:16:40 +0000 (03:16 +0000)]
More primitives are handled.
Redo floating-point sizing.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:14:14 +0000 (03:14 +0000)]
Teach the peephole optimizer to handle DEPI, and friends, and some
FLOPs.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:13:42 +0000 (03:13 +0000)]
Add new hooks (invoke-primitive, allocation and flonum primitives).
Reorder registers so priority is given to the C callee saves
registers.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:12:19 +0000 (03:12 +0000)]
Add compiler:assume-safe-fixnums?
Guillermo J. Rozas [Thu, 1 Jul 1993 03:11:07 +0000 (03:11 +0000)]
New array indexing code.
Open coding of floating-point vector operations.
Special handling of string-allocate, vector-cons, and floating-vector-cons.
Special handling of flo:sin, etc. on the Snakes.
Better primitive calling on the Snakes.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:09:43 +0000 (03:09 +0000)]
Fix bug in rtl-common which introduced a bound-variable conflict if a
slot has the same as the item being defined.
Guillermo J. Rozas [Thu, 1 Jul 1993 03:06:27 +0000 (03:06 +0000)]
Fix bug in load-machine-register!: If machine-register is a
floating-point register, it is not OK to ask for any alias.
Guillermo J. Rozas [Thu, 1 Jul 1993 00:24:28 +0000 (00:24 +0000)]
Allow disload to load into a compiler-less image.
Guillermo J. Rozas [Thu, 1 Jul 1993 00:15:44 +0000 (00:15 +0000)]
Pretty up the output.
Guillermo J. Rozas [Wed, 30 Jun 1993 23:58:12 +0000 (23:58 +0000)]
Initial revision
Guillermo J. Rozas [Wed, 30 Jun 1993 21:39:32 +0000 (21:39 +0000)]
Make check-stage more tolerant of missing files.
Guillermo J. Rozas [Wed, 30 Jun 1993 03:35:47 +0000 (03:35 +0000)]
Add hooks for faster primitive invocation, faster allocation of
vectors, strings, and floating-point vectors, and for non-boxing
flonum operations.
Chris Hanson [Tue, 29 Jun 1993 23:22:52 +0000 (23:22 +0000)]
Eliminate unnecessary declaration.
Chris Hanson [Tue, 29 Jun 1993 23:22:30 +0000 (23:22 +0000)]
Rename global-2 interrupt bit to after-gc, and add new mask timer-ok.
Chris Hanson [Tue, 29 Jun 1993 23:12:54 +0000 (23:12 +0000)]
Change *.touch to *.tch in "clean" rule.
Chris Hanson [Tue, 29 Jun 1993 22:58:21 +0000 (22:58 +0000)]
This runtime system requires microcode version 11.133 or later.
Implement a new interrupt that is signalled after each GC and which
runs at roughly the same priority as character interrupts. All GC
daemons, with the exception of the object hash daemon, run in this
interrupt handler rather than during the GC proper. This allows GC
daemons to allocate storage and prevents GC daemons from running
during critical sections.
Chris Hanson [Tue, 29 Jun 1993 22:53:56 +0000 (22:53 +0000)]
Redefine the GLOBAL-2 interrupt bit to be the interrupt that is
signalled after each GC.
Change the interrupt code to allow the runtime system to specify what
interrupt mask should be installed immediately before an interrupt
handler is invoked. This allows the runtime system to override the
simple prioritized masking being performed by the microcode.
Guillermo J. Rozas [Tue, 29 Jun 1993 22:29:10 +0000 (22:29 +0000)]
Disable some primitives until the back end learns how to handle them.