MemTest64 - a system detection and memory testing utility for the Commodore machines (all the 8-bit ones!). The following system components are examined: - CPU type and main memory (up to 64K plus other banks) - PAL/NTSC system and the number of the scanlines of the screen - extensions (Turbo Chameleon, DTV, TDC, SCPU, MEGA65, IDE64 or 1541 Ultimate) - actual and exact speed of CPU (effectively on the 6502 MHz) - most common memory expansions (both internal and external) - transfer speed measurements (in order to be compared) These kinds of memories are detected and tested: - main memory (see above) on all machines - VDC on C128 (also in the C64 mode) - REU (up to 16 MB) - GeoRAM (up to 4 MB) - SuperRAM on SuperCPU (up to 16 MB) - DMA on C65/MEGA65 (up to 8 MB) - DMA on C64DTV (up to 2 MB) - CBM-II banks and system bank - colour RAM (on C64/128/65) Testing is made by writing to and reading back, and comparing, usually some semi-random data (taken from the normal memory), besides also filled with specific values ($00/$55/$aa/$ff). Tested areas are restored or erased. VDC video memory is handled: - chip revision (0-2) and memory size (16K/64K) are directly detected - the memory size bit (at VDC register #28) is accordingly set - the DRAM refreshing rate (at VDC register #36) is also set The program always tries to set the DRAM rate as low as possible (preferably zero) in order to increase the speedness of the VDC. The transfer speed measurements are made by using the timer of the CIA and calculating aggregate numbers of one kilobyte transfers of all kinds. For more details, please read the attached manual in PDF (of 6 pages). For even more details, please see my corresponding article also in PDF (of 51 pages) called as "Writing Platform Independent Code on CBM Machines": --------------------------------------------------------------- http://istennyila.hu/dox/cbmcode.pdf --------------------------------------------------------------- MemTest64 is freeware and open-source and can be downloaded here: --------------------------------------------------------------- http://istennyila.hu/stuff/memtest.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