DataMuseum.dk

Presents historical artifacts from the history of:

RC4000/8000/9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC4000/8000/9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦154018530⟧ TextFile

    Length: 3840 (0xf00)
    Types: TextFile
    Names: »termalarm   «

Derivation

└─⟦01e83a425⟧ Bits:30008166 Bånd med SW8010 og SW8500 source code
    └─⟦75ff9bef3⟧ 
        └─⟦this⟧ »termalarm   « 

TextFile



  procedure terminate_alarm (z, text, name, val, text1, val1);
  value                                     val,        val1 ;
  zone                       z                               ;
  string                        text,            text1       ;
  long    array                       name                   ;
  integer                                   val,        val1 ;
  
  <***********************************************************>
  <*                                                         *>
  <* The procedure terminates with an invisible runtime alarm*>
  <* after having written an alarm message on the zone z.    *>
  <*                                                         *>
  <* Call: terminate_alarm (z, text, name, val, text1, val1);*>
  <*                                                         *>
  <* z     (call and return value, zone). The document, the  *>
  <*       buffering and the position of the document where  *>
  <*       to write the alarm message.                       *>
  <* text  (call value, string).                             *>
  <* text1                                                   *>
  <* name  (call value, long array).                         *>
  <* val   (call value, integer). All values which are writ- *>
  <* val1  ten on the zone z.                                *>
  <*                                                         *>
  <***********************************************************>

  begin
    write_alarm (z, text);
    write       (z, "nl", 1, "sp", 4, 
                 true, 12, name, <:  :>, val, text1, val1);

    trapmode := 1 shift 13; <*ignore output of trap alarm*>

    trap (1); <*alarm*>

  end terminate_alarm;


\f



<* sw8010/2, load      entry procedures              page ... xx...

1988.01.28*>

message continue warning       page  1;


  procedure continue_warning (z, text, name, val, text1, val1);
  value                                      val,        val1 ;
  zone                        z                  ;
  string                         text,            text1       ;
  long    array                        name      ;
  integer                                    val,        val1 ;
  
  <***********************************************************>
  <*                                                         *>
  <* The procedure continues after having written an warning *>
  <* message on the zone z. The fp mode bits are set         *>
  <* warning.yes ok.yes                                      *>
  <*                                                         *>
  <* Call: continuewarning (z, text, name, val, text1, val1);*>
  <*                                                         *>
  <* z     (call and return value, zone). The document, the  *>
  <*       buffering and the position of the document where  *>
  <*       to write the alarm message.                       *>
  <* text  (call value, string).                             *>
  <* text1                                                   *>
  <* name  (call value, long array).                         *>
  <* val   (call value, integer). All values which are writ- *>
  <* val1  ten on the zone z.                                *>
  <*                                                         *>
  <***********************************************************>

  begin
    write_alarm (z, text);
    write       (z, "nl", 1, "sp", 4, 
                 true, 12, name, <:  :>, val, text1, val1);

    errorbits := 2; <*warning.yes, ok.yes*>

  end continue_warning;
▶EOF◀