go6502 - это набор пакетов для языка программирования GO.go6502 is a collection of go packages that emulate a 6502 or 65C02 CPU. It includes a CPU emulator, a cross-assembler, a disassembler, a debugger, and a host that wraps them all together.
The interactive go6502 console application in the root directory provides access to all of these features.
Что умеет? Эмуляция процессоров 6502 или 65C02, кросс-ассемблер, дизассемблер, отладчик и хост, который объединяет их все вместе.
Интерактивное консольное приложение go6502 в корневом каталоге обеспечивает доступ ко всем этим функциям.
Code: Select all
> $ go6502
* help
go6502 commands:
annotate Annotate an address
assemble Assemble commands
breakpoint Breakpoint commands
databreakpoint Data breakpoint commands
disassemble Disassemble code
evaluate Evaluate an expression
execute Execute a go6502 script file
exports List exported addresses
list List source code lines
load Load a binary file
memory Memory commands
quit Quit the program
register View or change register values
run Run the CPU
set Set a configuration variable
step Step the debugger
* load sample.bin
Loaded source map from 'sample.map'.
Loaded 'sample.bin' to $1000..$10FF.
* disasm $1000
Command not found.
* disassemble $1000
1000- A9 EE LDA #$EE
1002- A9 FE LDA #$FE
1004- A9 80 LDA #$80
1006- A9 7F LDA #$7F
1008- A9 5A LDA #$5A
100A- 20 21 10 JSR $1021
100D- 20 24 10 JSR $1024
1010- 20 3E 10 JSR $103E
1013- 20 4E 10 JSR $104E
1016- F0 08 BEQ $1020
* quit