Difference between revisions of "DirectFB"
Jump to navigation
Jump to search
Hopspitfire (talk | contribs) |
Dudestatus (talk | contribs) m (→Setting up DirectFB in Debian: -- This edit is necessary for propper color emulation in gnuboy.) |
||
Line 6: | Line 6: | ||
cat > /etc/directfbrc | cat > /etc/directfbrc | ||
mode=320x480 | mode=320x480 | ||
− | pixelformat= | + | depth=16 |
+ | pixelformat=RGB16 | ||
no-vt | no-vt | ||
no-cursor | no-cursor |
Revision as of 05:50, 30 November 2009
Setting up DirectFB in Debian
1. Get into your Debian chroot: <source lang="bash"> apt-get install -y libdirectfb-1.0-0 libdirectfb-bin libdirectfb-extra cat > /etc/directfbrc mode=320x480 depth=16 pixelformat=RGB16 no-vt no-cursor bg-color=00000000 hardware
- Uncomment below line for the keyboard to work under DFBTerm - http://ur1.ca/5yry
- Should just make this default after testing to make sure it doesn't harm the DFB games...
- You can also do "dfbterm --size=50x30 --dfb:no-linux-input-grab" instead of putting it here.
- no-linux-input-grab
- Press Ctrl+D.
</source>
Credit: Palm TED MFT scripts.