Skip to content

Fully Commented 6502 assembler source code of my favourite C64 games

License

Notifications You must be signed in to change notification settings

Piddewitt/C64-Game-Source-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Commodore C64 Game Source Code

Purpose

  • Start with an old Commodore C64 game disk which is as close to the original as possible (g64 or nib).
  • Include the copy protection.
  • Produce a commented assembler listing which reassembles to an exact copy of the originaL binary.
  • Make the source as variable as possible to allow any kind of modifications, data area and code relocation.
  • Sometimes add some own ideas to the game soures code for fun and as a proof of concept.
  • Sometimes add a (simple) level editor.

Published so far

Tools used

  • Assembler: 64tass
  • Disassembler: 65xxDis
  • Disk manager: DirMaster
  • Emulator: WinVice
  • Converter: NibTools

Project

  • All content comes as a Notepad++ project

Directory structure

  • dox - Additional documentation
  • npp - Notepad++ modification instructions / language files / toolbar icons
  • C64
    • tools
      • 64tass
      • DisAsm
    • asm
      • Projects
        • file: npp_project_name.xml
        • Data
          • inc - C64 system includes
          • originals - Game sources
            • c64_game
              • asm - Source code
              • d64 - C64 disk files
              • dis - Disassemblies
              • inc - Game includes
              • lst - Assembler listings
              • prg - Binaries
              • xtra - Additional files
              • file: all.bat - Call both, 64tass and 65xxdis
              • file: asm.bat - Call 64tass
              • file: dis.bat - Call 65xxdis
          • mods - Modified games
            • c64_game
              • [same structure as above]

Releases

No releases published

Packages

No packages published