toaruos/loader
Kevin Lange c0f45e0b7f VESA mode switching support.
BIOS execution is provided through the `v8086` module, which provides
software emulation of an 8086 processor. It is not currently working
with some BIOSes and may (read: probably will be) replaced with another
emulator (x86emu comes to mind) at some point in the near future. In the
meantime, the default video mode for QEMU works with this and it's
enough to get us on real VESA instead of fake VBE. The `bochs` module
will be renamed in a future commit. Userspace programs have been
adjusted to work at bitrates other than 32 *POORLY*. If you write pixels
left-to-right, they should work fine. They only work with 24-bpp
otherwise, and then you need to be careful of what pixels you are
writing when, or you will overwrite things in other pixels.

You may pass a commandline argument like the following to set display
modes:

  vid=vesa,1024,768

Or for stranger modes under QEMU or Bochs, use the bochs VBE
initializer:

  vid=bochs,1280,720

Note that the address of the linear framebuffer is still found via
hackish probing instead of PCI or trusting the VBE information, so if
you have things in the wrong memory ranges (0xE0000000+), be prepared to
have them get read.

Once again, this entire commit is a massive hack. I am happy that it
worked, and I will continue to make it less hacky, but in the meantime,
this is what we've got.

Happy holidays.
2011-12-25 00:40:40 -06:00
..
cat.c [cat] More efficient, but still stupid, cat 2011-11-18 00:53:19 -06:00
clear.c [clear] Clear properly for an xterm 2011-11-26 16:18:34 -06:00
crtbegin.s comment the crt0 2011-04-18 15:09:44 -05:00
echo.c [echo] New lines in echo 2011-04-19 01:50:33 -05:00
hello.c [bin] Some minor updates to the test apps 2011-04-15 16:31:58 -05:00
ld.c oh god oh god it hurts 2011-04-29 19:54:07 -05:00
link.ld [sys] And now for the user side too 2011-04-11 16:51:31 -05:00
sh.c [task] Drop debug output for fork stacks (that's all cleared up) 2011-04-18 15:04:27 -05:00
syscall.c VESA mode switching support. 2011-12-25 00:40:40 -06:00
yes.c [bin] Yes. 2011-04-15 13:18:01 -05:00