Welcome, Guest. Please login or register.

Author Topic: AmigaOS 4.x to support about 180 Graphics card chips  (Read 21001 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Georg

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 90
    • Show all replies
Re: AmigaOS 4.x to support about 180 Graphics card chips
« on: February 19, 2003, 03:00:04 PM »
Hmm ... looking at this SNAP SDK it seems they did not think about ~"non-native-endianess 15/16 bit
pixel formats".

For example little endian 15/16 bit modes (PC gfx
card) on big endian machine (Mac/A1).

One cannot describe such pixel formats with
red/green/blue shifts/masks alone. As RECTFMT_RGB15PC for example looks like this
in memory:

 GGGBBBBB 0RRRRRGG

No problem to describe as mask/shift operations
on little endian machines, but on big endian machines you have to additionally swap bytes before
the WORD (pixel) write.