Double byte chars

BlitzPlus Forums/BlitzPlus Programming/Double byte chars

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You are correct..duh..that is KILObytes.

However, using 16-bit graphics, my original calculations are correct.

20x20 pixels = 400 bits * 16 planes = 6400 BITS. 6400 / 8 = 800 bytes.

13400 characters at 800 bytes (once again, 16 bit mode) = 10720000 BYTES

10720000 Bytes = 10468.75 KILOBYTES
10468.75 Kilobytes = 10.223388671875 MEGABYTES

10% would roughly be 1 MEGABYTE. That is acceptable.

Sorry...but I did that at work really fast...I'm really not that bad with numbers!

cb