Hi 0xmarcin.
Welcome to our forum, and thanks for the kind words.
I had used a monochrome 320*240 LCD (without a LCD controller already integrated, quite rare these days).
There seems to be no standard for that sort of displays when it comes to pinout and signal naming conventions.
The solution was to have a small adaptor PCB between the controller and the LCD to compensate for the different pinouts.
Actually, my HSYNC\VSYNC signal timing doesn't _exactly_ match the specifications for analog video TV and 320*240 LCD,
I just had "tinkered with the timing" until I had a stable picture on the TV and the LCD at the same time...
BTW: where I live, 50Hz VSYNC and 15.625kHz HSYNC is the standard for analog video.
;---
"BAS (Bild-Austast-Synchron)" is German for VBS "(Video Blanking Sync)",
BAS is an
analog composite video signal output (without the chrominance) to be fed into a TV or a monitor.
;
If it's a cheap monitor which doesn't properly clamp the analog video signal to the black level,
resulting in brightness going "off track" when having big areas of white on the screen,
jumper J4 could be used for choppig the video signal with the dot clock for (hopefully) improving the situation.
//Got that trick from the
NKC.
For monitors with TTL level input signals (in the "good old days" there were such things),
QPIX is the digital video signal, QVS is VSYNC, QHS is HSNYC. //The 'Q' denotes an output.
Since there isn't exactly a standart for the polarity of such TTL level monitor signals, there are jumpers for changing signal polarity by using XOR gates.
For the LCD:
QVS is VSYNC, QHS is HSYNC.
FRM is a control signal which toggles after every frame (IC29B on page 8 in the d04v1.sch schematics), the display needed that control signal.
;
XCLK is the clock signal, R7 (470 Ohm to GND) is there to dampen line reflections on the wire to the LCD.
//Note, that XCLK is gated with "display enable", the display needed that clock gating.
;
XD3..0 is the 4 Bit monochrome video data.
//Data for the pixels is transmitted in 4 Bit "chunks" with XCLK being the clock.
BTW: when building that D04 display controller years ago, I didn't know about 6502 bus timing what I know by now.
Hope, this helps.
You happen to have a datasheet\specification for the TFT LCD screen you are out to use ?
Edit:
Speaking about LCDs, the screenshot up in the thread is from a Hosiden HLM8620-12.
IIRC Seiko\Epson TCM-A0635-1 also had worked.
Maybe I had tried other LCDs before using these two (this would explain that FRM signal), but I don't remember anymore.