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

Improvements on the driver initialization/message display procedure #30

Open
Konamiman opened this issue Mar 15, 2019 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@Konamiman
Copy link
Owner

  1. On MSX2 or higher, just before doing the round of the 2nd calls to the devices DRV_INIT routines, Nextor should call the subROM's SDFSCR routine to set the screen parameters from the RTC
  2. After each 2nd call to the DRV_INIT returns, Nextor should check INTFLG to see if the STOP key was pressed, and pause the flow accordingly. A new press of the STOP key would allow the boot to continue. This feature would be used help the user to pause the boot sequence to read any messages.
  3. There should be a standard function on each driver to show the version and copyright info of the driver. A standardized CALL function from Nextor (CALL DRVINFO maybe?) would call this function for each driver, and they would print such info on screen.
  4. Write some coding etiquette for drivers, explaining that the driver shouldn't change screen parameters, clear the screen or add unnecessary delays unless some error has occurred.

Originally proposed via email by FRS

@Konamiman Konamiman added the enhancement New feature or request label Mar 15, 2019
@Eugeny1
Copy link

Eugeny1 commented Mar 25, 2020

I would disagree on the points listed here.

  1. Nextor is system formware, and by itself must not change anything in the system except the devices it drives. Changing screen mode must not be a task for the system software. If driver designer will want to do something to the screen, it will be his/her responsibility for the user experience.
  2. Again, Nextor is not an application software, and adding thingies must not be a proper way. If driver wants to display its copyright message (or in general anything it wants), it can do it in DRV_INIT call.
  3. Standardization and guidelines are always good, and here you are going to restrict driver developers labelling them as not following "etiquette". One of the cases when screen change may be desired is when driver initializes on startup and needs to put formatted information about its initialization onto the screen (e.g. changing 32-char mode to 40 char mode for this purpose).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants