home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma91.dms / ma91.adf / KonwersjaLib.lha / Include / libraries / konwersja.i < prev   
Text File  |  1997-07-08  |  1KB  |  67 lines

  1.     IFND LIBRARIES_KONWERSJA_I
  2. LIBRARIES_KONWERSJA_I    SET    1
  3.  
  4. **
  5. **    $FileName: libraries/konwersja.i $
  6. **    $Release: 2.04 $
  7. **    $Revision: 1.0 $
  8. **
  9. **    konwersja.library definicje
  10. **
  11. **    (C) Copyright 1997 Grzegorz Królik
  12. **    All Rights Reserved
  13. **
  14.  
  15.     IFND    EXEC_TYPES_I
  16.     INCLUDE    "exec/types.i"
  17.     ENDC
  18.  
  19.     IFND    EXEC_LISTS_I
  20.     INCLUDE    "exec/lists.i"
  21.     ENDC
  22.  
  23.     IFND    EXEC_LIBRARIES_I
  24.     INCLUDE    "exec/libraries.i"
  25.     ENDC
  26.  
  27.         IFND    LIBRARIES_DOS_H
  28.     INCLUDE    "libraries/dos.i"
  29.     ENDC
  30.  
  31. KONNAME    MACRO
  32.     dc.b    "konwersja.library",0
  33.     ENDM
  34.  
  35. KONVERSION    EQU    1
  36.  
  37.  
  38.     STRUCTURE KonBase,LIB_SIZE
  39.        BPTR      kon_SegList    ; SegList biblioteki
  40.        APTR   kon_SysBase    ; Kopia ExecBase
  41.        APTR      kon_DOSBase    ; Kopia DOSBase
  42.        STRUCT kon_Standardy,MLH_SIZE ; Lista ze standardami
  43.        LABEL  KonBase_SIZE
  44.  
  45.     STRUCTURE Standard,MLN_SIZE
  46.        WORD      stan_Numer    ; Numer dla tego standardu
  47.        UBYTE  stan_Flagi    ; Flagi dla standardu
  48.        STRUCT stan_Nazwa,9    ; Nazwa standardu
  49.        STRUCT stan_Kody,20    ; Kody kolejnych znaków
  50.        LABEL  Standard_SIZE
  51.  
  52. * Flagi dla standardu
  53.     BITDEF    STAN,MAZL,0
  54.     BITDEF    STAN,WBUD,7    ; NIE UYWAÊ!!!
  55.  
  56. * Flagi dla funkcji Konwertuj()
  57.     BITDEF    KONW,ZMIENNL,0
  58.     BITDEF    KONW,DODAJEOF,1
  59.  
  60. * Numery bîëdów
  61. KONBLAD_OK    EQU    0
  62. KONBLAD_KONWERSJA_PRZERWANA    EQU    -1
  63. KONBLAD_STANDARD_NIE_ISTNIEJE    EQU    -2
  64. KONBLAD_BRAK_PAMIECI    EQU    -3
  65.  
  66.     ENDC    ; LIBRARIES_KONWERSJA_I
  67.