Re: Help scale and rotation sega genesis
Posted: Fri Apr 19, 2019 8:07 pm
Even if we are in vertical blank?
Sega Megadrive/Genesis development
http://gendev.spritesmind.net/forum/
http://gendev.spritesmind.net/forum/viewtopic.php?f=22&t=2964
Even if we are in vertical blank?
Code: Select all
Composition of one line :
+----------------+-----+------+-------+------+
| | SMS | H256 | H320F | H320 |
+----------------+-----+------+-------+------+
| HSYNC pixels | 26 | 26 | 32 | 34 |
| Left blanking | 24 | 25 | 32 | 30 |
| Left border | 14 | 14 | 13 | 13 |
| Active display | 256 | 256 | 320 | 320 |
| Right border | 14 | 14 | 14 | 14 |
| Right blanking | 8 | 7 | 9 | 9 |
+----------------+-----+------+-------+------+
| Total pixels | 342 | 342 | 420 | 420 |
+----------------+-----+------+-------+------+
Composition of one frame when not interlacing :
+-------------------------+-------------------+-------------------+
| | 50Hz | 60Hz |
| +-----+------+------+-----+------+------+
| | SMS | V224 | V240 | SMS | V224 | V240 |
+-------------------------+-----+------+------+-----+------+------+
| VSYNC half lines | 0 | 6 | 6 | 0 | 6 | 0 |
| VSYNC full lines | 3 | 0 | 0 | 3 | 0 | 0 |
| Top blanking half lines | 0 | 6 | 6 | 0 | 6 | 0 |
| Top blanking full lines | 13 | 10 | 10 | 13 | 10 | 0 |
| Top border | 54 | 38 | 30 | 27 | 11 | 0 |
| Active display | 192 | 224 | 240 | 192 | 224 | 240 |
| Bottom border | 48 | 32 | 24 | 24 | 8 | 272 |
| Bottom blanking (half) | 0 | 6 | 6 | 0 | 6 | 0 |
| Bottom blanking (full) | 3 | 0 | 0 | 3 | 0 | 0 |
+-------------------------+-----+------+------+-----+------+------+
| Total lines | 313 | 313 | 313 | 262 | 262 | 512 |
+-------------------------+-----+------+------+-----+------+------+