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

Restore or drop the i286 protected mode ? #234

Closed
mfld-fr opened this issue Feb 21, 2019 · 4 comments
Closed

Restore or drop the i286 protected mode ? #234

mfld-fr opened this issue Feb 21, 2019 · 4 comments
Assignees
Labels
question Question about the product responded Given response

Comments

@mfld-fr
Copy link
Contributor

mfld-fr commented Feb 21, 2019

Issues #207 and #233 raise a somewhat 'strategic' question about the support of the 16-bit protected mode. My proposal is to merely drop it, after considering the following pros & cons:

Pros:

  • existing code base in the repository
  • allow memory 1...16 MB
  • intrinsic robustness

Cons:

  • inconsistent code with current features
  • strong architectural constraints in addition to the current i86 segmentation
  • very specific to i286 processor model
  • never being a success on PC market
  • not suited for embedded market
  • and last but not least, nobody to work on it
@mfld-fr mfld-fr added the question Question about the product label Feb 21, 2019
@jbruchon
Copy link
Collaborator

I don't think it makes sense to support it, especially with few people working on the project. The scope needs to be restrained. 286 chips are 8086-compatible. If the access to more memory is desired, perhaps a little trickery would be suitable instead:

https://en.wikipedia.org/wiki/LOADALL

@tkchia
Copy link
Collaborator

tkchia commented Feb 21, 2019

Hello @mfld-fr, hello @jbruchon,

Maybe, in that case, instead of direct support for 286 protected mode, it might be useful to think about allowing for some sort of API or device driver (?) to let ELKS programs use extended memory in a managed way --- similar to MS-DOS's XMS or its earlier vdisk.sys protocol.

Thank you!

mfld-fr added a commit to mfld-fr/elks that referenced this issue Feb 21, 2019
mfld-fr added a commit to mfld-fr/elks that referenced this issue Feb 23, 2019
@mfld-fr
Copy link
Contributor Author

mfld-fr commented Feb 24, 2019

Outcome of the discussion (both here and on the mailing list) is that the unreal mode would be an easier way to use the memory > 1 MB than the protected mode. Thanks to all, I feel now comfortable to drop it.

@mfld-fr
Copy link
Contributor Author

mfld-fr commented Feb 24, 2019

Dropped in #235.

@mfld-fr mfld-fr closed this as completed Feb 24, 2019
@mfld-fr mfld-fr added the done Improvement done label Feb 24, 2019
@mfld-fr mfld-fr added responded Given response and removed done Improvement done labels Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about the product responded Given response
Projects
None yet
Development

No branches or pull requests

3 participants