Thanks Clyde.
Like Clyde says, you need to put a 256x256 bitmap in the program folder and name it tex.bmp. This was just a quick hack to test out the routines. If you have FeeBasic .17b you can change the filename in the bload statement.
I'll whip up an interactive version in Delphi so you can weak the settings.