[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC] Multiboot ammendment: non-VBE video

From: Vladimir 'phcoder' Serbinenko
Subject: [RFC] Multiboot ammendment: non-VBE video
Date: Tue, 1 Sep 2009 17:37:11 +0200

Hello. I'm implementing video part of multiboot specification.
Currently the only defined interface is for providing VBE info. I
propose following way to set fields if video is non VBE:
When vbe_control_info is set to 0xffffffff all VBE-specific fields are invalid
vbe_mode set to 0xffff
vbe_mode_info points to structure similar to vbe_mode_info but with
all vbe-specific fields set to zero. Remaining (valid) fields are
(full structur is in include/grub/i386/pc/vbe.h)

  grub_uint16_t bytes_per_scan_line;
  grub_uint16_t x_resolution;
  grub_uint16_t y_resolution;
  grub_uint8_t bits_per_pixel;
  grub_uint8_t memory_model;

  grub_uint8_t red_mask_size;
  grub_uint8_t red_field_position;
  grub_uint8_t green_mask_size;
  grub_uint8_t green_field_position;
  grub_uint8_t blue_mask_size;
  grub_uint8_t blue_field_position;
  grub_uint8_t rsvd_mask_size;
  grub_uint8_t rsvd_field_position;
  grub_uint8_t direct_color_mode_info;

  grub_vbe_physptr_t phys_base_addr;

  grub_uint16_t lin_bytes_per_scan_line;
  grub_uint8_t lin_red_mask_size;
  grub_uint8_t lin_red_field_position;
  grub_uint8_t lin_green_mask_size;
  grub_uint8_t lin_green_field_position;
  grub_uint8_t lin_blue_mask_size;
  grub_uint8_t lin_blue_field_position;
  grub_uint8_t lin_rsvd_mask_size;
  grub_uint8_t lin_rsvd_field_position;

Vladimir 'phcoder' Serbinenko

Personal git repository:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]