retro/native: initial serial port driver (COM1, COM2, COM3, COM4)

FossilOrigin-Name: 6b56e54381c7e9bdd9c4c7866d2d6d64304e80c94c2b7df0b867867a20892616
This commit is contained in:
crc 2019-02-19 15:18:34 +00:00
parent 86d900928c
commit 3efeef6b59

View file

@ -1,6 +1,6 @@
#include <stdint.h> #include <stdint.h>
int32_t ngaImageCells = 9467; int32_t ngaImageCells = 9788;
int32_t ngaImage[] = { 1793,-1,9443,9466,201906,0,10,1,10,2,10,3,10,4,10,5,10,6,10, int32_t ngaImage[] = { 1793,-1,9711,9787,201906,0,10,1,10,2,10,3,10,4,10,5,10,6,10,
7,10,8,10,9,10,10,10,11,10,12,10,13,10,14,10,15,10,16,10, 7,10,8,10,9,10,10,10,11,10,12,10,13,10,14,10,15,10,16,10,
17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10, 17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10,
68223234,1,2575,85000450,1,656912,355,339,268505089,66,65,135205121,66,10,101384453,0,9,10,2049,59, 68223234,1,2575,85000450,1,656912,355,339,268505089,66,65,135205121,66,10,101384453,0,9,10,2049,59,
@ -51,8 +51,8 @@ int32_t ngaImage[] = { 1793,-1,9443,9466,201906,0,10,1,10,2,10,3,10,4,10,5,10,6,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,59,0,0,117,116,0,110,117,116,101,0,0,0,0, 0,0,0,0,0,0,59,0,58,111,117,116,98,0,111,114,116,0,0,0,
69,95,50,48,48,48,95,78,79,84,95,70,79,85,78,68,0,125,126,0, 100,63,0,0,48,48,95,78,79,84,95,70,79,85,78,68,0,125,126,0,
72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,0, 72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
@ -179,7 +179,7 @@ int32_t ngaImage[] = { 1793,-1,9443,9466,201906,0,10,1,10,2,10,3,10,4,10,5,10,6,
2065,4097,3312,10,3480,3538,134,84,101,109,112,83,116,114,105,110,103,115,0,32, 2065,4097,3312,10,3480,3538,134,84,101,109,112,83,116,114,105,110,103,115,0,32,
3523,3556,134,84,101,109,112,83,116,114,105,110,103,77,97,120,0,512,3539,3568, 3523,3556,134,84,101,109,112,83,116,114,105,110,103,77,97,120,0,512,3539,3568,
147,83,84,82,73,78,71,83,0,2049,1543,3841,3538,3841,3556,19,18,10,3557,3588, 147,83,84,82,73,78,71,83,0,2049,1543,3841,3538,3841,3556,19,18,10,3557,3588,
134,67,117,114,114,101,110,116,0,17,10,3577,3603,147,115,58,112,111,105,110, 134,67,117,114,114,101,110,116,0,27,10,3577,3603,147,115,58,112,111,105,110,
116,101,114,0,3841,3588,3841,3556,19,2049,3568,17,10,3590,3622,147,115,58,110,101, 116,101,114,0,3841,3588,3841,3556,19,2049,3568,17,10,3590,3622,147,115,58,110,101,
120,116,0,1,3588,2049,3009,3841,3588,3841,3538,11,1793,3638,1,0,4097,3588,10,1, 120,116,0,1,3588,2049,3009,3841,3588,3841,3538,11,1793,3638,1,0,4097,3588,10,1,
3633,9,10,3557,3652,147,115,58,116,101,109,112,0,2,2049,82,2049,2908,2049,3603, 3633,9,10,3557,3652,147,115,58,116,101,109,112,0,2,2049,82,2049,2908,2049,3603,
@ -473,4 +473,20 @@ int32_t ngaImage[] = { 1793,-1,9443,9466,201906,0,10,1,10,2,10,3,10,4,10,5,10,6,
100,97,121,0,1,7,2049,9328,10,9392,9421,147,114,116,99,58,109,111,110,116, 100,97,121,0,1,7,2049,9328,10,9392,9421,147,114,116,99,58,109,111,110,116,
104,0,1,8,2049,9328,10,9408,9438,147,114,116,99,58,121,101,97,114,0,1, 104,0,1,8,2049,9328,10,9408,9438,147,114,116,99,58,121,101,97,114,0,1,
9,2049,9328,10,9426,9451,147,116,105,109,101,0,2049,9387,2049,8964,1,58,2049,8900, 9,2049,9328,10,9426,9451,147,116,105,109,101,0,2049,9387,2049,8964,1,58,2049,8900,
2049,9370,2049,8964,2049,8913,10,0 }; 2049,9370,2049,8964,2049,8913,10,9443,1016,134,115,101,114,105,97,108,58,67,79,77,
49,0,9466,760,134,115,101,114,105,97,108,58,67,79,77,50,0,9481,1000,134,
115,101,114,105,97,108,58,67,79,77,51,0,9496,744,134,115,101,114,105,97,
108,58,67,79,77,52,0,9511,9541,134,115,101,114,105,97,108,58,80,111,114,
116,0,760,9526,9557,147,115,101,114,105,97,108,58,112,111,114,116,0,3841,9541,
10,9542,9580,147,115,101,114,105,97,108,58,114,101,99,101,105,118,101,100,63,
0,2049,9557,1,5,17,2049,9265,1,1,21,2049,2583,10,9560,9610,147,115,101,114,
105,97,108,58,101,109,112,116,121,63,0,2049,9557,1,5,17,2049,9265,1,32,
21,2049,2583,10,9593,9638,147,115,101,114,105,97,108,58,114,101,97,100,0,2049,
9580,1793,9647,2049,9557,2049,9265,10,1,9642,2049,2494,2049,9638,10,9623,9670,147,115,101,
114,105,97,108,58,119,114,105,116,101,0,2049,9610,1793,9679,2049,9557,2049,9281,10,
1,9674,2049,2494,2049,9670,10,9654,9701,147,115,101,114,105,97,108,58,115,101,110,
100,0,1793,9706,2049,9670,10,1,9703,2049,4023,10,9686,9726,147,115,101,114,105,97,
108,58,105,110,105,116,0,1,0,2049,9557,1,1,17,2049,9281,1,128,2049,9557,
1,3,17,2049,9281,1,3,2049,9557,2049,9281,1,0,2049,9557,1,1,17,2049,9281,
1,3,2049,9557,1,3,17,2049,9281,1,199,2049,9557,1,2,17,2049,9281,1,11,
2049,9557,1,4,17,2049,9281,10,0 };