trunk/src/mess/video/bbc.c
| r26733 | r26734 | |
| 10 | 10 | mames built in mc6845, there are a number of features now incorrect |
| 11 | 11 | or missing in this build: |
| 12 | 12 | |
| 13 | | Cursors are missing. |
| 14 | | Mode 7 is shifted to the right by a couple of character. |
| 15 | 13 | BBC split modes no longer work (Like is used in Elite.) |
| 16 | 14 | |
| 17 | 15 | ******************************************************************************/ |
| r26733 | r26734 | |
| 169 | 167 | bbc_state *state = device->machine().driver_data<bbc_state>(); |
| 170 | 168 | const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); |
| 171 | 169 | |
| 172 | | //logerror("MC6845_UPDATE_ROW: ma=%d, ra=%d, y=%d, x_count=%d\n",ma,ra,y,x_count); |
| 173 | | |
| 174 | 170 | if (state->m_videoULA_teletext_normal_select) |
| 175 | 171 | { |
| 176 | 172 | state->m_trom->lose_w(1); |
| r26733 | r26734 | |
| 182 | 178 | //Teletext Latch bit 6 is only passed onto bits 6 on the Teletext chip if DE is true |
| 183 | 179 | //Teletext Latch bit 7 goes to LOSE on the Teletext chip |
| 184 | 180 | |
| 185 | | state->m_trom->write((state->m_Teletext_Latch&0x3f)|(state->m_Teletext_Latch&0x40)); |
| 186 | | |
| 187 | | state->m_trom->f1_w(1); |
| 188 | | state->m_trom->f1_w(0); |
| 189 | | |
| 190 | 181 | if (((ma>>13)&1)==0) |
| 191 | 182 | { |
| 192 | 183 | state->m_Teletext_Latch=0; |
| 193 | 184 | } else { |
| 194 | 185 | state->m_Teletext_Latch=(state->m_BBC_Video_RAM[state->calculate_video_address(ma+x_pos,ra)]); |
| 195 | 186 | } |
| 187 | |
| 188 | state->m_trom->write((state->m_Teletext_Latch&0x3f)|(state->m_Teletext_Latch&0x40)); |
| 189 | |
| 190 | state->m_trom->f1_w(1); |
| 191 | state->m_trom->f1_w(0); |
| 192 | |
| 196 | 193 | for(int pixelno=0;pixelno<6;pixelno++) |
| 197 | 194 | { |
| 198 | 195 | state->m_trom->tr6_w(1); |