flat assembler
Message board for the users of flat assembler.

Index > IDE Development > fasmd 1.73.30 invisible cursor

Author
Thread Post new topic Reply to topic
macomics



Joined: 26 Jan 2021
Posts: 1014
Location: Russia
macomics 03 Mar 2022, 13:35
In modes 43 and 50 lines, the cursor is invisible. Proposed solution: FASMD.ASM
Code:
; line 1696 / upd 1696
        mov ah,3
        xor bh,bh
        int 10h
        mov [stored_cursor],cx
        movzx ax,cl ; new lines {
        test ax, ax
        jnz overwrite_cursor_ok
        mov ax,0x000F
        mov cx,0x060F
    overwrite_cursor_ok:
        mov [overwrite_cursor],ax
        mov [normal_cursor],cx ; }
...
; line 2923 / upd 2931
        mov ah,1
        mov cx,[normal_cursor];instead 0x0D0E
        int 10h
        retn
    block_cursor:
        mov ah,1
        mov cx,[overwrite_cursor];instead 0x000F
        int 10h
        retn
    cursor_out_of_sight:
        mov ah,1
        mov cx,0x3031;instead 0x1000
        int 10h
        retn
...
; line 6669 / upd 6677
  stored_cursor dw ?
  normal_cursor dw ? ; new line
  overwrite_cursor dw ? ; new line    
See also
Post 03 Mar 2022, 13:35
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.