Skip to content

Commit

Permalink
updated build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchUsr64 authored Jan 10, 2024
1 parent 1029229 commit cb010cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Source Code for [snake](examples/snake.asm)
2. Change to newly created directory
`cd 6502_emulator`
4. Assemble one of the provided examples under `examples/` using [vasm](http://www.compilers.de/vasm.html) or just use the provided `a.out`
`vasm6502_oldstyle -Fbin -dotdir examples/snake.asm`
This should build an `a.out` file which the emulator can understand.
`python build_asm.py examples/snake.asm`
This should build an `a.out` binary which the emulator can understand along with `symbols.dbg` for debugging.
5. Run the emulator
`cargo run -- a.out`
`cargo run -- a.out --assembly-source examples/snake.asm --debug-symbols symbols.dbg`
6. For an explaination of all possible arguments
`cargo run -- -help`
`cargo run -- --help`

## Usage
### Debugging
Expand Down

0 comments on commit cb010cd

Please sign in to comment.