Jump to content


Popular Content

Showing content with the highest reputation on 09/30/2018 in Blog Comments

  1. 1 point
    I’ve typicslly handled things like this by declaring one array and then multiplying by a fixed offset to get to image I want: const unsigned char Images[] = { // Timmy 0b00111100, 0b01011010, 0b00100100, 0b00011000, 0b01111110, 0b10111101, 0b10111101, 0b00111100, 0b00100100, 0b00100100, // RedBox 0b11111111, 0b10000011, 0b10111101, 0b10111101, 0b10000011, 0b10110111, 0b10111011, 0b10111101, 0b11111111, // more images here }; You could also declare it as a two dimensional array if you wanted to hide the multiply.
  2. 1 point
    I just checked Coleco.h header and you're correct. typedef unsigned char byte;
  • Create New...