include fonts
This commit is contained in:
parent
68284127e3
commit
98d6b66e72
9 changed files with 15 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -8,5 +8,4 @@ build/
|
|||
gfx/
|
||||
roms/
|
||||
tools/
|
||||
doc/generated
|
||||
assets/
|
||||
doc/generated/
|
||||
12
readme.md
12
readme.md
|
|
@ -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
BIN
src/assets/6X8.F08
Normal file
Binary file not shown.
BIN
src/assets/8X8.F08
Normal file
BIN
src/assets/8X8.F08
Normal file
Binary file not shown.
BIN
src/assets/8X8ITAL.F08
Normal file
BIN
src/assets/8X8ITAL.F08
Normal file
Binary file not shown.
BIN
src/assets/8X8THIN.F08
Normal file
BIN
src/assets/8X8THIN.F08
Normal file
Binary file not shown.
BIN
src/assets/CGA-TH.F08
Normal file
BIN
src/assets/CGA-TH.F08
Normal file
Binary file not shown.
BIN
src/assets/FM-T-437.F08
Normal file
BIN
src/assets/FM-T-437.F08
Normal file
Binary file not shown.
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue