Trned the LPT ports into device_t's.

This commit is contained in:
OBattler
2025-08-02 14:51:28 +02:00
parent 43a4bd7903
commit b9e294b781
52 changed files with 723 additions and 524 deletions

View File

@@ -2108,5 +2108,7 @@ const lpt_device_t lpt_prt_escp_device = {
.read_status = read_status,
.read_ctrl = read_ctrl,
.epp_write_data = NULL,
.epp_request_read = NULL
.epp_request_read = NULL,
.priv = NULL,
.lpt = NULL
};

View File

@@ -27,6 +27,7 @@
#include <wchar.h>
#include <86box/86box.h>
#include <86box/timer.h>
#include <86box/device.h>
#include <86box/lpt.h>
#include <86box/pit.h>
#include <86box/path.h>
@@ -536,7 +537,9 @@ const lpt_device_t lpt_prt_ps_device = {
.read_status = ps_read_status,
.read_ctrl = NULL,
.epp_write_data = NULL,
.epp_request_read = NULL
.epp_request_read = NULL,
.priv = NULL,
.lpt = NULL
};
#ifdef USE_PCL
@@ -552,6 +555,8 @@ const lpt_device_t lpt_prt_pcl_device = {
.read_status = ps_read_status,
.read_ctrl = NULL,
.epp_write_data = NULL,
.epp_request_read = NULL
.epp_request_read = NULL,
.priv = NULL,
.lpt = NULL
};
#endif

View File

@@ -525,5 +525,7 @@ const lpt_device_t lpt_prt_text_device = {
.read_status = read_status,
.read_ctrl = NULL,
.epp_write_data = NULL,
.epp_request_read = NULL
.epp_request_read = NULL,
.priv = NULL,
.lpt = NULL
};