Skip to content

willasm/c64opcodes

Repository files navigation

c64opcodes

This extension for VSCode displays a Webview page with detailed information on 6502/6510 opcodes. To execute the extension run the command Open C64 Opcodes List from the command pallete. If the cursor is on an opcode when run, that opcodes detailed information will be displayed, otherwise the extensions menu page will load allowing you to browse the opcode lists.

All normal and illegal opcodes are included.

Note: The opcode text does not need to be selected, simply place the cursor on the opcode then run the command

Tip: You may want to set a hotkey if you are going to use this extension often

Features

  • Get detailed information on any opcode.
  • View flags affected by any opcode.
  • Optionally display text using a C64 font.
  • Code examples for select opcodes.
  • Theme aware, adjusts background and text colors for dark, light, and high contrast themes.

Screenshot

Example Screenshot

Recomendations

If you use Kick Assembler I recommend using Kick Assembler 8-Bit Retro Studio by Paul Hocker along with this extension.

Extension Settings

Use C64 Font (Off by default) Displays the webview text using a Commodore 64 font.

Use Side Panel (On by default) Option to open the Opcode Webview in the current editor column, or in a side panel.

Todo

  • Add more detailed information on other topics such as CPU, Flags, etc.
  • Add support for the Commander X16 additional opcodes for the 65c02 processor

Release Notes

See the Release Notes for details.

Acknowledgments

C64 Kickass IDE written by 'Lobogris' Notably the index.chm help file. Most of the description text and the code examples were sourced from this help file.

The website by Gregory Nacu which provided the inspiration for the webview layouts.

The website 6502.org for reference.

Also the website www.c64-wiki.com for reference.

The C64 Font created by Devin D. Cook used optionally in the Webviews.

Illegal Opcode reference 6502 “Illegal” Opcodes Demystified

Illegal Opcode reference 6502 Instruction Set

Illegal Opcode reference NMOS 6510 Unintended Opcodes (No More Secrets)

Enjoy!

About

Commodore 64 Opcodes vscode extension

Resources

License

Stars

Watchers

Forks

Packages

No packages published