From 3b376d1073498498a0ab1faa4a3d5f2f1c8798b5 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 20 Mar 2012 20:57:37 +0000 Subject: [PATCH] BOARD - In this program, the output region of the working of the text should ALWAYS be WHITE and the text should ALWAYS be BLACK. This program should be FOR PEOPLE, not for AESTHETES with a "good" taste. git-svn-id: svn://kolibrios.org@2484 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/board/trunk/board.asm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/programs/system/board/trunk/board.asm b/programs/system/board/trunk/board.asm index cdb10c3ee..63f508794 100644 --- a/programs/system/board/trunk/board.asm +++ b/programs/system/board/trunk/board.asm @@ -200,7 +200,8 @@ draw_window: mcall 12,1 ; 1, start of draw xor eax,eax ; function 0 : define and draw window mov ecx,MAXSTRINGS*10+45 ; [y start] *65536 + [y size] - mov edx,[sc.work] ; color of work area RRGGBB,8->color gl +; mov edx,[sc.work] ; color of work area RRGGBB,8->color gl + mov edx,0xffffff or edx,0x13000000 xor esi,esi mcall ,[xstart],,,,title @@ -215,9 +216,11 @@ draw_window: ;------------------------------------------------------------------------------ draw_text: mov ebx,15*65536+30 ; draw info text with function 4 - mov ecx,[sc.work_text] +; mov ecx,[sc.work_text] + xor ecx,ecx or ecx,0x40000000 - mov edi,[sc.work] +; mov edi,[sc.work] + mov edi,0xffffff mov edx,text1 cmp [vmode],0 je .kern