summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/pc_aga.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/pc_aga.h')
-rw-r--r--src/mess/video/pc_aga.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/mess/video/pc_aga.h b/src/mess/video/pc_aga.h
new file mode 100644
index 00000000000..24c8856f669
--- /dev/null
+++ b/src/mess/video/pc_aga.h
@@ -0,0 +1,43 @@
+/*
+ pc cga/mda combi adapters
+
+ one type hardware switchable between cga and mda/hercules
+ another type software switchable between cga and mda/hercules
+
+ some support additional modes like
+ commodore pc10 320x200 in 16 colors
+
+
+ // aga
+ // 256 8x8 thick chars
+ // 256 8x8 thin chars
+ // 256 9x14 in 8x16 chars, line 3 is connected to a10
+ ROM_LOAD("aga.chr", 0x00000, 0x02000, CRC(aca81498))
+ // hercules font of above
+ ROM_LOAD("hercules.chr", 0x00000, 0x1000, CRC(7e8c9d76))
+
+*/
+
+#define AGA_SCREEN_NAME "screen"
+#define AGA_MC6845_NAME "mc6845_aga"
+
+MACHINE_CONFIG_EXTERN( pcvideo_aga );
+MACHINE_CONFIG_EXTERN( pcvideo_pc200 );
+
+
+typedef enum AGA_MODE { AGA_OFF, AGA_COLOR, AGA_MONO } AGA_MODE;
+void pc_aga_set_mode(running_machine &machine, AGA_MODE mode);
+
+READ8_HANDLER( pc_aga_videoram_r );
+WRITE8_HANDLER( pc_aga_videoram_w );
+
+READ8_HANDLER( pc200_videoram_r );
+WRITE8_HANDLER( pc200_videoram_w );
+READ16_HANDLER( pc200_videoram16le_r );
+WRITE16_HANDLER( pc200_videoram16le_w );
+
+READ8_HANDLER( pc200_cga_r );
+WRITE8_HANDLER( pc200_cga_w );
+READ16_HANDLER( pc200_cga16le_r );
+WRITE16_HANDLER( pc200_cga16le_w );
+