RetroForum Welcome, Guest. Please login or register.
March 11, 2010, 11:58:04 PM
Home Help Search Calendar Login Register

RetroForth Discussion  |  Main  |  Discussion  |  Topic: Installation problems « previous next »
Pages: 1 Go Down Print
Author Topic: Installation problems  (Read 1143 times)
omeron
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Installation problems
« on: April 29, 2007, 12:04:02 AM »

Hello. I got into forth some years ago, and love it. If i had my way I'd do everything in it. I just found retroforth and like the philosophy, so thought I'd give it a try. I tried with both the binaries with the get script, and building the source with fasm. This happens on a Slackware 10.2 system, with kernel-2.6.20.2. The installed binary doesn't seem to have file words, but I seem to have access to them in the version I built from source.

I've also wondered about the native version. I use a speech synthesizer  and speakup for linux, and would love to have a talking native version. Who knows, maybe we can work something out. I eventually want to make a device for the blind and ultimately the sighted as well. I've done some good prototyping in perl, but my heart truly lies with FORTH. A native FORTH device just seems so hardcore and cool and, well, retro, that I consider it worth the thought, at least. I'll probably end up using it under gnu/linux though, if only to take advantage of other things writen for Linux. I don't feel like writing a Microsoft Word document converter, for example. hah. We'll see how things work out.

btw I didn't see any floating point words, utime or time&date, or "key?". utime makes pseudo-random number generation easier. I di get the ans compatibility layer working, and like that, though prefer the original version of "key" for single-character input. That said, I really like the minimal wordset, prefixes, and the other things you've done. I really wonder if and how I will use FORTH for my idea.
« Last Edit: April 29, 2007, 07:05:28 AM by omeron » Logged
Charles Childers
Administrator
Sr. Member
*****

Karma: +2/-0
Offline Offline

Posts: 745


View Profile WWW
Re: Installation problems
« Reply #1 on: May 01, 2007, 12:15:05 AM »

The getretro script hasn't been updated for 9.3 yet. I'm waiting for some patches from another developer (to make it work better with the BSDs) before updating. The 9.3 source will build with the file I/O and memory words, as you noticed.

If the speech synthesizer can work off of a serial port, I may be able to adapt the console driver to send output to the serial port rather than the screen. I did this once, a few years back for cmbrannon (back in 7.x), and am quite willing to work on reviving it again.

There is no support for floating point math. Well, actually there is partial support. See http://retroforth.com/paste/?id=345 This has no parser or output routines, but the math part does work.

Time and date functionality, along with other things, will be backported from Toka's libraries (some of which are documented at http://charleschilders.com:9812/libraries.html )
Logged
omeron
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Installation problems
« Reply #2 on: May 01, 2007, 05:38:32 AM »

um, when replying, it said this topic will be locked. weird. also I've gotten a bunch of "unexpected network read errors." Anyways, thanks for the links. I look foward to the backporting.

Yes, my speech synthesizer, an external model (Artic Transport compatible) accepts text from a serial port at 9600,n,8,1. It works great with LILO, for example. I've never used GRUB, but only because LILO has always worked for me. This seems really exciting, especially if in FORTH fashion one can toggle the serial on and off, to make it possible to write code while safe in Linux, then take the leap to the native system..hmm.or something like that. I have the screen reviewing functions in mind, keys to read the current or previous or next line or word or character, for example. How does the native version perceive the console? A set of words to access characters and lines etc. would come in handy. Hopefully after that I could then use speakup as a reference to write words to control the synthesizers rate, pitch, speed, volume, etc. I need to brush up on my x86 assembly.

I had another whacky idea. I gather the native version uses a custom file system, to map the hard drive to blocks. Really cool. Could one somehow create a file in Linux, then create the filesystem inside that file, then run the native version, or at least access the data? Just something interesting I thought of.....
Logged
Pages: 1 Go Up Print 
RetroForth Discussion  |  Main  |  Discussion  |  Topic: Installation problems « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!