Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Device drivers: Changing the attribute word at install time? (Developers)

posted by tkchia Homepage, 03.10.2023, 21:28

Hello mbbrutman, hello ecm,

> For me I'm interested in bit 1 which indicates if 32 bit block addressing
> is available. This makes sense for DOS 5 but not for older versions of
> DOS.

What happens if you set attribute bit 1 unconditionally?

As far as I can tell from Microsoft's source code release (https://github.com/microsoft/MS-DOS), it seems that MS-DOS 2.x only cares about bit 1 for character devices — in which case it says whether the device is the default stdout. Perhaps you could simply set bit 1 for a block device driver and get away with it.

Thank you!

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

 

Complete thread:

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