VDC Init - tool for C128 There are four applications in the package: vdcin64.prg and vdcinit.prg are essentially the same, except that the first is compiled for the C64 mode (starting at $0801), whereas the other for the native mode (starting at $1c01). Either of them can be started in the corresponding mode by RUN, or in either mode by SYS (SYS2061 for vdcin64.prg and SYS7181 for vdcinit.prg). vdcntsc.prg and vdcpal.prg are also the same (as vdcinit.prg), except for being hard-wired to NTSC or PAL mode setting for the VDC. --------------------------------------------------------------- This program does the following: --------------------------------------------------------------- First it resets the VDC chip to the factory settings (the same as the C128 mode Kernal does), then it makes some minor useful modifications, too. It is especially important for the VDC usage in the C64 mode if the computer has been forced to directly boot into the C64 mode before (e.g. holding down the C= key or having a C64 cartrigde attached, like the IDE64). The operating system does not do the initialization of the VDC chip in this case, so thus it must be done "by hand" (by running this code). If you have experienced some problems with my memory testing tools (MemTest64 and VDC Dump) during the VRAM tests, it means you first need to do so, still before running the test programs. --------------------------------------------------------------- And this program also does the following: --------------------------------------------------------------- It detects the size of VRAM (16K or 64K) and sets the VDC chip to the correct mode (by setting bit4 at register #28). Which is always needed for the 64K upgraded machines, since the Kernal does not take any care of that. It also sets the DRAM Refreshing Rate to 0 (at register #36). Which is always set to 5 by the operating system by default, but manually setting it to 0 makes the VDC chip slightly faster in advance. The vdcntsc.prg always sets the VDC to NTSC mode. The vdcpal.prg always sets the VDC to PAL mode. VDC Init is freeware and open-source and can be downloaded here: --------------------------------------------------------------- http://istennyila.hu/stuff/archive/vdcinit.zip --------------------------------------------------------------- MemTest64 project homepage: http://istennyila.hu/memtest64 SDOS project page: http://istennyila.hu/sdos Rosetta Interactive Fiction project homepage: http://istennyila.hu/rosetta (c) 2012-2017 by Robert Olessak
| Name | Size | Modified |
|---|---|---|
| .. | ||
| source | 2025-08-30 14:47:04 +0000 UTC | |
| readme.txt | 2609 | 2025-08-30 14:47:04 +0000 UTC |
| vdcin64.prg | 428 | 2025-08-30 14:47:04 +0000 UTC |
| vdcinit.prg | 428 | 2025-08-30 14:47:04 +0000 UTC |
| vdcntsc.prg | 429 | 2025-08-30 14:47:04 +0000 UTC |
| vdcpal.prg | 429 | 2025-08-30 14:47:04 +0000 UTC |
Generated by Botless
in 0s on 2026-08-24 22:49:15 +0000 UTC
Current hint for FTP is fe00204d-d688-4993-9353-fc146d427dda
which is valid for the next 12m28s
You are human, aren't you?