Previous 199869 Revisions Next

r24765 Tuesday 6th August, 2013 at 01:11:59 UTC by Angelo Salese
Some bizzarro-world video documentation ...
[src/mess/drivers]pc9801.c

trunk/src/mess/drivers/pc9801.c
r24764r24765
316316
317317====
318318
319Documentation notes (for unemulated stuff, provided by ):
319Documentation notes (for unemulated stuff, courtesy of T. Kodaka and T. Kono):
320320
321321IDE:
322322(r/w)
r24764r24765
3403400x074C      |BYTE| W |Digital Output Register      |03F6h
3413410x074E      |BYTE| R |Digital Input Register       |03F7h
342342
343Video F/F (i/o 0x68):
344KAC mode (video ff = 5) is basically how the kanji ROM could be accessed, 1=thru the CG window ports, 0=thru the kanji
345window RAM at 0xa4***.
346My guess is that the system locks up or doesn't have any data if the wrong port is being accessed.
347
348Ext Video F/F (i/o 0x6a):
3490000 011x enables EGC
3500000 111x enables PC-98GS
3510010 000x enables multicolor (a.k.a. 256 colors mode)
3520010 001x enables 65'536 colors
3530010 010x 64k color palette related (?)
3540010 011x full screen reverse (?)
3550010 100x text and gfxs synthesis (?)
3560010 101x 256 color palette registers fast write (?)
3570010 110x 256 color overscan (?)
3580100 000x (0) CRT (1) Plasma/LCD
3590100 001x text and gfxs right shifted one dot (undocumented behaviour)
3600100 010x hi-res mode in PC-9821
3610110 000x EEGC mode
3620110 001x VRAM config (0) plain (1) packed
3630110 011x AGDC mode
3640110 100x 480 lines
3650110 110x VRAM bitmap orientation (0) MSB left-to-right LSB (1) LSB left-to-right MSB
3661000 001x CHR GDC clock (0) 2,5 MHz (1) 5 MHz
3671000 010x BMP GDC clock
3681000 111x related to GFX accelerator cards (like Vision864)
3691100 010x chart GDC operating mode (?)
370(everything else is undocumented / unknown)
371
343372****************************************************************************************************/
344373
345374#include "emu.h"
r24764r24765
22622291/* TODO: is mapping correct? */
22632292READ16_MEMBER(pc9801_state::pc9801rs_ide_io_1_r)
22642293{
2265
22662294   return m_ide->read_cs0(space, offset >> 1, offset & 1 ? 0xff00 : 0x00ff) >> 8;
22672295}
22682296

Previous 199869 Revisions Next


© 1997-2024 The MAME Team