Skip to content

Quick Reference

Chysn edited this page Feb 9, 2022 · 17 revisions

Disassembler

.D [from] [to] ; Official 6502 instructions
.E [from] [to] ; Plus "illegal" instructions

Assembler/Memory Editor

.A addr mne [operand] [;comment]
.A addr "string"
.A addr :nn [nn] [nn] [nn]
.A addr %bbbbbbbb

Symbol Management

.* addr      ; Set Command Pointer
.@           ; Show symbol table
.@-          ; Clear symbol table
.@name value ; Set symbol value (8- or 16-bit)

Memory Display

.M [from] [to] ; Hex
.% [from] [to] ; Binary
.I [from] [to] ; Text

Register Management

.R    ; Display registers
;ac [xr] [yr] [pr]

Go

.G addr ; Left-arrow
.G      ; Continue after BRK

Breakpoint Management

.B addr        ; Set breakpoint, enable wAx BRK trapping
.B-            ; Clear breakpoint, enable wAx BRK trapping
.B             ; Show breakpoint
STOP/RESTORE   ; Disable wAx BRK trapping

Disk/Tape/SD Storage

.S from to+1 ["filename"]   ; Save
.L ["filename"]             ; Load
.F                          ; Show all files
.F ["partial filename"]     ; Show selected files
.A:00BA device              ; Set device number (as hex)

Transfer and Pattern Fill

.T from to target    ; Copy
.A from "pattern"    ; Pattern Fill
.T from to *         ; ,,

Compare

.C from-r1 to-r1 from-r2

Search

.H addr:nn [nn] [nn] [nn] [nn] [nn] [nn] [nn]
.H addr "string" ; Up to 16 characters
.H addr mne [operand]

Assertion Tester

.= addr nn [nn] [nn] [nn] [nn] [nn] [nn] [nn]

Numeric Conversion

.$ hh[hh]  ; Hex to base-10
.# number  ; Base-10 to Hex

BASIC Stage

.↑ start-page [end-page] [NEW]  ; Set stage address
.↑                              ; Show stage address range (in pages)

User Plug-Ins

.U [varies]     ; Invoke Plug-in
.U?             ; Show parameter template
.P              ; Show plug-in Menu and Info
.P "name"       ; Install built-in plug-in
.P addr         ; Install plug-in by address