summaryrefslogtreecommitdiff
path: root/src/drivers/video/vga.c
AgeCommit message (Collapse)Author
2019-05-02tried to test on real Unisys, power-cycles, as in bochsAndreas Baumann
2017-07-24added print_name method to all driversAndreas Baumann
removed superfluos empty methods in abstract drivers moved printing of info to method in rtl8139 driver
2017-07-22started to code RTL8139 network driver, for now setting io_base and IRQAndreas Baumann
2017-07-22separated video driver in a virtual video driver and a specificAndreas Baumann
VGA video driver
2017-07-22moved color handling to video driver from generic VGA driverAndreas Baumann
2017-07-21changed video mode management, moved to video driver,Andreas Baumann
the VGA driver registers his specific mode data with the video driver kernel function now use virtual functions of the video driver
2017-07-20started to abstract video driversAndreas Baumann
2017-07-16introduced classes of driver types (graphics, mouse, keyboard, network, etc.)Andreas Baumann
removed direct vga_init from kernel.c, using pci for this now, get the driver of type graphics from driver_manager
2017-07-15started to make driver construtors similar (keyboard, mouse)Andreas Baumann
passing context around to pci scanning function for driver initialization
2017-07-15reworked driver init and vtable, taking the interrupt manager and the contextAndreas Baumann
as parameters when creating a driver
2017-07-15added a dummy RTL8139 network driverAndreas Baumann
added register interrupt handler methods to drivers (but I'm pretty unsure about them) setting network in qemu startup and using RTL8139 emulation drivers
2017-07-12added segment_size to vga mode structure, using for memcpy in Z bufferAndreas Baumann
refreshing the video memory and when allocating the Z buffer
2017-07-10VGA Z-buffer is now dynamically allocated and freedAndreas Baumann
memory management can reuse the last pointer malloced if freed again
2017-07-08added dedicated kernel entry to avoid address reordering under compiler ↵Andreas Baumann
optimization affect the entry poin 0x8800 of kernel_main (now kernel_entry)
2017-07-05removed superfluous context in vga driver (was not used)Andreas Baumann
added dummy methods and driver_init for anonymous driver initialization
2017-07-02simplified some driver manager code around calling virtual driver methodsAndreas Baumann
declared method tables const per class
2017-07-02some more vtable initialization fixesAndreas Baumann
2017-06-30almost got a complete mode switch (vga graphics back to text) workingAndreas Baumann
some cleanup in VGA driver code
2017-06-30text widget has a constant buffer and owns the string to draw nowAndreas Baumann
(passing a const char * from a local stack context is not really a good idea!) added more efficiet draw method for characters in vga driver protected desktop for now against too often redraws (boolean global variable needs_redraw, this is later a soffisticated set-of-areas-to -redraw algorithm)
2017-06-30playing with Z buffering in VGA driverAndreas Baumann
2017-06-30added a third widget (for drawing fonts)Andreas Baumann
fixed drawing races due to mouse interrupts
2017-06-30added a VGA wait for retrace in graphics modeAndreas Baumann
2017-06-24printing whole ASCII font in VGA graphics modeAndreas Baumann
2017-06-24made VGA graphical font smaller (we only want ASCII for now)Andreas Baumann
some performance improvements in VGA graphics mode
2017-06-24started to make some things in graphical VGA driver fasterAndreas Baumann
2017-06-21improved VGA colorsAndreas Baumann
added basics of a desktop widget class
2017-06-17added the most complex VGA mode (640x480x4, only timings for now)Andreas Baumann
added graphics and text mode type parameter to vga_mode_t
2017-06-16playing with VGA font distance and characters bei being on the head or mirroredAndreas Baumann
2017-06-16switching mode text/graphics, text is distortedAndreas Baumann
2017-06-16first character printed in graphics modeAndreas Baumann
2017-06-15added a clear screen method to graphics mode VGA driverAndreas Baumann
2017-06-15some speed testsAndreas Baumann
2017-06-15made framebuffer segment a member of vga_mode_t, computing it onceAndreas Baumann
when vga_set_mode is called (because it will not change after every pixel)
2017-06-14got switch to graphical VGA mode workingAndreas Baumann
2017-06-13.Andreas Baumann
2017-06-13added empty stub for generic VGA driverAndreas Baumann