Previous 15994 Revisions Next

r5213 Monday 13th July, 2009 at 08:03:38 UTC by Robbbert
[TRS80] trs80m3 chars 192-255 display now as per manual. Still need to work out how the Japanese characters are selected.
[src/mess/video]trs80.c

src/mess/video/trs80.c
r5212r5213
148148         {
149149            chr = videoram[x+start_address];
150150
151            if (((chr & 0xc0) == 0xc0) && (~trs80_mode & 8))
152            {
153               if (ra < 8)
154                  gfx = FNT[((chr&0xbf)<<3) | ra ];
155               else
156                  gfx = 0;
157
158               *p++ = ( gfx & 0x80 ) ? 1 : 0;
159               *p++ = ( gfx & 0x40 ) ? 1 : 0;
160               *p++ = ( gfx & 0x20 ) ? 1 : 0;
161               *p++ = ( gfx & 0x10 ) ? 1 : 0;
162               *p++ = ( gfx & 0x08 ) ? 1 : 0;
163               *p++ = ( gfx & 0x04 ) ? 1 : 0;
164               *p++ = ( gfx & 0x02 ) ? 1 : 0;
165               *p++ = ( gfx & 0x01 ) ? 1 : 0;
166            }
167            else
151168            if ((chr & 0x80) && (~trs80_mode & 8))
152169            {
153170               gfxbit = 1<<((ra & 0x0c)>>1);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team