LPT4 was a thing in the pre PS/2 era

This commit is contained in:
Jasmine Iwanek
2022-01-30 19:15:27 -05:00
parent 9ffa688c13
commit e1c845e393
23 changed files with 101 additions and 39 deletions

View File

@@ -23,7 +23,7 @@
/* Configuration values. */
#define SERIAL_MAX 4
#define PARALLEL_MAX 3
#define PARALLEL_MAX 4
#define SCREEN_RES_X 640
#define SCREEN_RES_Y 480

View File

@@ -33,6 +33,20 @@ extern void lpt1_remove_ams(void);
#define lpt3_irq(a) lpt_port_irq(2, a)
#define lpt3_remove() lpt_port_remove(2)
#define lpt4_init(a) lpt_port_init(3, a)
#define lpt4_irq(a) lpt_port_irq(3, a)
#define lpt4_remove() lpt_port_remove(3)
/*
#define lpt5_init(a) lpt_port_init(4, a)
#define lpt5_irq(a) lpt_port_irq(4, a)
#define lpt5_remove() lpt_port_remove(4)
#define lpt6_init(a) lpt_port_init(5, a)
#define lpt6_irq(a) lpt_port_irq(5, a)
#define lpt6_remove() lpt_port_remove(5)
*/
void lpt_devices_init(void);
void lpt_devices_close(void);

View File

@@ -170,31 +170,32 @@
#define IDC_COMBO_LPT1 1070 /* ports config */
#define IDC_COMBO_LPT2 1071
#define IDC_COMBO_LPT3 1072
#define IDC_CHECK_SERIAL1 1073
#define IDC_CHECK_SERIAL2 1074
#define IDC_CHECK_SERIAL3 1075
#define IDC_CHECK_SERIAL4 1076
#define IDC_CHECK_PARALLEL1 1077
#define IDC_COMBO_LPT4 1073
#define IDC_CHECK_SERIAL1 1074
#define IDC_CHECK_SERIAL2 1075
#define IDC_CHECK_SERIAL3 1076
#define IDC_CHECK_SERIAL4 1077
#define IDC_CHECK_PARALLEL1 1078
#define IDC_CHECK_PARALLEL2 1078
#define IDC_CHECK_PARALLEL3 1079
#define IDC_CHECK_PARALLEL3 1080
#define IDC_OTHER_PERIPH 1080 /* storage controllers config */
#define IDC_COMBO_HDC 1081
#define IDC_CONFIGURE_HDC 1082
#define IDC_CHECK_IDE_TER 1083
#define IDC_BUTTON_IDE_TER 1084
#define IDC_CHECK_IDE_QUA 1085
#define IDC_BUTTON_IDE_QUA 1086
#define IDC_GROUP_SCSI 1087
#define IDC_OTHER_PERIPH 1081 /* storage controllers config */
#define IDC_COMBO_HDC 1082
#define IDC_CONFIGURE_HDC 1083
#define IDC_CHECK_IDE_TER 1084
#define IDC_BUTTON_IDE_TER 1085
#define IDC_CHECK_IDE_QUA 1086
#define IDC_BUTTON_IDE_QUA 1087
#define IDC_GROUP_SCSI 1088
#define IDC_COMBO_SCSI_1 1088
#define IDC_COMBO_SCSI_2 1089
#define IDC_COMBO_SCSI_3 1090
#define IDC_COMBO_SCSI_4 1091
#define IDC_CONFIGURE_SCSI_1 1092
#define IDC_CONFIGURE_SCSI_2 1093
#define IDC_CONFIGURE_SCSI_3 1094
#define IDC_CONFIGURE_SCSI_4 1095
#define IDC_CHECK_CASSETTE 1096
#define IDC_COMBO_SCSI_2 1090
#define IDC_COMBO_SCSI_3 1091
#define IDC_COMBO_SCSI_4 1092
#define IDC_CONFIGURE_SCSI_1 1093
#define IDC_CONFIGURE_SCSI_2 1094
#define IDC_CONFIGURE_SCSI_3 1095
#define IDC_CONFIGURE_SCSI_4 1096
#define IDC_CHECK_CASSETTE 1097
#define IDC_HARD_DISKS 1100 /* hard disks config */
#define IDC_LIST_HARD_DISKS 1101