I'm following along with the Phil-Opp tutorials on creating an OS, and I'm trying to figure out how to control my display/screen, after having successfully gotten VGA output to work. How does one control the display? I'm assuming you have to write a driver... or do you write to specific memory locations like VGA? Would a crate like SDL2, Glium, or something else work on 'bare-metal'?
Output to display with Rust bare metal
840 Views Asked by Ben Gubler At
1
There are 1 best solutions below
Related Questions in RUST
- Borrow mutable and immutable reference in the same block
- Linking to a static lib compiled with MSVC
- Using a no-method trait implementation in a different module
- No error for two traits implementing the same method
- How are the generic functions and types stored in an rlib?
- Is it possible to find an element in a Vec<T> and remove it?
- What does & actually do?
- unresolved name rand::thread_rng
- Use of undeclared type that is defined in another file
- Creating byte buffers in rust
- What's the difference between filter(|x|) and filter(|&x|)?
- How to convert iterator of chars to String?
- Correct idiom for freeing repr(C) structs using Drop trait
- Rust String concatenation
- Can I mark a function as deprecated?
Related Questions in OPERATING-SYSTEM
- Why two threads accessing one resource crashes one thread?
- How to tell the difference between linux and mac
- Can a single thread be shared among multiple processes ? If yes how?
- /usr/lib/* files had been deleted, how to restore these files
- What does a POSIX interface refer to in terms of microkernels?
- Is zero copy principle supported in Mac
- Why segment files into chunks for HTTP streaming?
- Add/remove process from kernel runqueue
- How does my computer know to which character a char corresponds?
- Who starts the OS process scheduler?
- ^M behind operating system version?
- How to make a scanf() type function in a 32bit os in c?
- How is `dup2` actually working?
- Logged in hostname/IP in linux command history
- Had 16-bit DOS a memory access limitation of 1 MB? If yes, how?
Related Questions in SDL
- SDL2 main game loop
- SDL2 understanding the basic model
- Generate executable with no dependencies on Linux
- SDL2_image rendering not working properly
- SDL image disappears after 15 seconds
- cpp private data member SDL_Rect inactive
- I've got audio samples; how to play them correctly with the SDL?
- Nim and SDL2 trouble with Rect
- uint32_t variable is strange changing
- SDL_RenderSetClipRect works different on different platforms - how detect whether measured from top or bottom?
- Try to set SDL with OpenGL context on Android. Get error message "Failed loading eglChooseConfig"
- SDL2: set input focus on a window
- I have an issue to display sprites in SDL
- How to extern SDL_Surface array in C?
- Making an SDL Viewport with LCL
Related Questions in OSDEV
- Rustc/LLVM generates faulty code for aarch64 with opt-level=0
- MinGW's ld cannot perform PE operations on non PE output file
- GCC 5.1.0-4 cross compiler build fail
- Link object files from header files in real mode when using GCC -m16 option?
- Constant reboot after setting up the Global Descriptor Table and protected mode
- Can't load flat binary file into kernel
- Linear addressing and the GDT
- How do you find the PCI memory hole on x86?
- Extended ASCII characters are printed in yellow instead of white - OSDev
- The Kernel starts behaving abnormally when the kernel code gets a little bigger
- LD errors while linking 16-bit real mode code into a Multiboot compliant ELF executable
- How can I provide a reliable callback functionality?
- Can HDD emulation be used to allow me to use my own bootable file system on a CD?
- Is it bad that a process should self create an own stack?
- OS development - converting logical block format to Cylinder-Head-Sector
Related Questions in GLIUM
- How to fill non RGB OpenGL texture in glium?
- How to draw OpenGL triangle from other thread in Rust
- Vector of tuples with different size
- Drag move flickers position of window
- how do i interpolate keyframes into vectors with structs in Rust?
- How to implement Glium's Backend for Android's SurfaceTexture (Render with Rust into SurfaceTexture)
- Why glium `Headless` can not render an image like normal window context?
- How to write to a pixel buffer line by line in glium?
- How do you use Rust glium with openxr in a VR headset?
- Circumventing closure-borrowed variable lifetime limits
- Output to display with Rust bare metal
- rust glium compile error missing package on ubuntu
- How to draw rotating cube glium?
- How to light all faces of rotating cube using glium
- Is there any way to pass an array to a shader in glium?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Assuming you are in a 8bpp VGA graphics mode (such as Mode 0x13), you can write pixels directly to the screen by writing to memory addresses
0xA0000to0xB8000.