2026-06-26 20:05:01 -05:00
|
|
|
#ifndef DVGA_H
|
|
|
|
|
#define DVGA_H
|
|
|
|
|
|
2026-07-10 07:46:46 -05:00
|
|
|
#include <vfs.h>
|
|
|
|
|
|
2026-07-14 00:07:50 -05:00
|
|
|
void vga_init(
|
|
|
|
|
uint32_t fb_vaddr,
|
|
|
|
|
uint32_t fb_width,
|
|
|
|
|
uint32_t fb_height,
|
|
|
|
|
uint32_t fb_pitch,
|
|
|
|
|
uint8_t fb_bpp
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
void vga_clear_scrn(uint32_t color);
|
2026-06-26 20:05:01 -05:00
|
|
|
void vga_putchar(char c);
|
|
|
|
|
|
2026-07-10 07:46:46 -05:00
|
|
|
uint32_t vga_write(vfs_node_t* node, uint32_t offset, uint32_t size, uint8_t* buf);
|
2026-07-12 04:37:46 -05:00
|
|
|
uint32_t vga_seek(vfs_node_t* node, uint32_t offset, int whence);
|
2026-07-10 07:46:46 -05:00
|
|
|
|
2026-06-26 20:05:01 -05:00
|
|
|
#endif
|