Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

non-DOS (yet): an interesting project for x86-64 (Miscellaneous)

posted by tkchia Homepage, 23.01.2021, 15:13

Hello RayeR, Oso2k, and Zyzzle,

> Is it really true that on a system without a true CSM legacy BIOS will be
> completely unable to access real mode or can we create some sort of
> compatibility wrapper in software as an abstraction layer in software to
> enable "bare metal" 16-bit DOS on such systems?

As Japheth mentioned, yes, it is very much possible to switch from 64-bit long mode to real mode.

In fact Intel's own TianoCore UEFI implementation has some code to do just that. The CPU very much supports going from long mode to real mode. The problem in getting an "abstraction layer" working is mainly in the stuff outside of the CPU (again, ACPI... :-| ).

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, 72 users online (0 registered, 72 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum