This page is a mirror of Tepples' nesdev forum mirror (URL TBD).
Last updated on Oct-18-2019 Download

Tokumaru or Banshaku - color coding for Notepad++ ASM6?

Tokumaru or Banshaku - color coding for Notepad++ ASM6?
by on (#93785)
Just a quick question, I found an old thread about syntax highlighting where Banshaku linked his custom setup for Notepad++ that he said he worked on with Tokumaru. The link appears to be dead now.

I haven't tried syntax highlighting with assembly before, I don't know why it didn't occur to me to set it up sooner. I was wondering if either of you still have it, I'd rather not reinvent the wheel if I don't have to. :)

by on (#93786)
Heh. So on a whim, I tried something and it appears to have worked.

The old link was dead. I clicked the "www" in banshaku's post and saw he had a new site. I assumed everything might have been migrated, and pasted the end of the dead url to the end of the new site.

www.membler-industries.com/banshaku/mis ... nition.zip

Whee!

by on (#93794)
Ah, I should've tried that. Thanks!

by on (#93806)
It's good you found Banshaku's file, as it's more complete than mine. Mine only recognizes 6502 mnemonics and ASM6 keywords... IIRC, his knows a ton of keywords for different assemblers. Also, I seem to remember we disagreed on some colors...! But since he's much more of a professional software developer than I am, his choices probably make more sense! =)

by on (#93819)
tokumaru wrote:
Also, I seem to remember we disagreed on some colors...! But since he's much more of a professional software developer than I am, his choices probably make more sense! =)


It was more a personal preference more than anything else =) I prefer light colors theme since they will be less hard on your eyes if you work all day in front of your monitor. But depending of your monitor (which was your issue if I remember well) or the lighting around your desk, it may not work well. So it must be adjusted accordingly.

Another reason of the color I chose is because of the way I write the code with comments, which make it easy to read. Since the instruction set is quite limited and the highlighted text are usually small word, the way of writing will affect if the color makes sense or not.

I don't remember if I updated it since I didn't code nes for a long time. I think I didn't. If I did, I will update it once I can find some time. It support at the least ca65 and (maybe) some other assembler like nesasm and asm6. It's been a while so I don't remember well.