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

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
UncleSporky
Posts: 385
Joined: Sat Nov 17, 2007 8:44 pm

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

Post by UncleSporky » Mon May 14, 2012 11:28 am

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. :)

User avatar
Kasumi
Posts: 1292
Joined: Wed Apr 02, 2008 2:09 pm

Post by Kasumi » Mon May 14, 2012 11:47 am

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.

http://www.membler-industries.com/bansh ... nition.zip

Whee!

UncleSporky
Posts: 385
Joined: Sat Nov 17, 2007 8:44 pm

Post by UncleSporky » Mon May 14, 2012 12:54 pm

Ah, I should've tried that. Thanks!

User avatar
tokumaru
Posts: 11907
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru » Mon May 14, 2012 5:17 pm

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! =)

User avatar
Banshaku
Posts: 2393
Joined: Tue Jun 24, 2008 8:38 pm
Location: Japan
Contact:

Post by Banshaku » Mon May 14, 2012 8:57 pm

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.

Post Reply