General changes from the obattler_202406 branch
Co-Authored-By: Miran Grča <oubattler@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
*
|
||||
* Copyright 2008-2018 Sarah Walker.
|
||||
* Copyright 2016-2018 Miran Grca.
|
||||
* Copyright 2016-2025 Miran Grca.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
@@ -357,7 +357,7 @@ colorplus_standalone_init(UNUSED(const device_t *info))
|
||||
mem_mapping_add(&colorplus->cga.mapping, 0xb8000, 0x08000, colorplus_read, NULL, NULL, colorplus_write, NULL, NULL, NULL, MEM_MAPPING_EXTERNAL, colorplus);
|
||||
io_sethandler(0x03d0, 0x0010, colorplus_in, NULL, NULL, colorplus_out, NULL, NULL, colorplus);
|
||||
|
||||
lpt3_init(0x3BC);
|
||||
lpt3_setup(LPT_MDA_ADDR);
|
||||
|
||||
return colorplus;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
*
|
||||
* Copyright 2008-2019 Sarah Walker.
|
||||
* Copyright 2016-2019 Miran Grca.
|
||||
* Copyright 2016-2025 Miran Grca.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
@@ -585,7 +585,7 @@ hercules_init(UNUSED(const device_t *info))
|
||||
video_inform(VIDEO_FLAG_TYPE_MDA, &timing_hercules);
|
||||
|
||||
/* Force the LPT3 port to be enabled. */
|
||||
lpt3_init(0x3BC);
|
||||
lpt3_setup(LPT_MDA_ADDR);
|
||||
|
||||
return dev;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
*
|
||||
* Copyright 2008-2018 Sarah Walker.
|
||||
* Copyright 2016-2018 Miran Grca.
|
||||
* Copyright 2016-2025 Miran Grca.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <wchar.h>
|
||||
#include <86box/86box.h>
|
||||
#include <86box/io.h>
|
||||
#include <86box/lpt.h>
|
||||
#include <86box/timer.h>
|
||||
#include <86box/lpt.h>
|
||||
#include <86box/pit.h>
|
||||
#include <86box/mem.h>
|
||||
#include <86box/rom.h>
|
||||
@@ -670,7 +670,7 @@ herculesplus_init(UNUSED(const device_t *info))
|
||||
video_inform(VIDEO_FLAG_TYPE_MDA, &timing_herculesplus);
|
||||
|
||||
/* Force the LPT3 port to be enabled. */
|
||||
lpt3_init(0x3BC);
|
||||
lpt3_setup(LPT_MDA_ADDR);
|
||||
|
||||
return dev;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
*
|
||||
* Copyright 2008-2018 Sarah Walker.
|
||||
* Copyright 2016-2018 Miran Grca.
|
||||
* Copyright 2016-2025 Miran Grca.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
@@ -1018,7 +1018,7 @@ incolor_init(UNUSED(const device_t *info))
|
||||
video_inform(VIDEO_FLAG_TYPE_MDA, &timing_incolor);
|
||||
|
||||
/* Force the LPT3 port to be enabled. */
|
||||
lpt3_init(0x3BC);
|
||||
lpt3_setup(LPT_MDA_ADDR);
|
||||
|
||||
return dev;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
*
|
||||
* Copyright 2008-2019 Sarah Walker.
|
||||
* Copyright 2016-2019 Miran Grca.
|
||||
* Copyright 2016-2025 Miran Grca.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
@@ -322,7 +322,7 @@ mda_standalone_init(UNUSED(const device_t *info))
|
||||
|
||||
mda_init(mda);
|
||||
|
||||
lpt3_init(0x3BC);
|
||||
lpt3_setup(LPT_MDA_ADDR);
|
||||
|
||||
return mda;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user