- Added
Graphics1280x800x256. - Added
PrimitiveDrawingwith the ability todraw_lineanddraw_rect.
- Added the ability to set the graphics memory start with
vga::vga::VGA.lock().set_memory_start(0xa0000);. TextModeColor::set_foregroundnow correctly saves the background color instead of resetting to black.
- Updated various out of date crates.
- Updated
x86_64to build with lastest rust nightly.
- Updated various out of date crates.
- Updated
x86_64to fix deprecatedasm!macro.
- Added support for 320x240x256 mode via
Graphics320x240x256. - Added the ability to easily get a pointer to the modes frame buffer via
GraphicsWriter::get_frame_buffer.
Screen::get_width()now accessed by associated constanti.e Text80x25::WIDTH.Screen::get_height()now accessed by associated constanti.e Text80x25::HEIGHT.Screen::get_size()now accessed by associated constanti.e Text80x25::SIZE.Graphics320x200x256::new,Graphics640x480x16::new,Text40x25::new,Text40x50::new,Text80x25::newandScreenCharacter::neware nowconst fn.Graphics320x200x256,Graphics640x480x16,Text40x25,Text40x50, andText80x25now deriveCopyandClone.
- Added
TextWriter::fill_screen(ScreenCharacter)for convenience.
- Added
Graphics320x200x256mode. - Implemented
ScreenforGraphics640x480x16.
- Registers moved
vga::registers. Planeconverted toReadPlaneandPlaneMask.- Register read/write ability removed from
Vga. - Public access added to
Vgafields. TextWriter::get_widthandTextWriter::get_heightmoved to aScreentrait.Color16Bitrenamed toColor16.
- Added a new
Screentrait for dealing with the size of a screen. - Added a
GraphicsWritertrait for dealing with vga graphics. - Added
Graphics640x480x16::clear_screen. - Added
Graphics640x480x16::draw_line. - Added
Graphics640x480x16::draw_character. - Added
vga::drawing::Pointfor drawing lines.
ScreenCharacter::newnow takes aTextModeColorinstead of 2Color16Bit.
- Added
ScreenCharacter::get_character. - Added
ScreenCharacter::get_color. - Added
TextWriter::read_character.