Merge remote-tracking branch 'origin/main' into Windows-Manager
This commit is contained in:
commit
acf04e6d1d
11 changed files with 40 additions and 6 deletions
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.
|
|
@ -21,6 +21,17 @@
|
|||
; =============================================================================
|
||||
|
||||
font8x8:
|
||||
; on importe uniquement les caractères entre ' ' (0x20) et '~' (0x7E)
|
||||
incbin "./assets/FM-T-437.F08", 0x20*8, 0x7e*8
|
||||
;
|
||||
; https://github.com/viler-int10h/vga-text-mode-fonts
|
||||
;
|
||||
; Bien que le fichiers F08 définissent les 256 caractères de la table ASCII,
|
||||
; on importe uniquement les caractères entre ' ' (0x20) et '~' (0x7E).
|
||||
; ce choix est fait pour limiter la taille de la police; de même nous ne gérons
|
||||
; qu'une seule police.
|
||||
;
|
||||
; Si l'on désire augmenter le nombre de caratères ou ajouter plusieurs polices, il faudra
|
||||
; adapter les fonctions "putc" en accord.
|
||||
;
|
||||
incbin "./assets/8X8ITAL.F08", 0x20*8, 0x7e*8
|
||||
; incbin "./assets/FM-T-437.F08", 0x20*8, 0x7e*8
|
||||
;incbin "./assets/CGA-TH.F08", 0x20*8, 0x7e*8
|
||||
|
|
@ -311,10 +311,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