Previous 15994 Revisions Next

r3955 Monday 22nd December, 2008 at 19:24:12 UTC by Wilbert Pol
Changed some comments in the video/pc_ega code
[src/mess/video]pc_ega.c

src/mess/video/pc_ega.c
r3954r3955
116116         | +-------------- reserved/unused
117117         +---------------- reserved/unused
118118
119We think bits 4 and 5 of the status register contain some information about the
120current pixel that is being drawn. Those bits do not seem to be documented.
121119
122120
123121The EGA graphics card introduces a lot of new indexed registers to handle the
r3954r3955
949947
950948static READ8_HANDLER( pc_ega8_3c0_r )
951949{
952   UINT8   dips = 0x08;   /* 0x01 - EGA only, 80x25 color(?) */
950   UINT8   dips = 0x00;   /* 0x01 - EGA only, 80x25 color(?) */
953951/*
9549520000 - 40x25
9550001 - no display (text at a0000) and writes to 0c00xx (?), seems to be a graphics mode
953       CRTC_EGA config screen: HTOTAL: 0x1e0  VTOTAL: 0x105  MAX_X: 0x13f  MAX_Y: 0xc7  HSYNC: 0x188-0x1af  VSYNC: 0xe1-0xe3  Freq: 61.226464fps
9540001 - no display (text at a0000) and writes to 0c00xx (?), graphics mode?
955       CRTC_EGA config screen: HTOTAL: 0x3a8  VTOTAL: 0x105  MAX_X: 0x27f  MAX_Y: 0xc7  HSYNC: 0x2f0-0x2b7  VSYNC: 0xe1-0xe2  Freq: 60.684637fps
9569560010 - 40x25
9570011 - no display
957       CRTC_EGA config screen: HTOTAL: 0x1e0  VTOTAL: 0x105  MAX_X: 0x13f  MAX_Y: 0xc7  HSYNC: 0x188-0x1af  VSYNC: 0xe1-0xe3  Freq: 61.226464fps
9580011 - no display (text at a0000) and writes to 0c00xx (?), graphics mode?
959       CRTC_EGA config screen: HTOTAL: 0x3a8  VTOTAL: 0x105  MAX_X: 0x27f  MAX_Y: 0xc7  HSYNC: 0x2f0-0x2b7  VSYNC: 0xe1-0xe2  Freq: 60.684637fps
9589600100 - 40x25
961       CRTC_EGA config screen: HTOTAL: 0x1e0  VTOTAL: 0x105  MAX_X: 0x13f  MAX_Y: 0xc7  HSYNC: 0x188-0x1af  VSYNC: 0xe1-0xe3  Freq: 61.226464fps
9599620101 - no display
9609630110 - 40x25
9619640111 - no display
9629651000 - 40x25
9639661001 - no diplsay (text at a0000)
9649671010 - 40x25
9681011 -
9659691100 - 40x25
9701101 -
9669711110 - 40x25
9721111 -
967973*/
968974   int data = 0xff;
969975

Previous 15994 Revisions Next


© 1998-2018 The MESS Team