BillO wrote:
Thanks for all the suggestions.
My device will not have video so I can't use anything that will require that. I just need a real stripped down version (no graphics, no load or save, no IDE). I'd probably add a few commands to access various devices such as A/D and D/A converters, stepper motor control, PWM controller, etc... Just need an easy to learn and use language for beginners to experiment around with hardware interfacing and such. More advanced users could use assembly or build whatever ROM they want.
It would have to be a customized version though, so I could not utilize an existing ROM.
FWIW: the Acorn Machine OS, (MOS), as used in the BBC Micro c1981 completely separated the OS, and things the OS controlled like video, sound and keyboard from the "language" - which was BBC Basic by default, but could have been a Forth (there were a few), Comal, Pascal, C, BCPL and so on.
Languages had a very well defined set of operating system calls for most stuff, but the graphics were done old-school - by a well defined set of ASCII codes. There was the common ones like Ctrl-L to clear the screen, CR, NL, DEL and Backspace and others were compound to e.g. change screen graphical modes, plot points, triangles and so on.
For Ruby I have 2 interfaces - one is text only and I have a little 'shim' that translates MOS VDU commands into cursor movements and so on into standard ANSI terminal codes, so I can run text editors and other pure text based applications, and a separate one that does the graphics that runs on a Linux host. This is very fast over a 115200 baud serial line.
this:
https://www.youtube.com/watch?v=rPGCT0lah4Q is a C program running on the 6502 using the standard MOS VDU codes to draw circles. I'm in the process of adapting Applesoft to make it's HGR, plot, etc. commands use it too.
So just because your system doesn't have on-board graphics, don't rule them out completely - after-all, we were doing it this way on Tektronix 4010 terminals in the '70's
Cheers,
-Gordon
_________________
--
Gordon Henderson.
See my
Ruby 6502 and 65816 SBC projects here:
https://projects.drogon.net/ruby/