|
|
Up |
|
|
  |
|
Author: Anton ErtlAnton Ertl Date: Nov 23, 2006 13:16
|
| |
|
| | 22 Comments |
|
  |
Author: rickmanrickman Date: Nov 23, 2006 19:58
Anton Ertl wrote:
Thanks for the pointer. I guess this is a lot more of a system than
the typical embedded Forth. I see that the article says it is pretty
large by Forth standards. "And it all fits in about 350KB of flash,
with the ability to shoehorn it into 256KB if need be." If I don't
need the networking support or even the file system, any idea how small
this can be? I guess the real question is, if I am looking for a debug
program or a BIOS to make my life easier when bringing up hardware, is
OF a good place to start?
|
| Show full article (2.76Kb) |
|
| | 2 Comments |
|
  |
Author: Bernd PaysanBernd Paysan Date: Nov 24, 2006 01:07
rickman wrote:
> Am I understanding this correctly? Is OF written in C to be compiled
> for the target system or is it in Forth and assembly and must be ported
> in the same way that any other Forth is ported at an assembly level?
OF is Forth and assembly. Since it runs now on the OLPC, ports should be
available for SPARC and x86. But it should be possible to put OF on
Gforth's engine.
|
| |
| 1 Comment |
|
  |
Author: Dennis RufferDennis Ruffer Date: Nov 24, 2006 10:31
On 2006-11-24 02:07:52 -0700, Bernd Paysan said:
> rickman wrote:
>> Am I understanding this correctly? Is OF written in C to be compiled
>> for the target system or is it in Forth and assembly and must be ported
>> in the same way that any other Forth is ported at an assembly level?
>
> OF is Forth and assembly. Since it runs now on the OLPC, ports should be
> available for SPARC and x86. But it should be possible to put OF on
> Gforth's engine.
We ran the OF compile process in gforth at Apple, but there was an
initial POST portion that was compiled by PPCASM. I just downloaded
Mitch's code, so I haven't had time to look at it very closely.
However, it is very refreshing to see that OLPC has chosen this path.
There may be a future for OF after all. ;)
DaR
|
| |
| no comments |
|
  |
Author: rickmanrickman Date: Nov 24, 2006 11:23
Bernd Paysan wrote:
> rickman wrote:
>> Am I understanding this correctly? Is OF written in C to be compiled
>> for the target system or is it in Forth and assembly and must be ported
>> in the same way that any other Forth is ported at an assembly level?
>
> OF is Forth and assembly. Since it runs now on the OLPC, ports should be
> available for SPARC and x86. But it should be possible to put OF on
> Gforth's engine.
I took a look at the source and there is a lot of it. The only asm I
find is a very small start.s file in /clients/lib/arm. /clients/lib
also has about a dozen C files. Otherwise it all appears to be Forth.
Is this correct?
|
| Show full article (1.25Kb) |
| 2 Comments |
|
  |
Author: Paul E. BennettPaul E. Bennett Date: Nov 24, 2006 11:56
rickman wrote:
> Bernd Paysan wrote:
>> rickman wrote:
>>> Am I understanding this correctly? Is OF written in C to be compiled
>>> for the target system or is it in Forth and assembly and must be ported
>>> in the...
|
| Show full article (1.99Kb) |
| no comments |
|
  |
Author: rickmanrickman Date: Nov 24, 2006 12:53
Paul E. Bennett wrote:
> rickman wrote:
>
>> Bernd Paysan wrote:
>>> rickman wrote:
>>>> Am I understanding this correctly? Is OF written in C to be compiled
>>>> for the target system or is it in Forth and assembly and must be ported
>>>> in the same way that any other Forth is ported at an assembly level?
>>>
>>> OF is Forth and assembly. Since it runs now on the OLPC, ports should be
>>> available for SPARC and x86. But it should be possible to put OF on
>>> Gforth's engine.
>>
>> I took a look at the source and there is a lot of it. The only asm I
>> find is a very small start.s file in /clients/lib/arm. /clients/lib
>> also has about a dozen C files. Otherwise it all appears to be Forth.
>> Is this correct?
>>
>> I have not found any documentation yet, at least anything I can
>> understand. I am still trying to determine if OF is something that ...
|
| Show full article (2.44Kb) |
| 1 Comment |
|
  |
Author: Elizabeth D RatherElizabeth D Rather Date: Nov 25, 2006 10:15
rickman wrote:
> Paul E. Bennett wrote:
>> rickman wrote:
>>
>>> Bernd Paysan wrote:
>>>> rickman wrote:
>>>>> Am I understanding this correctly? Is OF written in C to be compiled
>>>>> for the target system or is it in Forth and assembly and must be ported
>>>>> in the same way that any other Forth is ported at an assembly level?
>>>> OF is Forth and assembly. Since it runs now on the OLPC, ports should be
>>>> available for SPARC and x86. But it should be possible to put OF on
>>>> Gforth's engine.
>>> I took a look at the source and there is a lot of it. The only asm I
>>> find is a very small start.s file in /clients/lib/arm. /clients/lib
>>> also has about a dozen C files. Otherwise it all appears to be Forth.
>>> Is this correct?
>>>
>>> I have not found any documentation yet, at least anything I can
>>> understand. I am still trying to determine if OF is something that
>>> will be useful to me in my tasks of debugging hardware. Before I can ...
|
| Show full article (2.84Kb) |
| no comments |
|
  |
Author: Bernd PaysanBernd Paysan Date: Nov 25, 2006 05:53
rickman wrote:
> I took a look at the source and there is a lot of it. The only asm I
> find is a very small start.s file in /clients/lib/arm. /clients/lib
> also has about a dozen C files. Otherwise it all appears to be Forth.
> Is this correct?
OF is a traditional Forth system, so the assembler portions inside are
written in a Forth assembler. You can't just search for a .s file to find
the assembler parts, you must search for Code inside the .fth files.
|
| |
| no comments |
|
  |
|
|
  |
Author: rickmanrickman Date: Nov 25, 2006 12:38
Bernd Paysan wrote:
> rickman wrote:
>> I took a look at the source and there is a lot of it. The only asm I
>> find is a very small start.s file in /clients/lib/arm. /clients/lib
>> also has about a dozen C files. Otherwise it all appears to be Forth.
>> Is this correct?
>
> OF is a traditional Forth system, so the assembler portions inside are
> written in a Forth assembler. You can't just search for a .s file to find
> the assembler parts, you must search for Code inside the .fth files.
Ok, I'll write this off as another dead end for what I would like to
do. It is funny that with all the hoopla about how efficient Forth is,
a program that is essentially a BIOS is so large and complicated. I
guess it does a lot more than the typical BIOS even though that is what
it is.
|
| Show full article (1.36Kb) |
| 2 Comments |
|
|
|
|