Improving the Graphics Gremlin
https://youtu.be/1qpRQW7TCzo
More info:
https://hackaday.io/page/14228-improving-the-graphics-gremlin-project
looks pretty good although i still need to test it on the real hardware.
one general comment: i'm not a huge fan of renaming mda to hgc because the logic is still mostly copied directly from the MDA schematic in the IBM tech ref. can you keep the MDA names but add hgc_ to all the Hercules signals that you added, making it super clear these are HGC-specific mods?
I think that's right, as soon as I can I'll review all your comments and rethink the code according to your criteria.
My changes are not based on schematics, but on behaviour according to the HGC and Tandy 1000 technical manuals.
On the other hand, I may not have been very careful with the names of the registers and wires, you are free to rename them as you think is clearer for the project.
I've added new commits to my fork, but I don't quite know how to add them to this pull request:
https://github.com/spark2k06/graphics-gremlin/commits/main

I add bitstream 3 in my repository, initially with Adlib.
Adlib is based on @jotego's JTOPL2. Others can be added later, e.g. CM/S at the same time in the same bitstream.
https://github.com/spark2k06/graphics-gremlin/commit/a3fc3b24a1f9e28c80c948d4e4d5717d4dfc73e8
Later, when you review the pull request, you may consider adding this commit to your main repository.
Added Game Blaster (CMS) to Bitstream 3, now together with Adlib:
https://github.com/spark2k06/graphics-gremlin/commit/570dd635b6f7d3fd1c2424afc708305da7177bee https://github.com/spark2k06/graphics-gremlin/commit/60bb9b6b04fd7dfc5b2a54f15ddaacd58ec9269c
Improvement taken from the MiSTer PCXT port based on Graphics Gremlin, thanks to which some scenes from the Area5150 demo now look good:
https://github.com/spark2k06/graphics-gremlin/commit/42bff7bbfce0fb354c1455531b3c2b86d30055ae

Other graphical glitches were also not solved in the Graphics Gremlin part of the PCXT core, such as the initial text in the demo, with ghost lines appearing.
CGA and Hercules CRTC updated to UM6845R
https://github.com/spark2k06/graphics-gremlin/commit/8453503e26fb3384a3a737d101b5e054cf8a72e5
before:

after:

The latest commit https://github.com/spark2k06/graphics-gremlin/commit/8453503e26fb3384a3a737d101b5e054cf8a72e5 breaks CGA scan doubling.
- @spark2k06 in his email mentioned that he intentionally disabled scan doubling because his VGA monitor works better with 15 kHz mode
- In my tests with 3 different LCD monitors (spanning from early 2000 to a 2020 models) none of them were able to work with 15 kHz mode
- I tried re-enabling scan doubling by reverting the relevant changes around cga.v lines 438-446 and all the cga_top.v changes. That somehow still didn't work
- Finally, the scan doubling was re-enabled by reverting the https://github.com/spark2k06/graphics-gremlin/commit/8453503e26fb3384a3a737d101b5e054cf8a72e5 commit (the other change there seems to be moving to a different MC6845 implementation)
The latest commit spark2k06@8453503 breaks CGA scan doubling.
* @spark2k06 in his email mentioned that he intentionally disabled scan doubling because his VGA monitor works better with 15 kHz mode * In my tests with 3 different LCD monitors (spanning from early 2000 to a 2020 models) none of them were able to work with 15 kHz mode * I tried re-enabling scan doubling by reverting the relevant changes around cga.v lines 438-446 and all the cga_top.v changes. That somehow still didn't work * Finally, the scan doubling was re-enabled by reverting the [spark2k06@8453503](https://github.com/spark2k06/graphics-gremlin/commit/8453503e26fb3384a3a737d101b5e054cf8a72e5) commit (the other change there seems to be moving to a different MC6845 implementation)
On my old Nokia Display from 1999 this commit also don't work. I get black screen. But the improvement of CGA glitches in this commit are really cool. @spark2k06 Is it possible to add this improvements but disable 15 kHz mode ? At the moment you are the only one, who make active development on this project. It would be really a gift for the Retro PC community. Thanks