Re-worked mouse code to be devices (to allow for configuration.)

Re-worked the system pathnames (pc.c), renamed cfg_path to usr_path.
Other small things here and there.
Logitech bus mouse re-worked, should be OK now.
This commit is contained in:
waltje
2017-12-04 11:59:26 -05:00
parent 5bf569759e
commit fc34a6eaf3
35 changed files with 1630 additions and 1308 deletions

View File

@@ -8,7 +8,7 @@
*
* CPU type handler.
*
* Version: @(#)cpu.h 1.0.3 2017/11/04
* Version: @(#)cpu.h 1.0.4 2017/11/27
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* leilei,
@@ -151,7 +151,7 @@ typedef struct {
int checked; /*Non-zero if selector is known to be valid*/
} x86seg;
typedef union MMX_REG {
typedef union {
uint64_t q;
int64_t sq;
uint32_t l[2];
@@ -405,6 +405,8 @@ extern uint8_t cyrix_read(uint16_t addr, void *priv);
extern void loadseg(uint16_t seg, x86seg *s);
extern void loadcs(uint16_t seg);
extern char *cpu_current_pc(char *bufp);
extern void cpu_update_waitstates(void);
extern void cpu_set(void);