Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Prepare basic-mode to support different dialects Different BASIC dialects will be supported using derived modes with their own set of keywords to highlight. Change variables related to syntax highlighting and indentation so they can be modified by a derived mode. Add new function basic-mode-initialize that uses the variables to initialize syntax highlighting and indentation at the end of the derived mode initialization. Add some derived modes as examples. * Improved M100 support (#31) * First pass at N82 support * Sample program basic-m100-mode * Finish up m100 keywords There were several keywords that were misfiled or simply missing. Those have been double checked now against a few different sources.:(ASCII listing of all possible BASIC tokens, Exploring the M100 (Appendix C), the Disk/Video Interface Manual, The Tandy 200 Technical Reference. * Sample CRT-BASIC extension CRT-BASIC is what NEC called the version of BASIC that appears when the CRT (Tube) monitor adatper (NEC PC-8341A) is plugged in. It has facilities for drawing lines, boxes, and circles. * Cleaned up N82 BASIC and M100 BASIC; added CRT-BASIC Used M100 Disk/Video Interface manual to ensure correctness of added BASIC commands. (eg DSKI$) Used N82 BASIC Reference plus my own tokenized token detector to add unusal N82 commands. (DSKF, FORMAT) Used NEC manual for PC-8341A (CRT adapter for the PC-8201A) to add the BASIC keywords that are availble using it (COLOR, CIRCLE, BOXa, etc.) * Add QuickBasic mode and generic mode Remove all but the most basic functions, builtins and keywords from the main basic-mode. Add basic-generic-mode as the default mode for unknown BASIC dialects. * Update documentation Co-authored-by: hackerb9 <[email protected]>
- Loading branch information