• Jeffrey Lee's avatar
    Attempt to tidy up substitute screen mode selection logic · d87c22a4
    Jeffrey Lee authored
    Detail:
      Over the years the OS's substitute screen mode selection logic has grown to be a tangled mess, and the logic it does implement isn't always very useful. Additionally, the kernel is structured in such a way that it can be hard for modules to override it.
      This set of changes aims to fix the many of the problems, by doing the following:
      - Moving all substitute mode selection logic out of the core VDU driver code and into a Service_ModeTranslation handler. This means you now only have one place in the kernel to look instead of several, and modules can override the behaviour by claiming/blocking the service call as appropriate.
      - Moving handling of the built-in VIDC lists out of the core VDU driver code and into a Service_ModeExtension handler. This means programs can now inspect these VIDC lists by issuing the right service call (although you are essentially limited to lists which the GraphicsV driver is OK with)
      - Moving *TV interlac...
    d87c22a4
MemMap2 22.2 KB