Language without Video
Humanoido
Posts: 5,770
SPIN and PROPASM use the Propeller Tool to load programs into the Propeller chip which can then output to LEDs (or to the Parallax Serial Terminal) for display. What additional languages are available with their own tool that can do this (blink LEDs and function without video)?
humanoido
humanoido
Comments
Propellent, BST, ImageCraft C can load a propeller. There is a Python loader. I wrote a loader too [noparse]:)[/noparse].
Post Edited (jazzed) : 11/26/2009 4:37:57 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Composite NTSC sprite driver: Forum
NTSC & PAL driver templates: ObEx Forum
OnePinTVText driver: ObEx Forum
It's really only languages that actually run on the metal that have the versatility. At the moment that is PASM / SPIN / Beans Basic / Both C / various Forth implementations / BF .. any I've missed?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you always do what you always did, you always get what you always got.
So far, if I understand this correctly, the following languages will accomplish that purpose:
Languages
PASM
SPIN
Beans Basic
Catalina C
ImageCraft C
Forth Implementations
BF
and these are Loaders
BST (has a suite of tools)
Propellent
Python Loader (non-windows users)
jazzed's Loader (where is it?)
.. any missed?
Many language that can be compiled under CP/M will do what you want under ZiCog. In many cases the resulting binary can be run under ZiCog with out the CP/M emulation gunk.
For example:
Write your code in C and compile with BDSC under CP/M. Ensure the code does not use any CP/M services (console I/O, file system etc). Use only the port IN and OUT functions.
Include the resulting binary (*.COM file) into ZiCogs Z80 memory space using a Spin "file" statement.
Make a couple of lines of changes to the ZiCog hardware emulation to read/write Propeller ports or drive a UART etc when certain Z80 ports are accessed. Job done.
I did once include a demo of flashing a LED a Prop pin from Z80 code in teh ZiCog stuff but it has long since been removed.
This can also be done with Pascal, ADA, Algol etc compiled under CP/M. (and assembler of course)
Thinking about it, if you take the old demos of PropAlatair running the Microsoft BASICs the same can be done form IN/OUT statements in BASIC.
No CP/M or external memory required. Just a Prop.
Just sayin...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
humanoido