fixing mouse cursor draw...
This commit is contained in:
parent
36cf876338
commit
633b630b92
5 changed files with 157 additions and 174 deletions
16
src/boot.asm
16
src/boot.asm
|
|
@ -93,12 +93,26 @@ reset:
|
|||
; on active le mode graphique
|
||||
call gfx_init
|
||||
|
||||
;call mouse_reset
|
||||
; call mouse_reset
|
||||
call mouse_init
|
||||
|
||||
call gfx_cursor_move
|
||||
|
||||
endless:
|
||||
mov ax,BDA_DATA_SEG
|
||||
mov ds,ax
|
||||
|
||||
; mov ax, [BDA_MOUSE + mouse.x]
|
||||
; add ax, 80
|
||||
; cmp ax,640
|
||||
; jb .moveok
|
||||
;
|
||||
; mov ax,0
|
||||
;.moveok:
|
||||
; mov [BDA_MOUSE + mouse.x],ax
|
||||
;
|
||||
; call gfx_cursor_move
|
||||
|
||||
mov dx,0
|
||||
call scr_gotoxy
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue