Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FPP_$SAVE_RESTORE                 Domain/OS                  FPP_$SAVE_RESTORE


NAME
     fpp_$save_restore - save the current and load a new floating-point state

SYNOPSIS (C)
     #include <apollo/base.h>
     #include <apollo/fpp.h>

     short int fpp_$save_restore(
          void *&save_area_ptr,
          void *&restore_area_ptr,
          status_$t *status)

SYNOPSIS (Pascal)
     %include '/sys/ins/base.ins.pas';
     %include '/sys/ins/fpp.ins.pas';

     function fpp_$save_restore(
          in save_area_ptr: univ_ptr;
          in restore_area_ptr: univ_ptr;
          out status: status_$t): integer;

SYNOPSIS (FORTRAN)
     %include '/sys/ins/base.ins.ftn'
     %include '/sys/ins/fpp.ins.ftn'

           integer*4 status, save_area_ptr, restore_area_ptr
           integer*4 save_area(26), restore_area(26)
           integer*2 bytes_moved

           pointer /save_area_ptr/ save_area
           pointer /restore_area_ptr/ restore_area

           bytes_moved = fpp_$save_restore(save_area_ptr, restore_area_ptr,
          &                                status)

DESCRIPTION
     Fpp_$save_restore saves the current floating-point state at save_area_ptr
     and loads a new floating-point state from restore_area_ptr.  It returns
     the number of bytes saved.

     save_area_ptr
          A pointer to where the current floating-point state should be saved.

     restore_area_ptr
          A pointer to where the new floating-point state should be loaded
          from.

     status
          The completion status.

SEE ALSO
     fpp_$restore, fpp_$save, fpp_$save_restore_size.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026