@@ -380,10 +380,10 @@ int c6847_screen_mode_enable( Environment * _environment, ScreenMode * _screen_m
380
380
// 64 x 32 elements is available in the display area. The element area is four
381
381
// dot-clocks wide by six lines high.
382
382
case TILEMAP_MODE_SEMIGRAPHICS4 : // Semigraphics 4 64 × 32 8 512
383
- _environment -> screenWidth = 64 * 4 ;
384
- _environment -> screenHeight = 32 * 6 ;
385
- _environment -> screenTilesWidth = 64 ;
386
- _environment -> screenTilesHeight = 32 ;
383
+ _environment -> screenWidth = 64 ;
384
+ _environment -> screenHeight = 32 ;
385
+ _environment -> screenTilesWidth = 32 ;
386
+ _environment -> screenTilesHeight = 16 ;
387
387
_environment -> screenColors = 4 ;
388
388
// Semigraphic-4 0 X X 0 0 0 0 32x16 ch, 64x32 pixels
389
389
SET_VIDEOAT_400 ;
@@ -406,10 +406,10 @@ int c6847_screen_mode_enable( Environment * _environment, ScreenMode * _screen_m
406
406
// one of four colors in the display box. A 512 byte display memory is required.
407
407
// The element area is four dot-clocks wide by four lines high.
408
408
case TILEMAP_MODE_SEMIGRAPHICS6 : // Semigraphics 6 64 × 48 4 512
409
- _environment -> screenWidth = 64 * 8 ;
410
- _environment -> screenHeight = 48 * 12 ;
411
- _environment -> screenTilesWidth = 64 ;
412
- _environment -> screenTilesHeight = 48 ;
409
+ _environment -> screenWidth = 64 ;
410
+ _environment -> screenHeight = 48 ;
411
+ _environment -> screenTilesWidth = 32 ;
412
+ _environment -> screenTilesHeight = 16 ;
413
413
_environment -> screenColors = 4 ;
414
414
// Semigraphic-6 0 X X 1 0 0 0 64x48 pixels
415
415
SET_VIDEOAT_400 ;
@@ -433,10 +433,10 @@ int c6847_screen_mode_enable( Environment * _environment, ScreenMode * _screen_m
433
433
// available in the display area. The element area is four dot-clocks wide
434
434
// by three lines high.
435
435
case TILEMAP_MODE_SEMIGRAPHICS8 : // Semigraphics 8 64 × 64 2 512
436
- _environment -> screenWidth = 64 * 8 ;
437
- _environment -> screenHeight = 64 * 12 ;
438
- _environment -> screenTilesWidth = 64 ;
439
- _environment -> screenTilesHeight = 64 ;
436
+ _environment -> screenWidth = 64 ;
437
+ _environment -> screenHeight = 64 ;
438
+ _environment -> screenTilesWidth = 32 ;
439
+ _environment -> screenTilesHeight = 16 ;
440
440
_environment -> screenColors = 4 ;
441
441
cpu_store_16bit ( _environment , "CLIPX1" , 0 );
442
442
cpu_store_16bit ( _environment , "CLIPX2" , 63 );
@@ -450,10 +450,10 @@ int c6847_screen_mode_enable( Environment * _environment, ScreenMode * _screen_m
450
450
// display memory is required. A density of 64 x 96 elements is available in the
451
451
// display area. The element area is four dot-clocks wide by two lineshigh.
452
452
case TILEMAP_MODE_SEMIGRAPHICS12 : // Semigraphics 6 64 × 96 1 3072
453
- _environment -> screenWidth = 64 * 8 ;
454
- _environment -> screenHeight = 96 * 12 ;
455
- _environment -> screenTilesWidth = 64 ;
456
- _environment -> screenTilesHeight = 96 ;
453
+ _environment -> screenWidth = 64 ;
454
+ _environment -> screenHeight = 96 ;
455
+ _environment -> screenTilesWidth = 32 ;
456
+ _environment -> screenTilesHeight = 16 ;
457
457
_environment -> screenColors = 4 ;
458
458
cpu_store_16bit ( _environment , "CLIPX1" , 0 );
459
459
cpu_store_16bit ( _environment , "CLIPX2" , 63 );
@@ -468,10 +468,10 @@ int c6847_screen_mode_enable( Environment * _environment, ScreenMode * _screen_m
468
468
// elements is available in the display are. The element area is four
469
469
// dot-clocks wide by one line high.
470
470
case TILEMAP_MODE_SEMIGRAPHICS24 : // Semigraphics 6 64 × 96 1 3072
471
- _environment -> screenWidth = 64 * 8 ;
472
- _environment -> screenHeight = 96 * 12 ;
473
- _environment -> screenTilesWidth = 64 ;
474
- _environment -> screenTilesHeight = 96 ;
471
+ _environment -> screenWidth = 64 ;
472
+ _environment -> screenHeight = 96 ;
473
+ _environment -> screenTilesWidth = 32 ;
474
+ _environment -> screenTilesHeight = 16 ;
475
475
_environment -> screenColors = 4 ;
476
476
cpu_store_16bit ( _environment , "CLIPX1" , 0 );
477
477
cpu_store_16bit ( _environment , "CLIPX2" , 63 );
0 commit comments