ColecoVision Diversion
Due to RL, I wasn't able to finish Chun-Li in time so it's been placed onto the back burner. I also got a little burnt out on Atari projects, so Frantic has joined it for a bit.
I recently acquired a ColecoVision (CV) and have decided to spend some time getting to know it better. I never had one growing up as I'd already switched to computers before it was released (I got my Vic 20 in 81). I did get to play one at a friend's house though. I've ordered an Ultimate SD Cartridge (like a Harmony for CV) so I can write something for it. While I await it's arrival I've been setting up a CV development environment on my MacBook Pro.
I like to use jEdit as my editor and have been working on creating the mode file (syntax highlighting rules) for it. This is what it looks like so far:
The mode file is called assembly-z80.xml and can be found at the bottom of this blog entry. To use it, you need to install it into your mode directory. To find your mode directory, do the following in jEdit:
- select the Utilities menu
- select the Settings Directory option
- select the modes folder
A window will pop up. On the Mac it's not a normal Finder window (don't know about other platforms), so you won't be able to drop the assembly-z80.xml file into it.
What you can do from here is:
- highlight the path (mine is /Users/darrell/Library/jEdit/modes)
- Command-C to copy the path
- switch to Finder (so you see Finder next to the Apple in the top-left corner of your screen)
- select the Go menu
- select the Go to Folder... option
- Command-V to paste the path
- hit return
Now you can drop assembly-z80.xml into this folder. Don't close it yet though as you're not done. You need to edit the catalog to add the following. I've attached my catalog file at the bottom of this post so you can see it in context.
<MODE NAME="assembly-z80" FILE="assembly-z80.xml" FILE_NAME_GLOB="*.z80"/>
Once the catalog and mode file are in place, quit and relaunch jEdit. From then on any file with the extension of .z80 will automatically be colorized based on these rules.
I've also built the current version of zasm for 32-bit Intel. Documentation can be found here, and the executable can be found in this project I've been experimenting with:
JEDIT NAVIGATION
<PREVIOUS> <INDEX> <NEXT>
4 Comments
Recommended Comments