Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pm100 authored Jan 4, 2024
1 parent 1b78b10 commit c8ccf38
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,25 +97,27 @@ The command line has full searchable command history.
- up arrow scrolls to previous
- etc...

# load_code (load)
pressing enter will repeat the last line

### load_code (load)

loads a binary file that was output by ld65 for sim65. It expects to see the sim65 headers

`>> load <file name>`

# symbols (ll)
### symbols (ll)

loads symbol file output by ld65 for VICE. Generated by ld65 switches `-g -Ln <file>`

`>> ll <file name>`

you dont need to load symbols but its much easier with symbols

# run
### run

runs the code starting at the address found in the binary file header

# break (b)
### break (b)

Sets a breakpoint

Expand All @@ -126,11 +128,11 @@ Examples
`>> b ._main`
`>> b $27ba`

# bl
### bl

List break points

# bd
### bd

delete break points

Expand All @@ -142,23 +144,23 @@ deletes all break points

deletes break point #1 (from bl output)

# go
### go

resumes execution after break point

# next
### next

is 'step over' if it sees a function call it will not break until it returns

# step
### step

one instruction

# fin
### fin

run until return from current function call.

# watch (w)
### watch (w)

watch for memory read or write. Will breaak on the read of write of a location

Expand All @@ -172,21 +174,21 @@ will break when a write it made to .sreg

wl and wd are the same as bl and bd

# memory (m)
### memory (m)

dumps memory

`>> m $1467`

# dis
### dis

Disassembles

`>> dis [addr]`

if no address is given it continues from the last address

# enable (en)
### enable (en)

Enables bug traps.

Expand All @@ -196,19 +198,19 @@ memory check will break if a read is made from a memory location that has not be

These are both turned off by default

# printf (p)
### print (p)

prints values from memory

`>> p -s -i -p <addr>`

Print either an integer (16 bit), a string or a pointer

# back_trace (bt)
### back_trace (bt)

Displays the current 6502 stack

# expr
### expr

Expression evaluator. Anywhere that an address can be given you can have an expression

Expand All @@ -228,5 +230,5 @@ an expression starts with '='. YOu can then have numbers, symbols, parantheses,
`expr =xr`


# quit
### quit

0 comments on commit c8ccf38

Please sign in to comment.