Article View: mod.computers.68k
Article #71More on background programs for CP/M-68k
From: RDROYA01
Date: Tue, 08 Jul 1986 19:09
Date: Tue, 08 Jul 1986 19:09
32 lines
2423 bytes
2423 bytes
Since I last wrote I've gone a step further with the [Command] buffer
idea that I wrote about. Now you are able to suspend a background
task, like DDT, return to the editor for further editing, and then go
back to the suspended program where you left off. Debugging under
this system is much easier than it was before because not only can I
display, and move around in the source code, but I can also suspend
the background program to inspect that buffer's contents, for
example, look at a trace four screens previous, and then return to
the debugger or whatever is running.
I think the code that handles this switching about could be made a
simple memory resident module that any program could call. It could
be set up like the Plu*Perfect products for CP/M-80 that "watch" for
a key typed at the console, and then do their chores. The code is
about 150 lines of assembler with only one outside reference, the line
allocation for the word processor. For a mem resident program that
reference could be replaced by a simple line output routine. The
bios conin could check each typed char for a "switch" key of some
sort, and when found could save the current environment and call the
ccp. When the switch is typed again, the background task is
suspended, and you return to the original program. A CTRL-C instead
of the switch would exit the background task and return you to
background ccp. The resident program as a separate module is about
12K. With the additional conin and conout routine, it would likely
be only around 20K, really not large at all.
Perhaps this kind of function is already common and available on most
CP/M-68K systems that allow multiple users, but on my single user
system it is quite a boon. Anyone interested in code?
rdroya01@ulkyvx.bitnet
Technical Details
Message-ID:
<8607081811.AA03033@ucbjade.Berkeley.Edu>Path:
arc1-ca.pugleaf.net!utzoo!decvax!decwrl!pyramid!hplabs!ucbvax!ULKYVX.BITNET!RDROYA01Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!decvax!decwrl!pyramid!hplabs!ucbvax!ULKYVX.BITNET!RDROYA01 From: RDROYA01@ULKYVX.BITNET.UUCP Newsgroups: mod.computers.68k Subject: More on background programs for CP/M-68k Message-ID: <8607081811.AA03033@ucbjade.Berkeley.Edu> Date: Tue, 8-Jul-86 15:09:00 EDT Article-I.D.: ucbjade.8607081811.AA03033 Posted: Tue Jul 8 15:09:00 1986 Date-Received: Tue, 8-Jul-86 23:56:40 EDT Sender: mwm@ucbvax.BERKELEY.EDU Organization: University of Louisville Lines: 32 Approved: info-68k@ucbvax.berkeley.edu