Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/themkat/pica-mode
PICA200 shader assembly language (used in Nintendo 3DS) mode for Emacs.
https://github.com/themkat/pica-mode
3ds-homebrew nintendo-3ds-homebrew pica200
Last synced: 12 days ago
JSON representation
PICA200 shader assembly language (used in Nintendo 3DS) mode for Emacs.
- Host: GitHub
- URL: https://github.com/themkat/pica-mode
- Owner: themkat
- Created: 2024-05-28T18:39:51.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-19T15:35:25.000Z (6 months ago)
- Last Synced: 2024-10-23T07:56:30.361Z (2 months ago)
- Topics: 3ds-homebrew, nintendo-3ds-homebrew, pica200
- Language: Emacs Lisp
- Homepage:
- Size: 218 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* pica-mode - PICA200 Assembly language mode for Emacs
Syntax highlighting and indentation for Pica200 Assembly language.
[[./screenshot.png]]
(loop subdivision geometry shader example from [[https://github.com/devkitPro/3ds-examples/blob/979ab794de89f1ce30a2e307a8dc17fc4fe1d684/graphics/gpu/loop_subdivision/source/program.g.pica][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:#+BEGIN_SRC emacs-lisp
(use-package pica-mode
:straight (pica-mode :type git :host github :repo "themkat/pica-mode"))
#+END_SRCIf you use the same file endings as the DevkitPro 3ds examples, .pica, and want to use pica-mode on those, you can use:
#+BEGIN_SRC emacs-lisp
(use-package pica-mode
:straight (pica-mode :type git :host github :repo "themkat/pica-mode")
:mode "\\.pica\\'")
#+END_SRC*** Manually
Clone this repo to anywhere on your machine. Then, in your Emacs configuration, you simply run:#+BEGIN_SRC emacs-lisp
(add-to-list 'load-path "path/to/repo")
(require 'pica-mode)
#+END_SRC
(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:
#+BEGIN_SRC emacs-lisp
(add-to-list 'auto-mode-alist '("\\.pica\\'" . pica-mode))
#+END_SRC** Usage
Simply install the package and activate =pica-mode= in your buffer.