Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New platform proposal: DOS #19

Open
nicholatian opened this issue Mar 5, 2021 · 0 comments
Open

New platform proposal: DOS #19

nicholatian opened this issue Mar 5, 2021 · 0 comments

Comments

@nicholatian
Copy link
Member

Slick already supports the IBMPC platform moniker for targeting old x86 computers. This is a proposal to create a distinct platform moniker called DOS, as it is actually quite a different deal to target than just any IBM-PC.

In the interest of completing #16, the IBMPC platform will run in huge unreal mode, potentially on bare metal, targeting the i386 as if it were running big-britches on a protected mode OS (that means 32-bit code and data pointers). IBMPC binaries will be compiled using a normal i386-producing ELF-bearing GCC, similar to APE. By contrast, the DOS platform will run in protected mode, using DPMI system calls provided by the DJGPP compiler toolchain.

TL;DR: the machines are the same, and the binary interfaces have the same characteristics, but the reality of how each platform is constructed and executed is very different. Whether IBMPC or DOS is more appropriate depends on the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant