Forth Help!!

In this forum you can write about anything that does not fit in other forums.
This includes generic Oric talkings and things that are totaly unrelated but want to share with people here :)
User avatar
Pengwin
Pilot Officer
Posts: 69
Joined: Sun Jan 07, 2007 11:03 pm
Location: Scotland
Contact:

Forth Help!!

Post by Pengwin »

I have just got Forth v2 for my Atmos, but I am having some problems. I was hoping someone out there might have experience with this and may be able to help.

After I load the editor into screens 1 to 7 using the command

Code: Select all

1 7 CLOAD
I can list the editor in all 7 screens, but when I try to comile it with

Code: Select all

1 LOAD
I get the following error
UU9 ? NOT FOUND
and yet I can find no reference to the symbol UU9 in any of the first 7 screens and as there is no continuation symbol at the end of screen 7, it shouldn't be trying to compile screen 8 or 9.
Anyone else had this problem?
User avatar
Dbug
Site Admin
Posts: 4461
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug »

Are you sure that the tape is correctly loaded ?
When I see things with UUUUUUU it reminds me of loading errors, because U (ASCII code = 55) is the default value written in memory when booting an Oric for the first time.

Perhaps you are just getting unlucky and had a load problem.
User avatar
Pengwin
Pilot Officer
Posts: 69
Joined: Sun Jan 07, 2007 11:03 pm
Location: Scotland
Contact:

Post by Pengwin »

Thanks, I'll try again. I've just got a new tape player, so I probably need to play with the volume setting.
User avatar
Dbug
Site Admin
Posts: 4461
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug »

There is something that is doable also, is to reconstruct a good tape if yours is a bit flacky:

- You sample the tape on the pc many times, at various volume settings
- You convert to .TAP format using the tools from Fabrice
- Do a binary comparison of the various files, to see what are the differents bytes/bits
- Create a valid .TAP using the most common occurences of the various files
- Convert back to audio format, and record the .TAP on a brand new audio tape, or on a CD as an audio track (this last option has the added benefit of making it possible to save using Tap2CD, with the 10x fast loader !)
User avatar
Pengwin
Pilot Officer
Posts: 69
Joined: Sun Jan 07, 2007 11:03 pm
Location: Scotland
Contact:

Post by Pengwin »

Solved it. It was my fault, I didn't read the manual properly.

When you first load Oric Forth, you need to issue the following command before anything else:

Code: Select all

EMPTY-BUFFERS
This does what it says on the tin and clear the crap that is residing in memory.

Now I can load and compile the editor without any problems.
Post Reply