?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1. txt_memoryerror:    db 0x0A,"Memory allocation error!",0x0D,0x0A,0
  2. txt_fopenerror:     db 0x0A,"Cannot open file: ",0
  3. txt_fcreateerror:    db 0x0A,"Cannot create file: ",0
  4. txt_freaderror:     db 0x0A,"Cannot read file: ",0
  5. txt_fwriteerror:     db 0x0A,"Cannot write file: ",0   
  6. txt_dircherror:     db 0x0A,"Cannot change directory: ",0
  7. txt_nl:             db 0x0D,0x0A,0
  8.  
  9.  
  10.  
  11.  
  12.  
  13. ;-----memory------
  14. winpage0:    db 0 ;0x0000-0x3fff
  15. script_buf1:
  16. winpage1:    db 0 ;0x4000-0x7fff
  17. script_buf2:
  18. winpage2:    db 0 ;0x8000-0xbfff
  19. winpage3:    db 0 ;0xc000-0xffff
  20.  
  21. music_buf:   db 0
  22.  
  23. load_buf1:   db 0  ;13
  24. load_buf2:   db 0  ;24
  25.  
  26. mem_buf1:    db 0 ;13
  27. mem_buf2:    db 0 ;24
  28.  
  29. scr_buf1:    db 0 ;13 ;additional buffers. (reserved) !!! load sprites here !!!
  30. scr_buf2:    db 0 ;24 ;additional buffers. (reserved)
  31.  
  32. src_buf1:     db 0 ;datasource for screen output
  33. src_buf2:     db 0
  34.  
  35. bank1:  db 0  ;current page for 4000
  36. bank2:  db 0  ;current page for 8000
  37. bank3:  db 0  ;current page for c000
  38.  
  39.  
  40. tbank1 db 0  ;temp page store for 4000
  41. tbank2 db 0  ;temp page store for 8000
  42. tbank3: db 0  ;temp page store for c000
  43. ;----setup---
  44. res_path:    db "Saku_D",0
  45.  
  46. language:    db 0  ;0 eng | 1 rus
  47. gfx_mode:    db 0  ;0 DDp | 1 16c | 2 ATM
  48. mus_mode:    db 0  ;0 AY  | 1 s98
  49.  
  50. ;------intro-----
  51. intro_pic:   db "sp_001",0
  52. intro_mus:   db 10  
  53. into_text:   db "OP_01.OVL",0
  54.  
  55. menu_pic         db "saku_p",0
  56. menu_pic2        db "saku_t",0
  57.  
  58. gallery_file    db "CDATA.000",0        
  59. badge_pic       db "hanko",0
  60.  
  61. ingame_border   db "frefre",0
  62.  
  63.  
  64. SAVETEMPL       db "SAKDATA0.000",0
  65. SAVETEMPL_N     equ SAVETEMPL+7
  66.  
  67. endingovl       db "ENDING0.OVL",0
  68. FSTOVL          db "CS101.OVL",0
  69. OVL             ds 13,0
  70. LOADED          ds 13,0
  71. ;---palette----
  72. setpalflag:  db 0
  73.  
  74. stdpal:  STANDARDPAL
  75. pal:     ds 32,0xff
  76. mempal:  ds 32,0xff
  77. temppal  ds 32,0
  78. whitepal  ds 32,0
  79. blackpal  ds 32,0xff
  80.  
  81. ;-------keyboard
  82. keyreg db 0
  83. keymatrixbc dw 0
  84. keymatrixde dw 0
  85. keymatrixhl dw 0
  86. keymatrixix dw 0
  87.  
  88. lastvar
  89. lastkey db 0
  90. lastspace dw 0
  91. lastchar db 0
  92. ;------------------------------
  93. CORDS dw 0
  94.  
  95. g_curpos dw 0 ; т√сЁрээ√щ яєэъЄ ьхэ■ (ёьх∙хэшх юЄ 0)
  96. g_atpos  dw 0 ; ъююЁфшэрЄ√ фы  т√тюфр ьхэ■ y x
  97. ;------------------------------
  98. DELAY db 0
  99. ;------------------------------
  100. mus_path1:
  101.         db "mus/",0
  102. mus_path2:        
  103.         db  "/mt_00.",0
  104.  
  105. gfx_path1:        
  106.                 db "gfx/",0
  107. gfx_ext db ".16c",0            
  108.  
  109. ovl_path1:
  110.                 db "ovl/",0    
  111. op_path2:
  112.         db  "op..",0
  113. ;------------------------------
  114. characters_current db 0 ;current page
  115. _current_op db 0        ; selected girl
  116. _op_rslt db 0
  117. _op_slct db 0x33,0x34,0x35,0x36,0x38,0x39,0x3a,0x37    
  118. _op_endings:
  119.         dw _op01_ending ;reiko
  120.         dw _op02_ending ;kiyomi
  121.         dw _op03_ending ;mio
  122.         dw _op04_ending ;shoko
  123.         dw _op05_ending ;aki
  124.         dw _op06_ending ;seija
  125.         dw _op07_ending ;meimi
  126.         dw _op08_ending ;ruri
  127.  
  128. _op01_ending  db "CSC03_A.OVL",0  ;reiko
  129. _op02_ending  db "CSC03_B.OVL",0;kiyomi
  130. _op03_ending  db "CSC03_C.OVL",0;mio
  131. _op04_ending  db "CSE_D_1.OVL",0;shoko
  132. _op05_ending  db "CSE_F_1.OVL",0;aki
  133. _op06_ending  db "CSE_G_1.OVL",0;seija
  134. _op07_ending  db "CSE_H_1.OVL",0;meimi
  135. _op08_ending  db "CSE_E_1.OVL",0;ruri
  136. ;---------
  137. ;0x33 = 33 reiko;
  138. ;0x34 = 33 kiyomi
  139. ;0x35 = 33 mio
  140. ;0x36 = 33 shoko
  141. ;0x37 = 33 ruri      
  142. ;0x38 = 33 aki
  143. ;0x39 = 33 seia
  144. ;0x3a = 33 meimi
  145. _op_end_slct:
  146.         db 0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a;
  147. _op_gfx_ending:
  148.         dw _reiko_ending_gfx
  149.         dw _kiyomi_ending_gfx
  150.         dw _mio_ending_gfx
  151.         dw _shoko_ending_gfx
  152.         dw _ruri_ending_gfx
  153.         dw _aki_ending_gfx
  154.         dw _seija_ending_gfx
  155.         dw _meimi_ending_gfx
  156.  
  157. _reiko_ending_gfx        db "ae_193",0
  158. _kiyomi_ending_gfx       db "ae_194",0
  159. _mio_ending_gfx          db "ae_195",0
  160. _shoko_ending_gfx        db "ae_197",0
  161. _ruri_ending_gfx         db "ae_191",0
  162. _aki_ending_gfx          db "ae_192",0
  163. _seija_ending_gfx        db "ae_196",0
  164. _meimi_ending_gfx        db "ae_198",0
  165. ;'''''''''''''''''''''''''''''''''''''''
  166. ;ZONEADR DB 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6
  167. ;       DB 6, 7, 7, 8, 8, 9, 9, 9, 10,10,11,11,12,12,12,13
  168. ;       DB 13,14,14,15,15,15,16,16,17,17,18,18,18,19,19,20
  169. ;       DB 20,21,21,21,22,22,23,23,24,24,24,25
  170. ;------------
  171. MENUCURHELPER:
  172.         dw 0xda44
  173.         dw 0xda4c
  174.         dw 0xda54
  175.         dw 0xda5c
  176.  
  177.         dw 0xdb84
  178.         dw 0xdb8c
  179.         dw 0xdb94
  180.         dw 0xdb9c
  181.  
  182.         dw 0xdcc4
  183.         dw 0xdccc
  184.         dw 0xdcd4
  185.         dw 0xdcdc
  186.  
  187.         dw 0xde04
  188.         dw 0xde0c
  189.         dw 0xde14
  190.         dw 0xde1c
  191.