Vastly overhauled the UI, there's now a completely new Settings dialog as well as a status bar with disk activity icons and removable drive menus;
Thoroughly clean up the code to vastly reduce the number of compiler warnings and found and fixed several bugs in the process; Applied all mainline PCem commits; Added SCSI hard disk emulation; Commented out all unfinished machines and graphics cards; Added the AOpen AP53 and ASUS P/I-P55T2 machines as well as another Tyan 440FX machine, all three with AMI WinBIOS (patch from TheCollector1995); Added the Diamond Stealth 3D 3000 (S3 ViRGE/VX) graphics card (patch from TheCollector1995); Added the PS/2 XT IDE (AccuLogic) HDD Controller (patch from TheCollector1995); Added Microsoft/Logitech Bus Mouse emulation (patch from waltje); Overhauled the makefiles (patch from waltje); Added the Adaptec AHA-1542CF SCSI controller (patch from waltje); Added preliminary (but still unfinished) Adaptec AHA-154x SCSI controller BIOS support (patch from waltje); Added an ISABugger debugging device (patch from waltje); Added sanity checks to the Direct3D code.
This commit is contained in:
11
src/lpt.c
11
src/lpt.c
@@ -4,6 +4,7 @@
|
||||
#include "ibm.h"
|
||||
#include "io.h"
|
||||
|
||||
#include "dac.h"
|
||||
#include "lpt.h"
|
||||
|
||||
static uint8_t lpt1_dat, lpt2_dat;
|
||||
@@ -14,11 +15,11 @@ void lpt1_write(uint16_t port, uint8_t val, void *priv)
|
||||
switch (port & 3)
|
||||
{
|
||||
case 0:
|
||||
writedac(val);
|
||||
writedac(port, val);
|
||||
lpt1_dat = val;
|
||||
break;
|
||||
case 2:
|
||||
writedacctrl(val);
|
||||
writedacctrl(port, val);
|
||||
lpt1_ctrl = val;
|
||||
break;
|
||||
}
|
||||
@@ -42,11 +43,11 @@ void lpt2_write(uint16_t port, uint8_t val, void *priv)
|
||||
switch (port & 3)
|
||||
{
|
||||
case 0:
|
||||
writedac(val);
|
||||
writedac(port, val);
|
||||
lpt2_dat = val;
|
||||
break;
|
||||
case 2:
|
||||
writedacctrl(val);
|
||||
writedacctrl(port, val);
|
||||
lpt2_ctrl = val;
|
||||
break;
|
||||
}
|
||||
@@ -72,7 +73,7 @@ void lpt_init()
|
||||
io_sethandler(0x0378, 0x0003, lpt1_read, NULL, NULL, lpt1_write, NULL, NULL, NULL);
|
||||
io_sethandler(0x0278, 0x0003, lpt2_read, NULL, NULL, lpt2_write, NULL, NULL, NULL);
|
||||
lpt_addr[0] = 0x378;
|
||||
lpt_addr[1] = 0x378;
|
||||
lpt_addr[1] = 0x278;
|
||||
}
|
||||
|
||||
void lpt1_init(uint16_t port)
|
||||
|
||||
Reference in New Issue
Block a user