MCPcopy Index your code
hub / github.com/cc65/cc65

github.com/cc65/cc65 @V2.19

Chat with this repo
repository ↗ · DeepWiki ↗ · release V2.19 ↗ · + Follow
4,858 symbols 16,235 edges 1,009 files 180 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Windows Snapshot

Documentation

Wiki

Build Status

cc65 is a complete cross development package for 65(C)02 systems, including a powerful macro assembler, a C compiler, linker, librarian and several other tools.

cc65 has C and runtime library support for many of the old 6502 machines, including

  • the following Commodore machines:
  • VIC20
  • C16/C116 and Plus/4
  • C64
  • C128
  • CBM 510 (aka P500)
  • the 600/700 family
  • newer PET machines (not 2001).
  • the Apple ][+ and successors.
  • the Atari 8-bit machines.
  • the Atari 2600 console.
  • the Atari 5200 console.
  • GEOS for the C64, C128 and Apple //e.
  • the Bit Corporation Gamate console.
  • the NEC PC-Engine (aka TurboGrafx-16) console.
  • the Nintendo Entertainment System (NES) console.
  • the Watara Supervision console.
  • the VTech Creativision console.
  • the Oric Atmos.
  • the Oric Telestrat.
  • the Lynx console.
  • the Ohio Scientific Challenger 1P.

The libraries are fairly portable, so creating a version for other 6502s shouldn't be too much work.

Core symbols most depended-on inside this repo

AddCodeLine
called by 1062
src/cc65/segments.c
NewCodeEntry
called by 438
src/cc65/codeent.c
CS_InsertEntry
called by 298
src/cc65/codeseg.c
Error
called by 259
src/cc65/error.c
CollCount
called by 250
src/common/coll.h
NextTok
called by 223
src/ca65/nexttok.c
NextToken
called by 166
src/cc65/scanner.c
CollCount
called by 156
src/dbginfo/dbginfo.c

Shape

Function 4,218
Class 624
Enum 16

Languages

C89%
C++11%

Modules by API surface

src/dbginfo/dbginfo.c204 symbols
src/sim65/6502.c191 symbols
src/cc65/codegen.c102 symbols
src/ca65/pseudo.c92 symbols
src/ca65/expr.c70 symbols
src/ca65/studyexpr.c67 symbols
src/dbginfo/dbgsh.c60 symbols
src/cc65/coptstop.c52 symbols
src/da65/handler.c51 symbols
src/ld65/o65.c48 symbols
src/cc65/expr.c47 symbols
libsrc/dbg/dbg.c46 symbols

For agents

$ claude mcp add cc65 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact