Fixed some stupid serial issues - reading interrupt enable mask now works, and has an effect, and reading data when FIFO empty now returns last value instead of zero. Windows 9x setup now detects serial mouse correctly.

This commit is contained in:
TomW 2013-11-02 19:38:59 +00:00
commit 4894e97dc5
3 changed files with 16 additions and 13 deletions

View file

@ -8,6 +8,7 @@ typedef struct
{
uint8_t linestat,thr,mctrl,rcr,iir,ier,lcr;
uint8_t dlab1,dlab2;
uint8_t dat;
} SERIAL;
extern SERIAL serial,serial2;