Previous 15994 Revisions Next

r11542 Saturday 14th May, 2011 at 10:59:37 UTC by Miodrag Milanović
dgnbeta - fixed regression, forgot that it is not 16bit address :) (no whatsnew)
[src/mess/drivers]dgn_beta.c
[src/mess/video]dgn_beta.c

src/mess/video/dgn_beta.c
r11541r11542
107107      UINT8 *chr_gen = device->machine().region("gfx1")->base();
108108      for ( i = 0; i < x_count; i++ )
109109      {
110         UINT16 offset = ( (( ma + i ) << 1 ) | ((state->m_GCtrl & GCtrlAddrLines)<<8));
111
110         UINT32 offset = ( ( ma + i ) | ((state->m_GCtrl & GCtrlAddrLines)<<8)) << 1;
112111         UINT8 chr = videoram[ offset ];
113112         UINT8 attr = videoram[ offset +1 ];
114113
r11541r11542
174173   {
175174      for ( i = 0; i < x_count; i++ )
176175      {
177         UINT16 offset = ((((ma + i ) & 0x1FFF) << 3) | (ra & 0x07)) << 1;
176         UINT32 offset = ((((ma + i ) & 0x1FFF) << 3) | (ra & 0x07)) << 1;
178177     
179178         UINT8 Lo = videoram[ offset ];
180179         UINT8 Hi = videoram[ offset +1 ];
src/mess/drivers/dgn_beta.c
r11541r11542
351351
352352   MCFG_FLOPPY_4_DRIVES_ADD(dgnbeta_floppy_config)
353353   
354   MCFG_MC6845_ADD("crtc", MC6845, XTAL_12_288MHz / 8, dgnbeta_crtc6845_interface)   
354   MCFG_MC6845_ADD("crtc", HD6845, XTAL_12_288MHz / 16, dgnbeta_crtc6845_interface)    //XTAL is guessed
355355
356356   /* internal ram */
357357   MCFG_RAM_ADD(RAM_TAG)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team