Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cartheur/M6x09-spl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M6x09-spl

A simple programming language for 6x09 based machines with Forth-like syntax.

M6x09-spl is a Forth-style concatenative stack language. The compiler is (currently) written in Python and emits 6809/6309 assembly code.

Originally created by Ron Kneusel for the Apple II original, adapted for the Atari 8-bit and enhanced by Carsten Strotmann. This 6809/6309 port is based upon this buggy repo.

TODO: Retarget to the HD6309 CPU because of its more rich instruction set and support for 32-bit registers.

A significant change from Carsten Strotmann version is the option to specify some primitiives to compile as inline code. This is particularly useful on the 6809/6309 CPU with its second User stack, and excellent support of 16-bit data. The motivation for this change was to reduce "JSR" calls to many of the primitives when they can be reduced to a very few 6809 instructions and even more clearly illustrated for the 6309.

About

A simple programming language for 6809 based machines with Forth-like syntax

Resources

License

Stars

Watchers

Forks

Releases

No releases published