Code Monkey home page Code Monkey logo

xdbg's Introduction

xDbg

xDbg is a 65C02 debugger meant to compliment the Corsham Technologies xKIM monitor.

Features

  • Pure 6502 code.
  • Can load Intel hex files from either the SD card or console.
  • Breakpoints without external hardware support.
  • Single-stepping without external hardware support.
  • WDC65C02 disassembler.
  • Examine/edit memory.
  • Can compute offsets for relative branches within memory editor.

Command Summary (not a complete list)

  • Exmine/edit memory.
  • Display/set registers.
  • Jump to code.
  • Load Intel hex file from console or SD card.
  • Directory of SD card.
  • Branch offset calculator, also within memory editor.
  • Disassemble WDC65C02 code.
  • Step/Step-over
  • Breakpoints: list, set, clear, enable, disable.

Requirements

Must have xKIM v1.8 or later for many of the commands to work, as that version provides subroutine calls for common tools.

Nota Bene

This is still a work-in-progress, meaning that it has been tested quite a bit as new features were added, but almost certainly contains many bugs still. The biggest area of doubt is the disassembler, as not every 65C02 instruction has been tested.

The debugger supports the WDC65C02 processor although it uses only 6502 instructions. That means if you disassemble a bad 6502 opcode, it might display as a perfectly good WDC65C02 instruction. Of course, if you execute that instruction while running on a 6502 then bad stuff might happen.

License

GNU GPLv3

xdbg's People

Contributors

corshamtech avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.