Aie !! le piège, 792 est deja en decimal, et en hexa cela donne d'aprés le tableau : 0x318
Colours 640x400 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200
--------+--------------------------------------------------------------
4 bits | ? ? 0x302 ? ? ? ?
8 bits | 0x300 0x301 0x303 0x305 0x161 0x307 0x31C
15 bits | ? 0x310 0x313 0x316 0x162 0x319 0x31D
16 bits | ? 0x311 0x314 0x317 0x163 0x31A 0x31E
24 bits | ? 0x312 0x315 0x318 ? 0x31B 0x31F
32 bits | ? ? ? ? 0x164 ?
VGA Resolution and Color Depth reference Chart:
Depth 800×600 1024×768 1152×864 1280×1024 1600×1200
8 bit vga=771 vga=773 vga=353 vga=775 vga=796
16 bit vga=788 vga=791 vga=355 vga=794 vga=798
24 bit vga=789 vga=792 vga=795 vga=799
voici mes sources
enfin attention, 792 est un code decimal correspondant à 0x318, je ne dis pas que 792 en hexadecimal s'écrive 0x318, je suis absolument incapable de faire la traduction.
quand à 791 contrairement à mon ancien post, il correspond à 0X317, autand pour moi....