How do I detect if desktop is 256 color?

BlitzMax Forums/BlitzMax Programming/How do I detect if desktop is 256 color?

Check out the desktopext module from d:bug. It reports the desktop width, height, depth and hertz. It is plenty sufficient and I would by no means want to use a large library like SDL to just find out such things.