Subversion Repositories HelenOS

Rev

Rev 4151 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4151 Rev 4152
Line 183... Line 183...
183
		pop %di
183
		pop %di
184
		pop %cx
184
		pop %cx
185
		cmp $VESA_OK, %al
185
		cmp $VESA_OK, %al
186
		jne no_mode
186
		jne no_mode
187
		
187
		
188
		# check for proper attributes (supported, color, graphics, liner framebuffer)
188
		# check for proper attributes (supported, color, graphics, linear framebuffer)
189
		
189
		
190
		mov VESA_MODE_ATTRIBUTES_OFFSET(%di), %ax
190
		mov VESA_MODE_ATTRIBUTES_OFFSET(%di), %ax
191
		and $0x99, %ax
191
		and $0x99, %ax
192
		cmp $0x99, %ax
192
		cmp $0x99, %ax
193
		jne next_mode
193
		jne next_mode