Subversion Repositories Kolibri OS

Rev

Rev 2 | Rev 82 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 33
Line 55... Line 55...
55
 
55
 
Line 56... Line 56...
56
       ret
56
       ret
57
 
57
 
-
 
58
 
58
 
59
vga_putimage:
59
vga_putimage:
60
; pushad
60
 
61
 call    [disable_mouse]
Line 61... Line 62...
61
 push ebp ;
62
 push ebp ;
Line 224... Line 225...
224
      pop eax
225
      pop eax
225
      pop edi
226
      pop edi
226
      pop esi
227
      pop esi
227
      pop ebp
228
      pop ebp
Line -... Line 229...
-
 
229
      
-
 
230
;      call  [draw_pointer]
-
 
231
;      call    [disable_mouse]
228
 
232
;      popad
Line 229... Line 233...
229
      ret
233
      ret
Line 249... Line 253...
249
 add     edi, 0x0a0000     ; address of pixel in VGA area
253
 add     edi, 0x0a0000     ; address of pixel in VGA area
Line 250... Line 254...
250
 
254
 
Line 251... Line 255...
251
 and     ecx,0x07          ; bit no. (modulo 8)
255
 and     ecx,0x07          ; bit no. (modulo 8)
252
 
256
 
253
setvgapixel:
257
setvgapixel:
Line 254... Line 258...
254
 
258
 cli
255
 ; edi = address, eax = 24bit colour, ecx = bit no. (modulo 8)
259
 ; edi = address, eax = 24bit colour, ecx = bit no. (modulo 8)
Line 298... Line 302...
298
 
302
 
299
p13cont:
303
p13cont:
300
 mov    al,[edi]           ; dummy read
304
 mov    al,[edi]           ; dummy read
Line -... Line 305...
-
 
305
 mov    [edi],dl
301
 mov    [edi],dl
306
 
Line 302... Line 307...
302
 
307
 sti
303
 ret
308
 ret
-
 
309
 
304
 
310
 
305
 
311
vga_drawbar:
Line 306... Line 312...
306
vga_drawbar:
312
;     pushad
307
 
313
 call    [disable_mouse]
Line 490... Line 496...
490
     ;pop esi
496
     ;pop esi
491
     pop ebp
497
     pop ebp
Line 492... Line 498...
492
 
498
 
493
     ;pop edx
499
     ;pop edx
494
     ;pop ecx
500
     ;pop ecx
495
 
501
;     popad
Line 496... Line 502...
496
     ret
502
     ret
497
 
-
 
-
 
503
 
498
 
504
 
499
vga_drawbackground_tiled:
505
vga_drawbackground_tiled:
500
 
506
 call    [disable_mouse]
501
     push ebp
507
     push ebp
502
     push eax
508
     push eax
Line 637... Line 643...
637
; ----------
643
; ----------
Line 638... Line 644...
638
 
644
 
639
 
-
 
-
 
645
 
Line 640... Line 646...
640
 
646
 
641
vga_drawbackground_stretch:
647
vga_drawbackground_stretch:
642
 
648
 call    [disable_mouse]
643
 
649