Jump to content





Photo

Edit Mode rev 2

Posted by , in jEdit 14 February 2006 · 40 views

I made some more changes to the Edit Mode file and am pretty happy with how it works. All the 6502 opcodes highlight as keyword1, DASM commands as keyword2 and the constants for all the Atari specific variabels as keyword 3. Numbers correctly highlight for hex using $ format and binary with %. I included octal rules, though I don't know if DASM supports octal or not. Numbers starting with 0 are traditionally considered octal so 012 = $0A = 10.This will probably be it on jEdit for a while so I can get back to documenting Warlords.

Attached Thumbnails

  • Attached Image

Attached Files






One thing I did with Textpad is color-code the 6502 commands by classification. So, for instance, store operations would be red. Read operations would be green. NOPs are white. Things like that. It might be useful when scanning code to visually see where all the reads, writes, and branches are based on the colors.
  • Report
That's a slick idea. jEdit has support for 4 different keyword token types. I've currently set them up as keyword1 for 65xx opcodes, keyword2 for DASM psuedo-ops and keyword3 for VCS constants such as VSYNC. I'll have to see if I can change DASM and VCS to use a different token type.
  • Report

February 2012

S M T W T F S
   1234
56789 10 11
12131415161718
19202122232425
26272829   

Recent Entries

Recent Comments

0 user(s) viewing

0 members, 0 guests, 0 anonymous users

Search My Blog

Latest Visitors