[CPORTLIB][NTOS:INBV][KDCOM][FREELDR] Add ComPort library for NEC PC-98 series (#2407)

There are 2 known serial ports:
    COM1 - based on Intel 8251A
    COM2 - National Semiconductor 16550
This commit is contained in:
Dmitry Borisov 2020-03-07 00:50:31 +06:00 committed by GitHub
parent a6515e2b75
commit 222e79232c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 1104 additions and 1 deletions

View file

@ -21,7 +21,11 @@
#define DEFAULT_BAUD_RATE 19200
#if defined(_M_IX86) || defined(_M_AMD64)
#if defined(SARCH_PC98)
const ULONG BaseArray[] = {0, 0x30, 0x238};
#else
const ULONG BaseArray[] = {0, 0x3F8, 0x2F8, 0x3E8, 0x2E8};
#endif
#elif defined(_M_PPC)
const ULONG BaseArray[] = {0, 0x800003F8};
#elif defined(_M_MIPS)