ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/video_vosf.h
(Generate patch)

Comparing BasiliskII/src/Unix/video_vosf.h (file contents):
Revision 1.8 by cebix, 2000-11-03T18:21:42Z vs.
Revision 1.9 by cebix, 2000-11-30T16:09:03Z

# Line 130 | Line 130 | static void do_fbcopy_raw(uint8 * dest,
130   #define FB_FUNC_NAME do_fbcopy_16_nbo
131   #include "video_blit.h"
132  
133 < // opposite byte order (untested)
133 > // opposite byte order
134  
135   #define FB_BLIT_1(dst, src) \
136 <        (dst = ((((src) >> 6) & 0xff) | (((src) & 0x60) << 9)))
136 >        (dst = ((((src) >> 7) & 0xff) | (((src) << 9) & 0xc000) | (((src) << 8) & 0x1f00)))
137  
138   #define FB_BLIT_2(dst, src) \
139 <        (dst = ((((src) >> 6) & 0x00ff00ff) | (((src) & 0x00600060) << 9)))
139 >        (dst = ((((src) >> 7) & 0x00ff00ff) | (((src) << 9) & 0xc000c000) | (((src) << 8) & 0x1f001f00)))
140  
141   #define FB_DEPTH 16
142   #define FB_FUNC_NAME do_fbcopy_16_obo
# Line 214 | Line 214 | static fbcopy_func fbcopy_funcs[ID_DEPTH
214   /*  1 bpp */    {       WD(fbcopy_raw)          ,       WD(fbcopy_raw)          },      // NT
215   /*  8 bpp */    {       WD(fbcopy_raw)          ,       WD(fbcopy_raw)          },      // OK (NBO)
216   /* 15 bpp */    {       WD(fbcopy_15_obo)       ,       WD(fbcopy_raw)          },      // NT
217 < /* 16 bpp */    {       WD(fbcopy_16_obo)       ,       WD(fbcopy_16_nbo)       },      // NT
217 > /* 16 bpp */    {       WD(fbcopy_16_obo)       ,       WD(fbcopy_16_nbo)       },      // OK (OBO)
218   /* 24 bpp */    {       WD(fbcopy_24_obo)       ,       WD(fbcopy_raw)          }       // NT
219   #else
220                                  /*      opposite byte order             native byte order       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines