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
Text File  |  2000-06-30  |  2KB  |  44 lines

  1.  
  2. NOSLTPOP.DOC    Pop-up clock display upon detect of a hot key.    11-20-87
  3.  
  4.  
  5.      I recently wrote a routine to display the SMT no-slot clock as a
  6. "pop-up" option from within any application program.  That is, while
  7. running WORDSTAR or SUPERCALC or whatever, hitting a specific key will
  8. display the clock in the upper corner of the screen and allow the
  9. application program to continue.   This routine was then embedded in
  10. that small portion of bios that Northstar shared with users.
  11.  
  12.      To share this program routine in its original form (the bios mod)
  13. would be of marginal use to most cpm users because it would be unique
  14. to the Northstar Advantage computer.  In order to make a more general
  15. form of the routine and to demonstrate the technique, this program was
  16. thrown together to embed the pop-up clock code under bdos (or ccp).
  17.  
  18.      It should be usable on any Z80 cpm machine for which the equates
  19. can be identified.  The cursor addressing equates are straightforward.
  20. The cursor visible & invisible equates are not mandatory, but they
  21. eliminate an otherwise annoying cursor flicker.  The most unusual
  22. equate is the CURSOR POSITION POINTER address.    Somewhere in everyone's
  23. bios is an address that keeps track of where the pointer is currently
  24. located, but you may have to work to find it.
  25.  
  26.      The display code CDSP has absolutely no frills.  Since this is the
  27. same code that I put it into my bios there was very little room.  In fact
  28. the TIME routine to read the clock was squeezed for every byte I could find.
  29.  
  30.      Anyone interested in how the Northstar bios mod looks should refer
  31. to USER20.LBR which is also being released to the public domain but is
  32. typically sent only to other Northstar users.  The loader code used
  33. in this demonstration program is my own design and is intended to remove
  34. itself from memory each warm boot.  This is the code used for my function
  35. key trap program YKEY20.LBR.  If anyone modifies it to stay resident through
  36. a warm boot please send me the code and I'll re-release this library.
  37.  
  38.     Send bug reports and comments to
  39.           Russell A. Gaspari
  40.           6656 W. 87th Place
  41.           Los Angeles  90045
  42.  
  43.  
  44.