Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
BabelFish
README.md
SerialTest.gt1
gcl.vim
genSerialTest.py
raw24toraw6.py
sendFile.py

README.md

Utilities for Gigatron development

Files

BabelFish/BabelFish.ino         Sketch to install on Arduino for Gigatron hookup
gcl.vim                         VIM syntax highlighting file
raw24toraw6.py                  Raw 24bpp to GCL-format packed 6bpp converter
sendFile.py                     Send a GT1 or BASIC file from laptop/PC to Gigatron
SerialTest.gt1                  Test file for verifying serial transmission

Installing VIM syntax highlighting

Place gcl.vim in $HOME/.vim/after/syntax/ and create a file, $HOME/.vim/ftdetect/gcl.vim with the contents:

au BufRead,BufNewFile *.gcl set filetype=gcl

Using raw24toraw6.py

Running the file will output usage instructions. When executed successfully, two files will be produced, a .raw file and a .gcl file. Both files contain packed 6bpp image data. The .gcl file is formatted as valid GCL code and can be copy-pasted to use directly in GCL code. The data can then be drawn to the screen with \SYS_Unpack_56 and \SYS_Draw4_30.