home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
GENASM
/
NOSLTPOP.LBR
/
NOSLTPOP.DZC
/
NOSLTPOP.DOC
Wrap
Text File
|
2000-06-30
|
2KB
|
44 lines
NOSLTPOP.DOC Pop-up clock display upon detect of a hot key. 11-20-87
I recently wrote a routine to display the SMT no-slot clock as a
"pop-up" option from within any application program. That is, while
running WORDSTAR or SUPERCALC or whatever, hitting a specific key will
display the clock in the upper corner of the screen and allow the
application program to continue. This routine was then embedded in
that small portion of bios that Northstar shared with users.
To share this program routine in its original form (the bios mod)
would be of marginal use to most cpm users because it would be unique
to the Northstar Advantage computer. In order to make a more general
form of the routine and to demonstrate the technique, this program was
thrown together to embed the pop-up clock code under bdos (or ccp).
It should be usable on any Z80 cpm machine for which the equates
can be identified. The cursor addressing equates are straightforward.
The cursor visible & invisible equates are not mandatory, but they
eliminate an otherwise annoying cursor flicker. The most unusual
equate is the CURSOR POSITION POINTER address. Somewhere in everyone's
bios is an address that keeps track of where the pointer is currently
located, but you may have to work to find it.
The display code CDSP has absolutely no frills. Since this is the
same code that I put it into my bios there was very little room. In fact
the TIME routine to read the clock was squeezed for every byte I could find.
Anyone interested in how the Northstar bios mod looks should refer
to USER20.LBR which is also being released to the public domain but is
typically sent only to other Northstar users. The loader code used
in this demonstration program is my own design and is intended to remove
itself from memory each warm boot. This is the code used for my function
key trap program YKEY20.LBR. If anyone modifies it to stay resident through
a warm boot please send me the code and I'll re-release this library.
Send bug reports and comments to
Russell A. Gaspari
6656 W. 87th Place
Los Angeles 90045