Previous 15994 Revisions Next

r5028 Monday 15th June, 2009 at 13:44:18 UTC by Miodrag Milanović
[M6847] in text_mode() external character rom must be accessed only if M6847_AS is low [Roberto Lavarone]
[src/mess/video]m6847.c

src/mess/video/m6847.c
r5027r5028
12001200      bg_color = color(m6847->colordata[attr_index][(byte & 0x7F) / 16][0]);
12011201      fg_color = color(m6847->colordata[attr_index][(byte & 0x7F) / 16][1]);
12021202     
1203      if( attr & M6847_INTEXT) {   
1203      if( attr & M6847_INTEXT && !(attr & M6847_AS)) {
12041204         if (m6847->get_char_rom) {
12051205            char_data = m6847->get_char_rom(machine,byte,scanline % 12);
12061206         } else {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team