AtariBits
  • Home
  • Systems
    • 576NUC+ >
      • NUCplus4
    • 1088XEL >
      • XEL-CF Drive
      • XEL-CF3 Rapidus Variant
      • Accessories
      • XEL Archives
    • 1088XLD >
      • RGB2VGA-XLD
      • ARROW2JOY-XLD
    • CV-NUC+
  • TransKey
    • TK-II >
      • TK-II Manual
      • Installation
      • Device Compatibility
      • TK-II Archives
    • TK-II-STEREO
    • TK-II Control
  • XEP80-II
  • JOY2PIC
  • MOUSE
  • MIDI
    • MIDI 3D Printed Cases
  • UGV
    • Old UGV Archive
  • SDrive
  • RAM
  • Blog

C64 Goodies (continued... part 2)

2/18/2024

 
I got the sample boards from JLCPCB for what I had called C64-JBgone, and after testing, it did clean up the video, but the jail bars although lighter could still be seen against darker backgrounds. So I accept that this must be coming from inside the VIC-II chip, and because of this there really is no way to completely eliminate this effect. I believe Adrian Black from Adrian's Digital Basement came to a similar conclusion after much experimentation of his own.

And I also played around with some of the ideas embodied within the LumaFix64 mod, but found that approach to be lacking in overall effectiveness, and in certain situations making things even worse.

I'm pretty content with the progress I made via improved video  circuit design and better shielding. However the over scan and white line problem visible on the left was in need of a solution, so a new plan was formulated, and that plan is the C64-VGATE VIC-II Video Board.
Picture
Click Image to Enlarge
I took what I had learned in the previous design, which had a lot in common with the first version C64 motherboard video output circuit, and then streamlined it before adding what I call VGATE technology. Which in a nutshell blanks out a specified amount of over scan (what was never meant to be seen) either from the left or right side of the screen, or in some cases like on the Atari - both sides. So for the C64, over scan only occurred on the left side of the screen with a thin white line visible on the extreme left when viewed on an LCD wide screen monitor. The white line was something new to me, but would be cured by the over scan blanking I was implementing.

The Video Gating (VGATE) where the blanking occurs, is controlled by a PIC microcontroller that derives its clock from the VIC-II Dot Clock on pin-22 (multiplied by 4 inside the PIC with a PLL), and then gets synced at the beginning of every line by the video's CSYNC signal. This gives us very precise control of where and when the gating signal gets turned on or off, and where it flips the analog switches to an OFF state in order to stop the video from displaying. The code for the PIC's firmware needed to be fast, so the source was written in assembly language and then GPASM was used to compile the Microchip PIC machine code, creating the hex file for flashing the chip. The asm text file was written and saved on a Linux box, so there may be issues with the end of line in Windows, although it should be viewable in most browsers.

c64-vgate.asm
File Size: 4 kb
File Type: asm
Download File

c64-vgate.hex
File Size: 0 kb
File Type: hex
Download File


Prior to the video switches, there are two preamps for the Luma and the Chroma which condition the signals coming from the VIC-II to an acceptable level, and match up the black level between them. Following the video switches we feed a special video buffer/summing IC chip (FMS6400CS) where the signals get boosted in current capability for a standard 75 ohm load while rendering 1V peak-to-peak video output, and also doing DC signal restoration with some filtering. And finally the Luma and Chroma also get combined inside the FMS6400CS to create an independent fully buffered composite output that will not interfere or cross-talk with the Luma/Chroma outputs.


O-Scope and HD Monitor Images
Picture
BASIC Start-Up Screen with VGATE ON (cropping left border over scan)
Picture
Picture
BASIC Start-Up Screen with VGATE OFF (full left border - no cropping)
Picture
Picture
Diagnostic Screen VGATE ON (no white line)
Picture
Picture
Diagnostic Screen VGATE OFF (white line visible)
Picture
Next will be PCB layout for the C64-VGATE board - so stay tuned!

- Michael

Previous
Post (Next Post)

Comments are closed.

    Author

    My name is Michael St. Pierre and in the early 90's I decided to create my very first Atari 8-Bit upgrade. It was called TransKey.
    ---Then soon after Atari folded and I left the scene ---
    25 years later I came back with a mission to improve upon what I had started so long ago.

    Archives

    October 2025
    May 2025
    March 2025
    January 2025
    December 2024
    September 2024
    August 2024
    July 2024
    May 2024
    April 2024
    February 2024
    January 2024
    December 2023
    November 2023
    August 2023
    June 2023
    May 2023
    March 2023
    January 2023
    December 2022
    August 2022
    May 2022
    April 2022
    December 2021
    October 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021

    Categories

    All
    576NUC+
    AtariBits News
    C64
    ColecoVision
    Industrial Applications
    Intro
    MIDI
    Monster 600XL
    Multi-Carts
    Multi-SLOT 1200XL
    NUCplus4 Assembly
    Transkey
    XEP80-II

    RSS Feed

Powered by Create your own unique website with customizable templates.