A nostalgic HDMI display driver [0.07 alpha in post #32]
0.07 alpha in post #32. 6 different modes at different CPU speed (280,320,360 MHz), it sets the clock automatically after selecting the mode, LUT usage changed to save CPU cycles in the main loop
0.06 alpha in post #31. Color model changed from rgb to 8-bit palette, code cleanup done.
0.05 alpha in post #26. Cursor and ntsc-type mode with narrow borders.
0.04 alpha in post 21. Vblank functions added, color buffer bug fixed.
Edit: (20210224): 0.03 alpha. Now every characters has its own colors, 6000 longs wasted for a color buffer. The file added to post #20
Edit (20210223): 0.02 alpha ready for testing.
So... I want to have a lot of nostalgic things out of P2, but the first I want is a retro player. The SIDCog and a mod player is ready, but I need a display driver. A 50 Hz one.
So the goal was to convert "nostalgic VGA" used in PropPlay to a new environment
I decided to use PAL Atari/Amiga related CPU frequency. This will allow to write Paula and Pokey emulators at their real speed. I also decided to use PAL related 576 line resolution and Atari 8-bit refresh rate.
To make 9:16 resolution I had to use 1024 pixels horizontal.
The result is very tight blanking, but then I hope most modern monitors should handle it. I made a test topic here
So what I got is a HDMI 100x30 text driver with border, signalling email@example.com Hz using 1 cog and P2 clocked at PAL Amigax45=319_220_550
As there is time to go to sleep, I post the first screen... and no code yet. To be continued tomorrow. TODO is to service LUT entries to get one set of colors for every 4 letter field and attach a bunch of spin methods to use the driver - converted from P1 Nostalgic VGA driver