Skip to content

PICA200 shader assembly language (used in Nintendo 3DS) mode for Emacs.

Notifications You must be signed in to change notification settings

themkat/pica-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

pica-mode - PICA200 Assembly language mode for Emacs

Syntax highlighting and indentation for Pica200 Assembly language.

./screenshot.png (loop subdivision geometry shader example from DevkitPro 3ds-examples)

Installation

use-package with straight.el

Package is sadly not on MELPA yet, but you can use use-package with straight.el:

(use-package pica-mode
  :straight (pica-mode :type git :host github :repo "themkat/pica-mode"))

If you use the same file endings as the DevkitPro 3ds examples, .pica, and want to use pica-mode on those, you can use:

(use-package pica-mode
  :straight (pica-mode :type git :host github :repo "themkat/pica-mode")
  :mode "\\.pica\\'")

Manually

Clone this repo to anywhere on your machine. Then, in your Emacs configuration, you simply run:

(add-to-list 'load-path "path/to/repo")
(require 'pica-mode)

(where “path/to/repo” is replaced with the actual path to the repo you cloned)

Similarly, if you want to open .pica files in pica-mode:

(add-to-list 'auto-mode-alist '("\\.pica\\'" . pica-mode))

Usage

Simply install the package and activate pica-mode in your buffer.

About

PICA200 shader assembly language (used in Nintendo 3DS) mode for Emacs.

Topics

Resources

Stars

Watchers

Forks