I would like to test mode 5 to have a taller resolution but i do not find how i need to store data to display it correctly.
If we imagine that the register are correctly set and i want to use only the 1st background (16 colors), i generated a picture with 2 tiles of 8x8 which appears like that in VRAM :

I generated a tile map with 1024 group of 2 bytes (map of 32x32) which contains 0000 everywhere to use the 1st tile in the vram (and the palette used is the number 0 to ease my tests)
So i have 128 lines like that
0000 0000 0000 0000 0000 0000 0000 0000
but the result appear like that :

The number which appear is the number 2. The resolution seems to be good but i do not understand how to display it correctly. If i am not wrong, it should display "12" everywhere.
Does someone can explain me which format the file should have to display the result ?
Thanks in advance