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:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* CPU type handler.
|
||||
*
|
||||
* Version: @(#)cpu.c 1.0.7 2017/11/04
|
||||
* Version: @(#)cpu.c 1.0.8 2017/11/27
|
||||
*
|
||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||
* leilei,
|
||||
@@ -1244,6 +1244,21 @@ void cpu_set()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
char *
|
||||
cpu_current_pc(char *bufp)
|
||||
{
|
||||
static char buff[10];
|
||||
|
||||
if (bufp == NULL)
|
||||
bufp = buff;
|
||||
|
||||
sprintf(bufp, "%04X:%04X", CS, cpu_state.pc);
|
||||
|
||||
return(bufp);
|
||||
}
|
||||
|
||||
|
||||
void cpu_CPUID()
|
||||
{
|
||||
switch (machines[machine].cpu[cpu_manufacturer].cpus[cpu].cpu_type)
|
||||
|
||||
Reference in New Issue
Block a user