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

Convenient way of changing the resolution faster #155

Open
doodayev opened this issue Mar 18, 2024 · 0 comments
Open

Convenient way of changing the resolution faster #155

doodayev opened this issue Mar 18, 2024 · 0 comments

Comments

@doodayev
Copy link
Contributor

It was suggested to make this a GitHub Issue and so here it is.
Long story short, every time I want to change the resolution of ZealOS I need to go to KStart16.ZC and
change two lines (right now they're line 73 and 74) where it says:
REQUESTED_SCREEN_WIDTH: DU16 1024;
REQUESTED_SCREEN_HEIGHT: DU16 768;

In the following source file I made a few functions that read these two lines, allow you to write new values for these two lines, and also with the "DoEverything" function it will run those two functions together along with BootHDIns;
I've also wrote down which resolutions work in Zeal on VirtualBox and which don't. Keep in mind that this is for ZealOS that uses the public domain bootloader and not Limine.

This code however is kind of poor since it uses hardcoded values so I'm just putting it here for reference.
RezChanger.TXT

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

No branches or pull requests

1 participant