Subversion Repositories Kolibri OS

Rev

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

Rev 82 Rev 102
Line 140... Line 140...
140
 push eax  ; LFB address
140
 push eax  ; LFB address
141
 push ecx  ; B
141
 push ecx  ; B
142
 push ebx  ; H
142
 push ebx  ; H
143
 push edx  ; x+Xwin
143
 push edx  ; x+Xwin
Line 144... Line 144...
144
 
144
 
145
 mov ebx,[0x3010]
-
 
146
 mov bl,[ebx+0xe]
145
 mov ebx,[0x3000]
Line 147... Line 146...
147
 mov bh,[esp+6*4]
146
 mov bh,[esp+6*4]
Line 148... Line 147...
148
 
147
 
Line 253... Line 252...
253
 add     edi, 0x0a0000     ; address of pixel in VGA area
252
 add     edi, 0x0a0000     ; address of pixel in VGA area
Line 254... Line 253...
254
 
253
 
Line 255... Line 254...
255
 and     ecx,0x07          ; bit no. (modulo 8)
254
 and     ecx,0x07          ; bit no. (modulo 8)
-
 
255
 
256
 
256
setvgapixel:
257
setvgapixel:
257
 pushfd
Line 258... Line 258...
258
 cli
258
 cli
259
 ; edi = address, eax = 24bit colour, ecx = bit no. (modulo 8)
259
 ; edi = address, eax = 24bit colour, ecx = bit no. (modulo 8)
Line 302... Line 302...
302
 
302
 
303
p13cont:
303
p13cont:
304
 mov    al,[edi]           ; dummy read
304
 mov    al,[edi]           ; dummy read
Line 305... Line 305...
305
 mov    [edi],dl
305
 mov    [edi],dl
306
 
306
 
Line 307... Line 307...
307
 sti
307
 popfd
308
 ret
308
 ret
Line 413... Line 413...
413
     push ebx ; H
413
     push ebx ; H
414
     push edi
414
     push edi
415
     push esi
415
     push esi
416
     push ecx ; x+Xwin
416
     push ecx ; x+Xwin
Line 417... Line 417...
417
 
417
 
418
     mov   ebx,[0x3010]
-
 
Line 419... Line 418...
419
     movzx ebx,byte[ebx+0xe]
418
     mov   ebx,[0x3000]
Line 420... Line 419...
420
 
419