# x86-64 The Screen

[x86-64 Documentation](https://asm-editor.specy.app/documentation/x86.md)

Web page: https://asm-editor.specy.app/documentation/x86/screen

Draw pixels and switch framebuffer pages through /dev/fb0. Configure the Screen size with Display or @screen.

8 entries, each with its own page of markdown:

- [The Screen](https://asm-editor.specy.app/documentation/x86/screen/overview.md): An x86 program draws on the Screen through the Linux framebuffer interface, /dev/fb0.
- [Opening and mapping /dev/fb0](https://asm-editor.specy.app/documentation/x86/screen/opening.md): A program takes four steps before it draws: 1.
- [Pixels](https://asm-editor.specy.app/documentation/x86/screen/pixels.md): One pixel is one little-endian 32-bit word, 0x00RRGGBB: blue in the low byte, then green, then red, and the top byte unused.
- [Double buffering](https://asm-editor.specy.app/documentation/x86/screen/double-buffering.md): A program that draws on the visible page can show an incomplete frame: part of the old picture and part of the new one.
- [The Screen's size](https://asm-editor.specy.app/documentation/x86/screen/display.md): The configured Screen size is the width and height chosen before a run.
- [The Screen's keys](https://asm-editor.specy.app/documentation/x86/screen/screen-keys.md): Clicking the Screen gives it the keyboard and the pointer.
- [What is different from a real Linux machine](https://asm-editor.specy.app/documentation/x86/screen/differences.md): The devices behave as they do on a QEMU virtual machine running Linux, the reference this emulator follows.
- [Not covered](https://asm-editor.specy.app/documentation/x86/screen/not-covered.md): DRM, /dev/dri/card0, is unavailable.
