+SpiceWare Posted October 1, 2014 Share Posted October 1, 2014 (edited) I've been using jEdit for 2600 development since 2006. jEdit is a programmer's editor that is written in Java so it will run on just about any system out there. What I like about jEdit is the ability to use custom "mode" files to control the Syntax Highlighting. Syntax highlighting means different parts of your code will be displayed with a unique style - typically different foreground colors, though the style also includes options for background color, bold and italic. You might wonder how syntax highlighting would help you out - here's an example: TIA register RESP0 was accidentally typed with the letter O instead of the number 0. When typed correctly, the syntax highlighting of RESP0 will change: I've been maintaining mode files for 2600 assembly, batari BASIC, and ColecoVision programming. Back in June I figured out how to change the mode file so that graphics represented by binary numbers is very easy to see in the program: This weekend iesposta prodded me into figuring out how to use jEdit to compile with dasm: and launch Stella: If you're interested in using jEdit for 2600 coding, you may like to look over the series of blog entries I've been posting about it. See this entry for the current mode files for 2600 and batari BASIC coding See this entry for adding console support, a prerequisite for the next blog entry See this entry for configuring jEdit to compile with dasm and launch Stella See this entry for how to set the Syntax Highlighting (colors) to your liking Edited October 1, 2014 by SpiceWare 5 Quote Link to comment Share on other sites More sharing options...
iesposta Posted October 1, 2014 Share Posted October 1, 2014 I wish to voice some highlights. "In Java" so we are talking about Mac, Linux, and Windows. Should be great for development in assembly or basic for 2600, 7800, Colecovision, Intellivision, and more! Can't find what is now causing your program to not compile? Diff with an earlier saved version and jump to all the different spots side-by-side! (I'm thinking of using auto-save and auto-backups because at least in batari Basic which I use, a missing indent, an indent where there shouldn't be, a key bump puts a character in the code and now it fails to compile, it sounds great to be able to go to an earlier auto-back up where things did compile properly.) 2 Quote Link to comment Share on other sites More sharing options...
iesposta Posted October 12, 2014 Share Posted October 12, 2014 In Mac OSX it seems apple has stopped updating Java. You must install newer versions from the Java website downloads. Even though I was at the latest OSX 10.9.5, the newest Java I had was 1.6. The jEdit 5.2 pre-release requires Java version 1.7. jEdit 5.2 is nicer for a number of reasons. It acts more like an Application as it doesn't spawn a java program. The errors (reported as warnings at the bottom right) in running the 5.1 in Java 1.6 are gone. It has a "jE" icon now. I don't think it is coming across the fact that this is less like a text editor and more like an IDE environment. Granted it doesn't have the Utility Program Editors that Visual bB has for sprites, playfields, music and sound, color value chooser, and exhaustive syntax checking (i.e. If a goto label has a label to go to or not). I will still start my Basic projects in Visual bB because it has helped a great deal pointing out errors, but when projects get large near the end, the Visual bB editor becomes unable to handle things and I find it best to switch to jEdit which can parallel the way I work in Visual bB. I have it set so I can make changes, save, compile, and run Stella just like I use Visual bB. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted October 12, 2014 Share Posted October 12, 2014 . . . but when projects get large near the end, the Visual bB editor becomes unable to handle things and I find it best to switch to jEdit which can parallel the way I work in Visual bB. I have it set so I can make changes, save, compile, and run Stella just like I use Visual bB. When a program becomes too large, I turn off syntax checking and everything is fine. Quote Link to comment Share on other sites More sharing options...
Wickeycolumbus Posted October 12, 2014 Share Posted October 12, 2014 That's awesome! I use one of the older versions of your XML file, which is great even without these added features. Need to update it to this version one of these days (and get back into programming...) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.