This repository collects original source code of various Commodore Business Machines (CBM) computers converted to a modern encoding (ASCII, LF, indentation).
The Commodore 64 BASIC source (901226-01). Extracted from c64-basic.d64 from Steve Gray’s Dennis Jarvis Page and converted to LF line breaks and LST-style indenting.
The source contains the ranges
The checksum byte at $BF52 is 0 and will have to be calculated in a later step.
The Commodore 64 KERNAL source, original version (901227-01). Extracted from c64kernal.d64 from Steve Gray’s Dennis Jarvis Page and converted to LF line breaks and LST-style indenting.
The source contains the ranges
It does not contain the version byte at $FF80 (which is $AA in the binary) or the “RRBY” signature at $FFF6.
The Commodore 64 KERNAL source, final version (901227-03). Based on KERNAL_C64_00 and manually patched to reflect differences in the LST printout of the -03 KERNAL.
In the printout, the added patch function PIOKEY
ends with JMP CLKHI
($EE85), but the -03 binary contains $EE8E, which is JMP CLKLO
. The printout is probably older than the -03 binary, so the correct JMP CLKLO
was put into the source.
The sources have been verified to build the correct -03 KERNAL binary, but no guarantees can be given that all changes, especially in comments and formatting, have been patched correctly.
It does not contain the version byte at $FF80 (which is $AA in the binary) or the “RRBY” signature at $FFF6.
The Commodore Plus/4, C16 and C116 BASIC 3.5 and KERNAL source (1984). Source: ted_kernal_basic_src.tar.gz
The Commodore 128 BASIC 7.0, KERNAL, EDITOR and MONITOR sources (1985/1986). Source: c128_dev_pack.tar.gz
The PET 2001 BASIC source (V2, 1978).
The CBM2 BASIC, EDITOR and KERNAL sources (1983/1984). The A version is from David Viner, and the B version is from disks 67/68 of the CBUG library. The files have been converted to LF line breaks and LST-style indenting.
The CBM 4040/2040 DOS V2.1 source (1980). Extracted from 4040-source.d64 from Steve Gray’s Dennis Jarvis Page and converted to LF line breaks.
The CBM 8250/8050/4040 DOS V2.7 source (1981). Extracted from old-dos-sources.d81 from Steve Gray’s Dennis Jarvis Page and converted to LF line breaks and LST-style indenting.
The CBM 8070 DOS V3.0 source (1981). Extracted from old-dos-sources.d81 from Steve Gray’s Dennis Jarvis Page and converted to LF line breaks and LST-style indenting.
The CBM D9065 DOS V3.0 source (1981). Extracted from old-dos-sources.d81 from Steve Gray’s Dennis Jarvis Page and converted to LF line breaks and LST-style indenting.
The Commodore 1540 DOS V2.6 source (1980), 325302-01/325303-01. Extracted from 1541-2031-num1.d64 and 1541-2031-source-disk-copy-num2-side1.d64 from Steve Gray’s Dennis Jarvis Page and converted to LF line breaks and LST-style indenting.
master
source files build different configurations.CBM DOS V2.6 V170
” though, which corresponds to the 1540.The Commodore 1541/1541C/1541-II DOS V2.6 source.
_REC
” have been reconstructed from DOS_1540 and DOS_1571 to match the ROM images. They all match in case and spacing, so they can be used for comparing versions against each other._REC
” contain original source from all_new_dos.tar.gz and are lower case.These are the respective directories:
The Commodore 1551 DOS 2.6 TDISK source (1984), 318008-01. Source: all_new_dos.tar.gz
The Commodore 1570 DOS 3.0 source (1985), 315090-01. Source: all_new_dos.tar.gz
The Commodore 1571 DOS sources:
Source: all_new_dos.tar.gz; the -03 version was reconstructed from 1571/310654_03/serlib.lst in the dump.
The Commodore 1581 DOS source (10.0, 1987), original version (318045-01). Source: all_new_dos.tar.gz
The C64/C128 RAMDISK DOS V4.3 source (1987). Extracted from ramdos.zip. This is a version of Commodore DOS running on the C64/C128 for using a REU (RAM Expansion Unit) as a RAM disk.
This repository is maintained by Michael Steil, mist64@mac.com