Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/f-aguzzi/af6502
6502 8-bit processor emulator
https://github.com/f-aguzzi/af6502
6502 6502-emulation emulator
Last synced: 7 days ago
JSON representation
6502 8-bit processor emulator
- Host: GitHub
- URL: https://github.com/f-aguzzi/af6502
- Owner: f-aguzzi
- License: bsd-3-clause
- Created: 2022-05-29T10:33:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T17:04:41.000Z (almost 2 years ago)
- Last Synced: 2024-12-06T18:01:29.395Z (22 days ago)
- Topics: 6502, 6502-emulation, emulator
- Language: C++
- Homepage:
- Size: 1.61 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# af6502
6502 8-bit processor emulatorThis emulator is still a work in progress.
All opcodes have been implemented, and they were tested individually
through unit tests, but no global testing (i.e., running a piece of
assembly through the emulator) has been performed yet.## Usage
The emulator shall be operated from the command line.
The command line flags must have space between each other, but their
arguments are attached. For example, to load a file and activate the
register status output:```
af6502 -input=./program.bin -showstatus
```### Command line arguments:
- `-cycles=` *(followed by a number, without quotes)*: sets the number of
clock cycles to execute
- `-input=` *(followed by the path, without quotes)*: selects the input
binary file
- `-showstatus`: displays the status of the registers in the terminal,
at the end of the execution
- `-dump=` *(followed by the path, without quotes)*: selects the path for
the memory dump file
- `-start=` *(followed by a number, without quotes)*: sets the inital value
for the Program Counter register, that is, the starting memory location
of the executable. When loading a binary, it will be transcribed to
memory starting from this valueInvalid flags are ignored.