Stephen Adams [Fri, 13 Jan 1995 21:48:54 +0000 (21:48 +0000)]
If an arity-dispatched-procedure has a named compiled procedure as the
default then this procedure's name is used in printing the #[..] object.
Stephen Adams [Fri, 13 Jan 1995 18:39:16 +0000 (18:39 +0000)]
Added pretty printer method for CASE which works like this:
(case will-fit-on-line
clause
clause)
or
(case
wont-fit-on-line
clause
clause)
ssmith [Thu, 12 Jan 1995 22:39:50 +0000 (22:39 +0000)]
Fixed bug: editted target-register so that it always calls allocate-alias-
register. If it is not called, then any assigns to machine registers will
not "lock" the register. This was a problem when the procedure would assign
the return value and then use the same register to compute where to go next.
ssmith [Thu, 12 Jan 1995 19:51:19 +0000 (19:51 +0000)]
Fixed bug in invocations: It jmped to the address at the memory location
pointed to by the register, instead of jumping to the address pointed to by the
register.
ssmith [Thu, 12 Jan 1995 19:42:02 +0000 (19:42 +0000)]
Made fixes. Still doesn't handle addressing forms.
ssmith [Thu, 12 Jan 1995 17:29:24 +0000 (17:29 +0000)]
One missing close-paren...
ssmith [Thu, 12 Jan 1995 17:24:26 +0000 (17:24 +0000)]
Added Pentium timing procedure.
Stephen Adams [Thu, 12 Jan 1995 17:24:07 +0000 (17:24 +0000)]
Entities used to inplement arity-dispatched-procedures print out
slighty differently.
Stephen Adams [Thu, 12 Jan 1995 17:02:26 +0000 (17:02 +0000)]
Added the predicate ARITY-DISPATCHED-PROCEDURE?, which is true for
certain kinds of ENTITY.
ssmith [Thu, 12 Jan 1995 16:34:48 +0000 (16:34 +0000)]
More bug fixes: Incorrect function names, bad pattern for lea.
ssmith [Thu, 12 Jan 1995 16:28:23 +0000 (16:28 +0000)]
Fixed a bug in referencing instruction part of the pattern. Also added
patterns for non-code items, such as comment, etc...
ssmith [Thu, 12 Jan 1995 16:22:32 +0000 (16:22 +0000)]
Stupid bug in call (car) of procedure get-instruction-info.
ssmith [Thu, 12 Jan 1995 16:16:21 +0000 (16:16 +0000)]
Added clock timing. Still needs much work.
ssmith [Thu, 12 Jan 1995 15:33:07 +0000 (15:33 +0000)]
Made it print instructions so I can learn what linear-lap looks like.
ssmith [Thu, 12 Jan 1995 14:45:48 +0000 (14:45 +0000)]
Fixed assumption that raw continuation is 4 bytes after one left on stack.
ssmith [Wed, 11 Jan 1995 22:14:41 +0000 (22:14 +0000)]
Added internal-closure-code-word.
ssmith [Wed, 11 Jan 1995 22:09:38 +0000 (22:09 +0000)]
Copied CLOSURE and EXPRESSION rules verbatim.
ssmith [Wed, 11 Jan 1995 22:02:45 +0000 (22:02 +0000)]
Fixed missing close-paren.
ssmith [Wed, 11 Jan 1995 21:58:54 +0000 (21:58 +0000)]
Added invocations.
ssmith [Wed, 11 Jan 1995 21:09:46 +0000 (21:09 +0000)]
Added standard-source!. Also added comment on *privilege-level*
ssmith [Wed, 11 Jan 1995 20:53:51 +0000 (20:53 +0000)]
Added COERCE-VALUE-CLASS rules. Copied verbatim from Spectrum without
understanding their purpose or function.
ssmith [Wed, 11 Jan 1995 20:42:52 +0000 (20:42 +0000)]
Added rules for interrupt-check'ing. Also added privilege-level to lapgen.scm.
ssmith [Wed, 11 Jan 1995 20:42:06 +0000 (20:42 +0000)]
Added *privilege-level*
ssmith [Wed, 11 Jan 1995 20:25:23 +0000 (20:25 +0000)]
Added the hook register (eax) so invoke-hook calls in rules3 can use it instead
of hard coding EAX.
ssmith [Wed, 11 Jan 1995 16:24:26 +0000 (16:24 +0000)]
Added trivial closures -- copied from Spectrum's.
ssmith [Tue, 10 Jan 1995 23:15:57 +0000 (23:15 +0000)]
Added max-type-code and machine/cont-adjustment -- copied verbatim from the
Spectrum's machin.scm.
ssmith [Tue, 10 Jan 1995 21:55:11 +0000 (21:55 +0000)]
Added *rtlgen/argument-registers* to be ecx and edx.
Stephen Adams [Tue, 10 Jan 1995 21:48:43 +0000 (21:48 +0000)]
Initial revision
Stephen Adams [Tue, 10 Jan 1995 20:53:08 +0000 (20:53 +0000)]
Initial revision
Chris Hanson [Tue, 10 Jan 1995 20:38:15 +0000 (20:38 +0000)]
Add new directives INCLUDE and EXTEND-PACKAGE.
Stephen Adams [Tue, 10 Jan 1995 02:46:27 +0000 (02:46 +0000)]
Removed `Missing debugging info' message as it was irritating people.
Chris Hanson [Sat, 7 Jan 1995 00:29:42 +0000 (00:29 +0000)]
Change 4-character filename suffixes to 3-character.
Chris Hanson [Fri, 6 Jan 1995 23:58:17 +0000 (23:58 +0000)]
Don't enable interrupts which currently have no handlers.
Chris Hanson [Fri, 6 Jan 1995 23:54:53 +0000 (23:54 +0000)]
Don't enable interrupts which currently have no handlers.
Chris Hanson [Fri, 6 Jan 1995 22:15:45 +0000 (22:15 +0000)]
Eliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 22:14:29 +0000 (22:14 +0000)]
Eliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 22:12:13 +0000 (22:12 +0000)]
Eliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 21:58:40 +0000 (21:58 +0000)]
Signal error when attempting to read non-existant directory.
Chris Hanson [Fri, 6 Jan 1995 20:52:39 +0000 (20:52 +0000)]
Update to reflect change to runtime system.
Chris Hanson [Fri, 6 Jan 1995 20:51:57 +0000 (20:51 +0000)]
Use LOAD-OPTION to load CREF.
Chris Hanson [Fri, 6 Jan 1995 20:39:20 +0000 (20:39 +0000)]
Change \\ to / in file specification so that unix systems won't get
confused.
Chris Hanson [Fri, 6 Jan 1995 20:37:18 +0000 (20:37 +0000)]
Fix typos from last change.
Chris Hanson [Fri, 6 Jan 1995 20:28:31 +0000 (20:28 +0000)]
Add definition for OS2WIN-SET-MIX.
Chris Hanson [Fri, 6 Jan 1995 19:29:58 +0000 (19:29 +0000)]
Use explicit reference to SYSTEM-GLOBAL-ENVIRONMENT rather than #F in
top-level IN-PACKAGE.
Chris Hanson [Fri, 6 Jan 1995 19:25:59 +0000 (19:25 +0000)]
Change 4-character suffixes used by package system to be 3-character
suffixes. This is done by defaulting the output file on the call to
SF, which now generates the correct 3-character suffix.
Chris Hanson [Fri, 6 Jan 1995 19:18:39 +0000 (19:18 +0000)]
Merge in #F/() bug fix from split code.
Chris Hanson [Fri, 6 Jan 1995 18:44:17 +0000 (18:44 +0000)]
Change 4-character suffixes used by package system to be 3-character
suffixes. This is done by defaulting the output file on the call to
SF, which now generates the correct 3-character suffix.
Chris Hanson [Fri, 6 Jan 1995 18:38:47 +0000 (18:38 +0000)]
Change 4-character suffixes used by package system to be 3-character
suffixes. This is done by defaulting the output file on the call to
SF, which now generates the correct 3-character suffix.
Chris Hanson [Fri, 6 Jan 1995 18:36:33 +0000 (18:36 +0000)]
Change default output file name to be limited to a three character
suffix.
Chris Hanson [Fri, 6 Jan 1995 17:50:54 +0000 (17:50 +0000)]
Simplify interface to OS/2 API by moving all definitions to one file:
"os2api.h". By means of some trickery, this eliminates the OS/2
dependencies in "syscall.h". Additionally, add definitions to allow
preallocation of the heap's memory (which is temporarily disabled due
to problems it causes during debugging).
Chris Hanson [Fri, 6 Jan 1995 17:47:23 +0000 (17:47 +0000)]
Fix problem with init-file loading: if the init file deletes the
initial buffer or sets an inhibition flag, don't start the inferior
REPL.
Chris Hanson [Fri, 6 Jan 1995 17:47:09 +0000 (17:47 +0000)]
Fix problem with init-file loading: if the init file deletes the
initial buffer or sets an inhibition flag, don't start the inferior
REPL.
Chris Hanson [Fri, 6 Jan 1995 17:42:11 +0000 (17:42 +0000)]
Simplify interface to OS/2 API by moving all definitions to one file:
"os2api.h". By means of some trickery, this eliminates the OS/2
dependencies in "syscall.h". Additionally, add definitions to allow
preallocation of the heap's memory (which is temporarily disabled due
to problems it causes during debugging).
Chris Hanson [Fri, 6 Jan 1995 17:39:39 +0000 (17:39 +0000)]
Under OS/2, guarantee that correct number of type bits is used.
Chris Hanson [Fri, 6 Jan 1995 01:14:58 +0000 (01:14 +0000)]
Add OS conditionalizations so that OS/2 can be supported.
Chris Hanson [Fri, 6 Jan 1995 01:14:37 +0000 (01:14 +0000)]
Add OS conditionalizations so that OS/2 can be supported. Change
subprocess I/O to use input and output buffers so that end-of-line
translation can be handled automatically by the runtime system.
Chris Hanson [Fri, 6 Jan 1995 01:12:44 +0000 (01:12 +0000)]
Change to use runtime system's "os2winp" support. Change
corresponding to microcode which now supports multiple event queues
for windows. Add subprocess support. Reimplement management of state
so that windows are closed down properly when the editor is killed.
Change code that "controlifies" input characters -- previously it was
not doing this correctly. Change handling of paint events to clear
the region being painted before drawing in it -- previously the
microcode took care of this, but it no longer does so.
Chris Hanson [Fri, 6 Jan 1995 01:08:47 +0000 (01:08 +0000)]
Implement OS-specific part of subprocess support.
Chris Hanson [Fri, 6 Jan 1995 01:08:00 +0000 (01:08 +0000)]
Extend M-x count-lines to show the number of characters in the region
as well as the number of lines.
Chris Hanson [Fri, 6 Jan 1995 01:07:23 +0000 (01:07 +0000)]
Change text-mode translation to be done during buffer read or write by
means of the input/output-buffer abstractions in the runtime system.
This is MUCH faster than the mechanism previously implemented here.
Chris Hanson [Fri, 6 Jan 1995 01:06:09 +0000 (01:06 +0000)]
Don't signal an error if a file has a "find-file initialization" that
specifies an non-existent environment or syntax table. Instead, just
print a warning message and set the environment to the default.
Chris Hanson [Fri, 6 Jan 1995 01:04:45 +0000 (01:04 +0000)]
Change to use new CREF OS-conditionalization expression, so that this
file can be shared between unix, OS/2, DOS, and Windows without
editing. Also add changes for OS/2 subprocess support.
Chris Hanson [Fri, 6 Jan 1995 01:03:24 +0000 (01:03 +0000)]
Change to load subprocess support for OS/2 as well as unix.
Chris Hanson [Fri, 6 Jan 1995 01:02:39 +0000 (01:02 +0000)]
Don't allow the mouse to select the typein window if it is inactive.
Chris Hanson [Fri, 6 Jan 1995 01:01:50 +0000 (01:01 +0000)]
Change loading of editor init file so that it is performed before
starting the inferior REPL. Also do not temporarily change the
current buffer to a dummy buffer during this load.
Chris Hanson [Fri, 6 Jan 1995 00:59:18 +0000 (00:59 +0000)]
FIND-PROGRAM is now operating-system specific.
Chris Hanson [Fri, 6 Jan 1995 00:58:04 +0000 (00:58 +0000)]
Generalize code that finds the extent of a partial filename that is to
be subject to completion. The generalization allows an operating
system specific parsing method.
Chris Hanson [Fri, 6 Jan 1995 00:50:16 +0000 (00:50 +0000)]
Initial revision
Chris Hanson [Fri, 6 Jan 1995 00:49:43 +0000 (00:49 +0000)]
Implement COLOR? predicate to determine if a given graphics window
supports color.
Chris Hanson [Fri, 6 Jan 1995 00:49:03 +0000 (00:49 +0000)]
Add OS/2 graphics. Conditionalize loading of other graphics support
so that only the support needed for the operating system is loaded.
Thus, unix systems won't load OS/2 graphics, and OS/2 systems won't
load X graphics.
Chris Hanson [Fri, 6 Jan 1995 00:47:24 +0000 (00:47 +0000)]
Fix OS/2 directory sorting algorithm to be normal alphabetic sorting
on the FILE-NAMESTRING.
Chris Hanson [Fri, 6 Jan 1995 00:46:30 +0000 (00:46 +0000)]
Console no longer does line translation, so writes to console must be
conditionalized by OS to use the correct end-of-line sequence.
Also, add initialization for OS/2 graphics.
Chris Hanson [Fri, 6 Jan 1995 00:44:47 +0000 (00:44 +0000)]
Change MAKE-INPUT-BUFFER and MAKE-OUTPUT-BUFFER to default to text
mode rather than binary mode. Ports that do not specify the mode
usually want text mode. Unfortunately, the DOS/NT microcode believes
that the console is special -- the console microcode performs line
translation directly on those systems -- and this must be changed now.
Chris Hanson [Fri, 6 Jan 1995 00:40:35 +0000 (00:40 +0000)]
Add new files for OS/2 graphics.
Chris Hanson [Fri, 6 Jan 1995 00:39:50 +0000 (00:39 +0000)]
Add OS-specific definitions for EOL and EOF markers.
Chris Hanson [Fri, 6 Jan 1995 00:14:12 +0000 (00:14 +0000)]
Don't look for old files with 4-character suffixes; this will just
make bringing up the DOS version more difficult.
Chris Hanson [Fri, 6 Jan 1995 00:02:45 +0000 (00:02 +0000)]
Initial revision
Chris Hanson [Fri, 6 Jan 1995 00:02:36 +0000 (00:02 +0000)]
Set the NOINHERIT bit in all channels, so that the handles associated
with those channels will not be inherited by subprocesses. The
subprocess support will disable the bit in those channels that want to
be inherited.
Chris Hanson [Fri, 6 Jan 1995 00:01:28 +0000 (00:01 +0000)]
Fix some timing errors associated with opening the console window.
Chris Hanson [Fri, 6 Jan 1995 00:00:35 +0000 (00:00 +0000)]
Change all coordinate variables from "unsigned short" to "short".
Implement operations needed to draw lines and points in windows, to
determine the capabilities of the display, and to change the title bar
of a window. Extend the window-opening procedure to allow the window
style to be specified. Change PM primitives to allow multiple event
queues, so that messages for graphics windows can be kept separate
from messages for Edwin windows.
Chris Hanson [Thu, 5 Jan 1995 23:54:48 +0000 (23:54 +0000)]
Add mechanism to "unread" messages back to the head of a message
queue. Add mechanism to get the other end of a qid pair. Eliminate
logic error that was being generated when sending a message to a qid
whose other end had been closed (now we just discard the message).
Reimplement message queues to NOT use the OS/2 queue abstraction --
apparently these queues use quite alot of memory and I recently ran
into a situation in which the memory was exhausted, which caused
Scheme to die. Now, the memory needed for the queues is taken from
the Scheme process's virtual memory.
Chris Hanson [Thu, 5 Jan 1995 23:50:00 +0000 (23:50 +0000)]
Add messages for graphics and subprocess support. Also add new
mechanism for "unreading" messages from a message queue.
Chris Hanson [Thu, 5 Jan 1995 23:48:27 +0000 (23:48 +0000)]
IBM's OS/2 C runtime library doesn't have `environ' -- instead it has
`_environ', which is equivalent -- so add a conditionalized
definition.
Chris Hanson [Thu, 5 Jan 1995 23:47:02 +0000 (23:47 +0000)]
Add subprocess changes to "select" support.
Chris Hanson [Thu, 5 Jan 1995 23:45:59 +0000 (23:45 +0000)]
Implement DRIVE-TYPE primitive, which is used to distinguish between
FAT and HPFS file systems where needed. Also, change the appearance
of the "mode string" returned by the FILE-INFO primitive.
Chris Hanson [Thu, 5 Jan 1995 23:43:32 +0000 (23:43 +0000)]
Change implementation of readahead in input channels that require it.
Readahead is now buffered in the input queue by means of a new
operation to push a message back onto the head of the queue. Also,
there is now a mechanism to delay starting the readahead thread until
the first read occurs on the channel -- this is used for input pipes
that are passed to child processes and never read from the Scheme end.
It's important that such pipes not be read from.
Chris Hanson [Thu, 5 Jan 1995 23:39:57 +0000 (23:39 +0000)]
Console must not perform newline translation -- that will be done by
runtime system. Implement changes so that console works correctly
with "translated" input and output.
Chris Hanson [Thu, 5 Jan 1995 23:38:01 +0000 (23:38 +0000)]
Add new system calls needed for OS/2 subprocess support.
Chris Hanson [Thu, 5 Jan 1995 23:36:59 +0000 (23:36 +0000)]
Eliminate "os2api.c" and add new system calls needed for subprocess
support.
Chris Hanson [Thu, 5 Jan 1995 23:36:07 +0000 (23:36 +0000)]
Put serializing lock in OS2_create_queue to guarantee atomic update to
global counter variable.
Chris Hanson [Thu, 5 Jan 1995 23:30:55 +0000 (23:30 +0000)]
Change to use static linking. Add support for subprocesses. Delete
"os2api.c".
Stephen Adams [Thu, 5 Jan 1995 22:46:01 +0000 (22:46 +0000)]
Added primitive INDEX-FIXNUM? from the split typecode system to allow
some runtime files to be merged.
Stephen Adams [Thu, 5 Jan 1995 22:31:00 +0000 (22:31 +0000)]
Added KMP-PROGRAM-SIZE which yields the number of pairs in a
KMP-scheme program. This is indicative of the size of the program.
Stephen Adams [Thu, 5 Jan 1995 22:29:51 +0000 (22:29 +0000)]
Added GROWTH/<phase> statistics to gather information on the ration of
the size of the output of a phase to the input.
Stephen Adams [Thu, 5 Jan 1995 22:28:22 +0000 (22:28 +0000)]
Added min and max to AVERAGE statistic.
Chris Hanson [Thu, 5 Jan 1995 20:21:58 +0000 (20:21 +0000)]
Implement new OS-TYPE-CASE expression; this is used to have
operating-system specific conditionalizations in the package file.
Also change all of the file types generated by CREF to be 3 characters
long instead of 4; the code will automatically rename or delete the
old names when they are seen.
Chris Hanson [Mon, 19 Dec 1994 23:27:34 +0000 (23:27 +0000)]
Can no longer define (edwin win-commands) package because it now
depends on other undefined win32 packages.
Chris Hanson [Mon, 19 Dec 1994 22:32:49 +0000 (22:32 +0000)]
Many changes to support Edwin. Converging on a final design for the
OS/2 support.
Chris Hanson [Mon, 19 Dec 1994 22:29:05 +0000 (22:29 +0000)]
Reconditionalize so that OS/2 is handled much like Windows -- using
message boxes to show fatal output rather than writing it on the
controlling terminal as in unix.
Chris Hanson [Mon, 19 Dec 1994 22:27:33 +0000 (22:27 +0000)]
Add some more OS/2 system calls.