home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / PROGRAM / ASM / ALIB30B / LIBDATA.ASM < prev    next >
Assembly Source File  |  1994-10-31  |  2KB  |  82 lines

  1.     PAGE    66,132
  2. ;*********************************** LIBDATA.LIB *****************************
  3. ;
  4. ; 1. All library functions and data will be placed in a separate segment.
  5. ;
  6. ; 2. All library fuctions will be FAR PROC's except for internal
  7. ;    library functions.
  8. ;
  9. ; 3. Local (near) library funcitions will have a "$" in name to
  10. ;    signify a local function.
  11. ;
  12. ; 4. This file will contain data which is common (global) within the library.
  13. ;
  14. ; 5. Most routines do not preserve the flag register and it must be saved
  15. ;    by caller if needed.
  16. ;    
  17. ;----------------------------------- MEMORY DATA -----------------------------
  18.  
  19.  
  20. LIBSEG           segment byte public "LIB"
  21.         assume cs:LIBSEG , ds:nothing
  22.  
  23.  db 'ALIB 1.0 Copyright 1994, Owens Consulting'
  24. ;----------------------------------------------------------------------------
  25. .xlist
  26.     include  mac.inc
  27.     include  common.inc
  28. .list
  29. ;----------------------------------------------------------------------------
  30.     public    psp_seg,breakflag
  31. ;--------------------------------- SYSTEM DATA -------------------------------
  32.  
  33. BREAKFLAG    DB    0    ;set by ctrl break handlers (1d2h)
  34.  
  35. ; LIBRARY_SETUP returns a pointer to the following structure.
  36. ;
  37. ;info    struc
  38. ; cpu_type    db    ?    ;0=88 1=186 2=286 3=386 4=486
  39. ; math_chip    db    ?    ;0=none 1=8087 2=287 3=387 4=487
  40. ; mouse_present    db    ?    ;0=no n=yes
  41. ; crt_type    db    ?    ;
  42. ; crt_mode    db    ?
  43. ; mono_flag    db    ?
  44. ; ansi_present    db    ?    ;0=no 1=yes
  45. ; users_color    db    ?
  46. ; crt_seg    dw    ?    ;segment of crt buffer
  47. ; crt_rows    db    ?    ;
  48. ; crt_columns    db    ?    ;
  49. ; key_type    db    ?    ;0=old style 1=enhanced
  50. ; psp_seg    dw    ?
  51. ;info    ends
  52.  
  53.     public    lib_info
  54. lib_info    info    <>
  55.  
  56. ;--------------------------------- MOUSEKEY DATA -----------------------------
  57. ;
  58. ; options set by menuoption in MOUSEKEY.LIB
  59. ;
  60.     public    bar_text_color,bar_select_color,bar_hotkey_color
  61.     public    submenu_text_color,submenu_select_color
  62.     public    msg_text_color,msg_hyper_color,pick_color,pick_select_color
  63.     public    frame_style
  64.     
  65. bar_text_color        Db    07
  66. bar_select_color    db    70h
  67. bar_hotkey_color    db    0fh
  68. submenu_text_color    db    0fh
  69. submenu_select_color    db    70h
  70. msg_text_color        db    07h
  71. msg_hyper_color        db    70h
  72. pick_color        db    07h
  73. pick_select_color    db    70h
  74.  
  75. frame_style        db    0h
  76.  
  77.     public    ten
  78. ten        dw    10
  79.  
  80. LIBSEG    ENDS
  81.     end
  82.