I wrote some Factor code a long time ago to interface with a Z80 based MP3 
played using USB, generator code and sending it to the device. That code would 
be woefully out of date now but it's certainly possible. I wrapped libusb using 
the Factor FFI to do the USB side of things. Here's a couple of posts I did on 
it:

https://bluishcoder.co.nz/2006/09/16/writing-your-own-mp3-player-firmware.html

https://bluishcoder.co.nz/2006/09/17/factor-code-to-upload-to-s1-mp3-player.html

I might have the code archived somewhere if you're interested.

On Mon, Apr 21, 2025, at 3:00 PM, Hugh Aguilar wrote:
> I did some programming in Factor a long time ago, but nothing 
> significant.
> What I want to do now is write a terminal program. I need access to USB 
> and also NCurses or some similar console-mode code-library (I don't 
> want to get involved with GUI). I have a Python program that was not 
> written by me, but it doesn't do what I want and it has no 
> documentation, and I don't want to learn Python (ugh!). I was going to 
> write my terminal program in GCC because I programmed in Turbo C back 
> in MS-DOS days, but I might go with Factor instead if I can get USB and 
> console-mode support.
>
> The purpose of all this is that I'm writing a Forth system for an 8-bit 
> microcontroller. The terminal program is supposed to be a front-end for 
> that. Back in the early 1990s I wrote a Forth cross-compiler for the 
> Laser-128 and my program running on MS-DOS had source-level 
> single-stepping and breakpoints, roughly comparable to Turbo Debugger 
> that I was familiar with for the 8086. The terminal program I want to 
> write now will have all of that, plus it will be the front-end for the 
> outer-interpreter of the Forth system on the microcontroller. 
>
> I'm running Windows-11. It would be good though, if I could get my 
> terminal program to run on Linux too.
>
> thanks for any help --- Hugh
>
>
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk


_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to