-
Notifications
You must be signed in to change notification settings - Fork 15
implement Graphics1280x800x256 #32
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
Conversation
It looks like something happened at the top of the PR about 320x200 Vs 320x240, is that meant to be in this PR? |
Not my project, but there were quite a few standard resolutions smaller than 1280x800 that aren't in this, I wonder If they should also be here, or in other PRs? (640x480x256, 800x600x256, 1024x768x256) and more unusual ones like 640x400x256 |
Seems like that's fixing a copy paste error on my end. He fixed the comment to match the code.
I'd love to have more modes implemented. If that's something you want to do could you make a PR for each on you implement? |
@tsatke Looks good so far. Would you mind adding a test case for this mode in |
How do I run those tests locally? Seems like |
Ping @RKennedy9064 |
To run the tests locally the steps are inside of - name: "Run cargo build"
run: cargo build
- name: "Run cargo test"
run: cargo test
- name: "Install Rustup Components"
run: rustup component add rust-src llvm-tools-preview
- name: "Install cargo-xbuild"
run: cargo install cargo-xbuild --debug --root binaries
- name: "Install bootimage"
run: cargo install bootimage --debug --root binaries
# install QEMU
- name: Install QEMU (Linux)
run: |
sudo apt update
sudo apt install qemu-system-x86
if: runner.os == 'Linux'
- name: Install QEMU (macOS)
run: brew install qemu
if: runner.os == 'macOS'
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
- name: Install QEMU (Windows)
run: |
choco install qemu --version 2021.5.5
echo "$Env:Programfiles\qemu" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
if: runner.os == 'Windows'
shell: pwsh
- name: "Print QEMU Version"
run: qemu-system-x86_64 --version
- name: "Print QEMU Version"
run: qemu-system-x86_64 --version
- name: "Build Test Kernel"
run: cargo xbuild
working-directory: "testing"
- name: "Run Test Framework"
run: cargo xtest --verbose
working-directory: "testing" |
@RKennedy9064 thanks, seems to work. Feel free to run the CI steps. |
🎉 |
Ping @RKennedy9064 |
@tsatke Looks good to me. I'll work on merging this in, updating the readme and publishing a new version. |
That's the current implementation in my kernel, which seems to work nicely.
I'm not too sure about the configuration, so maybe pay extra attention there while reviewing.
I've added this because this crate doesn't seem to work with the new rust-osdev/bootloader 0.11.3, which starts in 1280x800x256.