home *** CD-ROM | disk | FTP | other *** search
-
- win_title proc
- push bx
- push si
- push dx
- xor cx, cx
- mov cl, dl
- mov al, 1
- mov dl, ' '
- call scr_fill_screen
- pop dx
- test [si].win_features, 40h
- mov si, di
- jz wp_7 ─────────┐
- mov cx, ax │
- call str_len │
- cmp al, dl │
- jg wp_6a ─────┐ │
- mov ah, dl │ │
- sub ah, al │ │
- shr ah, 1 │ │
- add bl, ah │ │
- wp_6a: ────┘ │
- mov ah, ch │
- wp_7: ────────┘
- xor cx, cx
- mov al, 1
- call scr_display_string
- pop si
- pop bx
- ret
- win_title endp
-
-
- ┌────────────────────────────────┐
- │ win_title proc │
- └───────────────┬────────────────┘
- ┌───────────────┴────────────────┐
- │ push bx │
- │ push si │
- │ push dx │
- └───────────────┬────────────────┘
- ┌───────────────┴────────────────┐
- │ xor cx, cx │
- │ mov cl, dl │
- │ mov al, 1 │
- │ mov dl, ' ' │
- │ call scr_fill_screen │
- └───────────────┬────────────────┘
- ┌───────────────┴────────────────┐
- │ pop dx │
- └───────────────┬────────────────┘
- ┌───────────────┴────────────────┐
- │ test [si].win_features, 40h│
- └───────────────┬────────────────┘
- ┌───────────────┴────────────────┐
- │ mov si, di │
- └───────────────┬────────────────┘
-
- / \ wp_7
- jz ─────────────────────┐
- \ / │
- │
- ┌───────────────┴────────────────┐ │
- │ mov cx, ax │ │
- │ call str_len │ │
- └───────────────┬────────────────┘ │
- ┌───────────────┴────────────────┐ │
- │ cmp al, dl │ │
- └───────────────┬────────────────┘ │
- │
- / \ wp_6a │
- jg ─────────────────┐ │
- \ / │ │
- │ │
- ┌───────────────┴────────────────┐ │ │
- │ mov ah, dl │ │ │
- │ sub ah, al │ │ │
- │ shr ah, 1 │ │ │
- │ add bl, ah │ │ │
- └───────────────┬────────────────┘ │ │
- wp_6a: │ │ │
- ┌───────────────┴────────────────┐ │ │
- │ mov ah, ch │────┘ │
- └───────────────┬────────────────┘ │
- wp_7: │ │
- ┌───────────────┴────────────────┐ │
- │ xor cx, cx │────────┘
- │ mov al, 1 │
- │ call scr_display_string │
- └───────────────┬────────────────┘
- ┌───────────────┴────────────────┐
- │ pop si │
- │ pop bx │
- └───────────────┬────────────────┘
- ┌───────────────┴────────────────┐
- │ ret │
- └────────────────────────────────┘
- ┌────────────────────────────────┐
- │ win_title endp │
- └────────────────────────────────┘
-
-
- win_popup
- ├─ win_push_window
- │ ├─ win_check_coordinates
- │ ├─ win_calc_size
- │ ├─ cur_get_pos_type
- │ └─ win_save_window
- │ ├─ scr_video_segment_ds
- │ ├─ win_setup_screen_loc
- │ ├─ scr_cmp_video_wait
- │ ├─ save_window_line_ega
- │ └─ save_window_line_cga
- ├─ scr_cmp_video_mono
- ├─ win_box
- │ ├─ draw_box
- │ ├─ draw_htbar
- │ └─ win_shadow
- │ ├─ scr_video_segment_es
- │ ├─ scr_offset
- │ ├─ drw_hline
- │ ├─ scr_change_foreground
- │ ├─ drw_vline
- │ └─ drw_vline
- ├─ win_title
- │ ├─ scr_fill_screen
- │ ├─ str_len
- │ └─ scr_display_string
- └─ win_display_area
- ├─ win_get_attr
- │ └─ scr_cmp_video_mono
- ├─ win_fill_window
- │ ├─ scr_video_segment_es
- │ ├─ win_setup_screen_loc
- │ ├─ scr_cmp_video_wait
- │ ├─ fill_window_line_ega
- │ └─ fill_window_line_cga
- └─ win_display_window
- ├─ win_xfer_and_clip
- │ ├─ xfer_win_buf
- │ └─ xfer_win_buf_attr
- │ ├─ scr_cmp_video_mono
- │ └─ scr_attr_from_index
- └─ win_restore_window
- ├─ scr_video_segment_es
- ├─ win_setup_screen_loc
- ├─ scr_cmp_video_wait
- ├─ restore_window_line_ega
- └─ restore_window_line_cga
-
- ┌──────────────────────────────────────────────┐
- │ win_popup 22 │
- │ 88: 872 cy / 872 cy 174 µsec / 174 µsec │
- │ 286: 470 cy / 470 cy 47 µsec / 47 µsec │
- │ 386: 286 cy / 286 cy 14 µsec / 14 µsec │
- └┬─────────────────────────────────────────────┘
- │ ┌──────────────────────────────────────────────┐
- ├─┤ win_push_window 38 │
- │ │ (dup) │
- │ └──────────────────────────────────────────────┘
- │ ┌──────────────────────────────────────────────┐
- ├─┤ scr_cmp_video_mono 22 │
- │ │ (Ext) │
- │ └──────────────────────────────────────────────┘
- │ ┌──────────────────────────────────────────────┐
- ├─┤ win_box 40 │
- │ │ 88: 309 cy / 309 cy 61 µsec / 61 µsec │
- │ │ 286: 152 cy / 152 cy 15 µsec / 15 µsec │
- │ │ 386: 124 cy / 124 cy 6200 nsec /6200 nsec │
- │ └─┬────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ draw_box 40 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ draw_htbar 40 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ └─┤ win_shadow 68 │
- │ │ 88: 591 cy / 661 cy 118 µsec / 132 µsec │
- │ │ 286: 248 cy / 259 cy 24 µsec / 25 µsec │
- │ │ 386: 209 cy / 241 cy 10 µsec / 12 µsec │
- │ └─┬────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ scr_video_segment_es 68 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ scr_offset 68 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ drw_hline 68 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ scr_change_foreground 68 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ drw_vline 68 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ └─┤ drw_vline 68 │
- │ │ (Ext) │
- │ └──────────────────────────────────────────────┘
- │ ┌──────────────────────────────────────────────┐
- ├─┤ win_title 30 │
- │ │ 88: 168 cy / 168 cy 33 µsec / 33 µsec │
- │ │ 286: 78 cy / 78 cy 7800 nsec /7800 nsec │
- │ │ 386: 65 cy / 65 cy 3250 nsec /3250 nsec │
- │ └─┬────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ scr_fill_screen 30 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ ├─┤ str_len 30 │
- │ │ │ (Ext) │
- │ │ └──────────────────────────────────────────────┘
- │ │ ┌──────────────────────────────────────────────┐
- │ └─┤ scr_display_string 30 │
- │ │ (Ext) │
- │ └──────────────────────────────────────────────┘
- │ ┌──────────────────────────────────────────────┐
- └─┤ win_display_area 28 │
- │ (dup) │
- └──────────────────────────────────────────────┘