This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SIMPL - A Serial Interpreted Minimal Programming Language | |
// Inspired by Txtzyme - by Ward Cunningham | |
// This version runs on Maker Uno with speaker on Digital 8 | |
// SIMPL allows new words to be defined by preceding them with colon : (Like Forth) | |
// New words use CAPITALS - so 26 words are possible in the vocabulary | |
// Words A-F have been predefined as musical tones - but you can write over them | |
// A word can be a maximum of 48 characters long | |
// Type ? to get a list off all defined words | |
#define bufRead(addr) (*(unsigned char *)(addr)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 0A | |
1 49E Jump to 49 | |
2 0A | |
3 0A | |
4 1A Used to ADD 1 | |
5 48A Code for ascii zero | |
6 0A | |
7 0A | |
8 0A | |
9 0A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SIMPL Interpreter for MSP430 Launchpad MSP430G2553 - with EDSAC Simulator grafted on! | |
// An experiment in minimal computing simulated on an MSP430 launchpad | |
// Really a dreadful hack, done on a very hot day in Greece - I'll get my coat....... | |
// SIMPL provides a shell to allow basic communications with EDSAC simulator | |
// Teraterm is a convenient means of sending files to the SIMPL machine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;------------------------------------------------------------------------------- | |
; SIMPL - a very small Forth Inspired Extensible Language | |
; Implementing the Initialisation, TextTead, TextEval and UART routines in MSP430 assembly language | |
; | |
; A Forth-Like Language in under 1024 bytes | |
; Ken Boak May June 2017 | |
; Loops, I/O, Strings and Delays added | |
; Jump table reduced by 36 entries (72 bytes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;------------------------------------------------------------------------------- | |
; SIMPL - a very small Forth Inspired Extensible Language | |
; Implementing the Initialisation, TextTead, TextEval and UART routines in MSP430 assembly language | |
; | |
; A Forth-Like Language in under 1024 bytes | |
; Ken Boak May June 2017 | |
; Loops, I/O, Strings and Delays added | |
; Jump table reduced by 36 entries (72 bytes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;------------------------------------------------------------------------------- | |
; SIMPL - a very small Forth Inspired Extensible Language | |
; Implementing the Initialisation, TextTead, TextEval and UART routines in MSP430 assembly language | |
; | |
; A Forth-Like Language in under 1024 bytes | |
; Ken Boak May 22nd/23rd 2017 | |
; Loops, I/O, Strings and Delays added | |
; This version 888 bytes | |
; SIMPL_430ASM_6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;------------------------------------------------------------------------------- | |
; SIMPL - a very small Forth Inspired Extensible Language | |
; Implementing the Initialisation, TextTead, TextEval and UART routines in MSP430 assembly language | |
; | |
; A Forth-Like Language in under 1024 bytes | |
; Ken Boak May 2017 | |
; Loops, I/O, Strings and Delays added | |
; This version 888 bytes | |
; SIMPL_430ASM_5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;------------------------------------------------------------------------------- | |
; SIMPL - a very small Forth Inspired, Extensible Language | |
; Implementing the Initialisation, TextTead, TextEval and UART routines in MSP430 assembly language | |
; | |
; A Forth-Like Language in under 1024 bytes | |
; Ken Boak May 22nd/23rd 2017 | |
; Loops, I/O, Strings and Delays added | |
; This version 872 bytes | |
; SIMPL_ASM_1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-------------------------------------------------------------------------------------------- | |
// ROMulator 3 | |
// Compiled using Arduino 1.65 or later | |
// A customised vesrion of SIMPL to allow RAM and Z80 bus to be exercised using SIMPL. | |
// Address is st using a pair of 74HC595 shift registers | |
// Data is passed through a 74HC245 bi-directional bugger | |
// TRISTATE line when raised isolates the address and data registers from the Z80 bus - allowing it to run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-------------------------------------------------------------------------------------------- | |
// ROMulator 3 | |
// Compiled using Arduino 1.65 or later | |
// A customised vesrion of SIMPL to allow RAM and Z80 bus to be exercised using SIMPL. | |
// Address is st using a pair of 74HC595 shift registers | |
// Data is passed through a 74HC245 bi-directional bugger | |
// TRISTATE line when raised isolates the address and data registers from the Z80 bus - allowing it to run |
NewerOlder