Konamiman / Nextor

A disk operating system for MSX computers, forked from MSX-DOS 2.31
Other
183 stars 33 forks source link

Prevent Nextor v2 and Nextor v3 kernels from booting simultaneously #116

Closed Konamiman closed 1 year ago

Konamiman commented 1 year ago

Nextor v3 won't include support for Nextor v2 drivers, therefore we need a mechanism to prevent both from being used simultaneously:

In other words: only Nextor v2 or Nextor v3 kernels will initialize, depending on which one has the smallest slot number (and thus initializes first).

The last mechanism will cause the non-primary Nextor v3 kernels to skip initialization too, so the disable key for Nextor v3 will need to be changed from "N" to something else at some point. It's also not bullet-proof as older Nextor v2 kernels (which didn't support the "one-time boot keys" mechanism) will initialize anyway, with unpredictable results.