I am trying to build a Hobby Operating System and I have successfully built my own two stage bootloader which handles control to the kernel after switching to protected mode. I am able to display characters on the screen by writing at 0x000B0000 - 0x000B7777. Now I want to draw individual pixels on the screen. I want to control pixels at the native resolution of my monitor(1366x768) and not at some downscaled resolution like 640x320. I wanted to ask how this is done in a real Operating System like Windows or Linux. Also some guidance on VESA BIOS Extensions would be helpful although I don't want to use VBE.
How to draw Pixels in high resolution (1920x1080 or 1366x768) on screen in protected mode using x86 ASM or C?
43 Views Asked by Kshitij_Jha_7 At
0
There are 0 best solutions below
Related Questions in OPERATING-SYSTEM
- the end of the I/O operation is notified to the system by an interrupt.how much system time do the mentioned operations occupy?
- Problem on CPU scheduling algorithms in OS
- OS-wide text autocomplete service with popup
- mkssecreenshotmgr taking a screenshot
- How to prevent app from crashing on android emulator
- Is there a function to end a child process?
- Swapping a healthy and unallocated partition in Windows 10
- ubuntu OS : Why my battery is completely drained of in just 2 hours in suspend mode
- 1 filenames = [] 2 ----> 3 for file in os.zipfile('images.zip'):
- Worth it to access data by blocks on modern OS/hardware?
- How does outlook disable screenshot
- How can I enable my app to access a specific partition directory for reading and writing without showing popup to user?
- Exception of type 'System.Exception' was thrown. Error in Cosmos Project
- Maximum CPU Voltage reading
- Java: get username from uid
Related Questions in KERNEL
- Simulate WeChat scanning short connection redirection, but the QQ display result is different from WeChat?
- Validating a client from kernel in Windows
- Yocto kernel patch fails with git am
- Nuke BlinkScript: Why does the convolution kernel scale down the image?
- EKS AMI kernel debug symbols
- Unexpected OS Shutdown
- create_ap wlan0: Could not connect to kernel driver
- QEMU i386 pmio addresses
- Simple programming of VGA cursor
- How to compile and install kernel modules with dependencies and device tree?
- android camera driver rotate 90°
- Is there any way to get the WiFi contention window (CW) min and max value in Linux 80211 subsystem?
- How to reduce cached memory used by Linux kernel on embedded linux platform
- How can I get current cpufreq in kernel code?
- Print Inode or file data, using path name
Related Questions in OSDEV
- Seeking for the the method for adding the DL (data register) value to DX register
- "Config.guess failed to determine the host type" when trying build binutils-2.7 with Cygwin
- LLVM code generation causes problems with pointer arithmetic
- Maximum CPU Voltage reading
- Purpose of stack register(s) in holding 0x7c00
- Behavior of the adress 0x7e00 in different sectors and their alternatives
- General Protection Fault encountered when executing SYSRET
- Bootloader are really in sector 0?
- Is heap memory in Linux contiguous?
- How to define different [global_allocator]s for a monolithic os kernel and its applications
- QEMU: address of grub module has zeros if not referenced directly in the code
- Assembly draw line function
- "Cannot find bounds of current function" error in GDB while debugging bootloader code
- Confusion regarding CS and DS segment registers during bootloading process
- Rust tell the compiler to not trust the registers?
Related Questions in BIOS
- how to access to the bios in a thomson SP-HERO91.1BK32
- Purpose of stack register(s) in holding 0x7c00
- Behavior of the adress 0x7e00 in different sectors and their alternatives
- UEFI Event Logs
- Loading disk sector into memory (AT&T)
- x86 BIOS stage 1 boot code halting after loop from interrupt
- Patching UEFI Pei module problems with addresses
- Thunderbolt ex4 and Docking Station
- Bios enable disable buttons are not clickable
- memory allocation in real mode in the MBR
- Calculate time taken by program to run in uefi
- Confusion regarding CS and DS segment registers during bootloading process
- Bootloader Functionality in Context of JOS and significance of the MBR signature
- UEFI how to add user
- is there a bios interrupt or something like that to wait?
Related Questions in PROTECTED-MODE
- How does CPU addressing the next instruction immediately after switching into protection mode?
- Where are real mode address contents located in protected mode?
- Assembly code crashes in QEMU but runs fine in Bochs
- Bootloader halts on interrupt that should load the kernel
- Function pointer is 0 after cast
- Does the CS register need to be set when setting up Unreal Mode?
- why my os doesn't switch to protected mode
- Jump from bootloader to the kernel - Assembly x86_64
- A weird problem when transitioning to protected mode
- Bootloader Mixing C and Assembly
- How to draw Pixels in high resolution (1920x1080 or 1366x768) on screen in protected mode using x86 ASM or C?
- Performance check of unordinary simple JCM structures in minimal i386 BIOS tasks
- qemu invalid tss type
- QEMU starts blinking with custom boot loader in x86
- What's the difference between .code16 and .code32
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?