Previous 15994 Revisions Next

r2317 Monday 7th April, 2008 at 11:27:05 UTC by Robbbert
[ELECTRON] Fixed graphical error with mode 3 text.
[src/mess]messdriv.c
[src/mess/drivers]electron.c
[src/mess/video]electron.c

src/mess/video/electron.c
r2316r2317
138138      }
139139      break;
140140   case 3:
141      if ( ( scanline > 249 ) || ( scanline % 10 >= 8 ) ) {
141      if ( ( scanline > 249 ) || ( scanline % 10 >= 8 ) )
142142         fillbitmap( bitmap, 7, &r );
143      } else {
144         for( i = 0; i < 80; i++ ) {
143      else
144      {
145         for( i = 0; i < 80; i++ )
146         {
145147            UINT8 pattern = read_vram( ula.screen_addr + i * 8 );
146148            electron_plot_pixel( bitmap, x++, scanline, pal[(pattern>>7)&1] );
147149            electron_plot_pixel( bitmap, x++, scanline, pal[(pattern>>6)&1] );
r2316r2317
153155            electron_plot_pixel( bitmap, x++, scanline, pal[(pattern>>0)&1] );
154156         }
155157         ula.screen_addr += 1;
156         if ( ( scanline & 0x07 ) == 7 ) {
157            ula.screen_addr += ( 0x280 - 8 );
158         }
159158      }
159
160      if ( scanline % 10 == 9 ) ula.screen_addr += ( 0x280 - 8 );
160161      break;
161162   case 4:
162163   case 7:
src/mess/messdriv.c
r2316r2317
496496   /* TI 99 clones */
497497   DRIVER( tutor)      /* 1983? Tomy Tutor                           */
498498   DRIVER( geneve )   /* 1987? Myarc Geneve 9640                     */
499DRIVER( genmod )   /* 199?? Myarc Geneve 9640                     */
499   DRIVER( genmod )   /* 199?? Myarc Geneve 9640                     */
500500TESTDRIVER( ti99_4p )   /* 1996 SNUG 99/4P (a.k.a. SGCPU)               */
501501
502502   DRIVER( avigo )      /*                                       */
r2316r2317
860860     
861861   /* Bondwell */
862862   DRIVER( bw2 )
863   
863
864   /* Exeltel */
865TESTDRIVER( exeltel )   
866
867
864868/****************Games*******************************************************/
865869   /* Computer Electronic */
866870   DRIVER( mk1 )      /* Chess Champion MK I                        */
r2316r2317
885889   DRIVER( roma32 )      /* Roma                     */
886890
887891
892   DRIVER( ex800 )
888893#endif /* DRIVER_RECURSIVE */
src/mess/drivers/electron.c
r2316r2317
2727#include "formats/uef_cas.h"
2828#include "deprecat.h"
2929
30static const unsigned short electron_colour_table[8]=
31{
32   0,1,2,3,4,5,6,7
33};
34
3530static const rgb_t electron_palette[8]=
3631{
3732   MAKE_RGB(0x0ff,0x0ff,0x0ff),

Previous 15994 Revisions Next


© 1998-2018 The MESS Team