Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

MODE command (Developers)

posted by kerravon, Ligao, Free World North, 16.10.2021, 02:07

> > MODE can do an OS call and the OS can keep
> > track of the situation. I assumed that is
> > how it was done in MSDOS too, but maybe not.
>
> I'm not sure how MS or Free or any other DOS actually does it. But I think
> if I were implementing it I would just read the UART data directly from the
> I/O port. Even though there's not a standard BIOS (INT 14h) call you can
> use, the base I/O addresses of the four serial ports are stored in the BIOS
> Data Area (BDA) at 0040:0000 so they are part of the BIOS. It odes seem
> weird that there isn't an INT 14h call to read the current status, almost
> as if they expect you to use direct I/O.
>
> I've only messed around with serial ports a little bit, and when I did I
> always used direct I/O. I wrote a TSR called SERIAL that monitors the
> status of a serial port in "real time" on the screen, which you can
> download from my website (bretjohnson.us) if you're interested. I also
> know in the old days at least some of the BBS's used FOSSIL, which is an
> "upgraded" INT 14h, but that won't help you here.

PDOS/386 uses the BIOS for everything, which gives
it a benefit that a BIOS vendor can implement the
serial port on INT 14H as some other device, like
Bluetooth or Wifi.

My dumb phone (an Alcatel Onetouch) supports Bluetooth
plus has an internet connection, and it would be great
if I could boot PDOS/386 on the metal, point my BIOS to
my phone, and be able to contact a newsgroup. I was
hoping that SeaBIOS could help with that, but the
bottleneck is apparently Bluetooth being undocumented.

The next best thing is for me to buy a computer with a
real serial port, and connect that to another computer
running Linux or whatever and presenting me with the
newsgroup capability by forwarding on my requests.

Or simply continue as now which is to run PDOS/386
under Bochs or qemu or Virtualbox under Windows.

BFN. Paul.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 248 users online (0 registered, 248 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum