many thanks Jim. it's the code that relsoft kindly posted in the emulate bload thread.
Im interested with the ubytes, as it seems to make smaller exes.
if you look at how rbz's bmp2raw / bin2bas files are done, there is a raw bas file made up with &h00 - &hff, i've heard it called palette indexing. I cant get the raw information to match up and save properly. I also don't know where and how that is stored, to get at it.