include fonts

This commit is contained in:
saintfrater 2026-02-27 10:16:33 +01:00
commit 98d6b66e72
9 changed files with 15 additions and 4 deletions

3
.gitignore vendored
View file

@ -8,5 +8,4 @@ build/
gfx/
roms/
tools/
doc/generated
assets/
doc/generated/

View file

@ -64,6 +64,12 @@ To build and run this project, the following tools and components are required:
- **QEMU VGA BIOS**
The standard QEMU VGA BIOS (`vgabios.bin`) is required to initialize the VGA hardware, allowing the custom BIOS to rely on a known and stable VGA implementation while focusing on its own core logic.
- **VGA Text Font**
You may want to use "custom" font; you can pick any "F08" (8 bytes per character) font from this repo:
https://github.com/viler-int10h/vga-text-mode-fonts
---
### API
@ -148,6 +154,12 @@ Utilisé comme émulateur PC principal pour tester et déboguer le BIOS personna
- **BIOS VGA de QEMU**
Le BIOS VGA standard de QEMU (vgabios.bin) est utilisé pour initialiser le matériel vidéo, ce qui permet au projet de se concentrer sur le développement du BIOS sans réimplémenter la logique VGA complète.
- **VGA Text Font**
Vous pouvez utiliser des polices de caractères personnalisées. Vous pouvez choisir n'importe quelle police 'F08' (8 octets par caractère) de ce référentiel:
https://github.com/viler-int10h/vga-text-mode-fonts
----
### API

BIN
src/assets/6X8.F08 Normal file

Binary file not shown.

BIN
src/assets/8X8.F08 Normal file

Binary file not shown.

BIN
src/assets/8X8ITAL.F08 Normal file

Binary file not shown.

BIN
src/assets/8X8THIN.F08 Normal file

Binary file not shown.

BIN
src/assets/CGA-TH.F08 Normal file

Binary file not shown.

BIN
src/assets/FM-T-437.F08 Normal file

Binary file not shown.

View file

@ -308,10 +308,10 @@ gui_slider_update_pixels:
.set_min:
; Si la valeur est sous le minimum, on colle au début
movzx ax, word [gs:si + widget.x]
mov ax, word [gs:si + widget.x]
cmp byte [gs:si + widget.attr_mode], 2
jne .force_store
movzx ax, word [gs:si + widget.y]
mov ax, word [gs:si + widget.y]
.force_store:
mov [gs:si + widget.thumb_pos], ax