NESASM extension for VSCode

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
elmernite
Posts: 4
Joined: Fri Sep 09, 2022 7:41 am

NESASM extension for VSCode

Post by elmernite »

I am just starting to learn NES Assembly and I was looking for code highlighting support in VSCode for the NESASM.
Not finding any I went ahead and started working on my own. (You can find it in VSCode as well)
https://marketplace.visualstudio.com/it ... ent-server

Figured I would share here for anyone else trying to get started with NESASM in VSCode. It just has basic code highlighting at the moment, and its a work in progress.
Hope some people find it helpful!
Venutech
Posts: 11
Joined: Mon Jan 30, 2023 12:13 pm

Re: NESASM extension for VSCode

Post by Venutech »

Cool, I just got started compiling an nes rom with vscode, too.
I followed neshacker on yt and installed ca65 macro assembler for code highlighting and cl65 outside of vscode for compiling.
I was up and running pretty fast
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Re: NESASM extension for VSCode

Post by jeffythedragonslayer »

What I found tricky to get started with NESASM3 is that the indentation matters, like python. Some kind of squiggle for correctly spelled but incorrectly indented directives would have been useful. I want to try this extension out.
elmernite
Posts: 4
Joined: Fri Sep 09, 2022 7:41 am

Re: NESASM extension for VSCode

Post by elmernite »

Yeah, I don't like white space Significant style languages like Python and that feature of NESASM. I'll see about that.
zzo38
Posts: 1096
Joined: Mon Feb 07, 2011 12:46 pm

Re: NESASM extension for VSCode

Post by zzo38 »

As far as I know, the exact indentation does not matter in NESASM but each line would start with a label and is separated from the instruction with spaces, so if the label is omitted then you need to add a space at the beginning of the line to indicate that the label is omitted.
(Free Hero Mesh - FOSS puzzle game engine)
Post Reply