Initial submission of the PCem-Experimental source code.

This commit is contained in:
OBattler
2016-06-26 00:34:39 +02:00
parent 09d7c4384f
commit fd2a5bc9f5
610 changed files with 184352 additions and 0 deletions

11
src/vid_stg_ramdac.h Normal file
View File

@@ -0,0 +1,11 @@
typedef struct stg_ramdac_t
{
int magic_count;
uint8_t command;
int index;
uint8_t regs[256];
} stg_ramdac_t;
void stg_ramdac_out(uint16_t addr, uint8_t val, stg_ramdac_t *ramdac, svga_t *svga);
uint8_t stg_ramdac_in(uint16_t addr, stg_ramdac_t *ramdac, svga_t *svga);
float stg_getclock(int clock, void *p);