debug
| Header | {z88dk}/include/debug.h |
| ----------------------------------------------------------------------------------------------------------------
| Source | {z88dk}/libsrc/debug |
| Include | #include <debug.h>
|
| Linking | -ldebug |
| Compile | n/a |
| Comments | |
Low level debugging library.
unsigned int disz80(unsigned int address, unsigned int lines);
Disassembles code at the given address. If the MYSELF constant is passed in place of a valid address, it will disassemble the current program location, showing how really the C program has been compiled. Returns the address reached.
unsigned int dump(unsigned int address,unsigned int count);
Dump function: if the MYSELF constant is passed as an address, displays #count stack words and returns the current SP value (dump excluded), otherwise dumps memory bytes and returns the address reached.
- Overview
- Platform List
- Unsupported Platforms
- i8080/5 Support
- Homebrew hardware quickstart
- Retargetting
- Building the libraries
- Clang support
- Pragmas
- Adding to Classic
- Introduction
- Library Configuration
- CRT
- Header Files
- Assembly Language
- Library in Depth
- Embedded Platform
- Adding to NewLib
- Benchmarks
- Datatypes
- Debugging
- Decompression
- More than 64k
- Deficiencies
- Compiling Larger Applications
- Importing routines written in 8080 assembly mnemonics
- Using CP/M libraries in REL format with z88dk
- Writing optimal code
- Speeding up Compilation
- CMake usage