Added dummy BT485 emulation for logging purposes, proper BT485 implementation to come.
This commit is contained in:
15
src/vid_bt485_ramdac.h
Normal file
15
src/vid_bt485_ramdac.h
Normal file
@@ -0,0 +1,15 @@
|
||||
typedef struct bt485_ramdac_t
|
||||
{
|
||||
int magic_count;
|
||||
uint8_t command;
|
||||
int windex, rindex;
|
||||
uint16_t regs[256];
|
||||
int reg_ff;
|
||||
int rs2;
|
||||
int rs3;
|
||||
} bt485_ramdac_t;
|
||||
|
||||
void bt485_ramdac_out(uint16_t addr, uint8_t val, sdac_ramdac_t *ramdac, svga_t *svga);
|
||||
uint8_t bt485_ramdac_in(uint16_t addr, sdac_ramdac_t *ramdac, svga_t *svga);
|
||||
|
||||
float bt485_getclock(int clock, void *p);
|
||||
Reference in New Issue
Block a user