1. Make OS In Euphoria

Could you make a operating system with euphoria?

new topic     » topic index » view message » categorize

2. Re: Make OS In Euphoria

I guess that Rob would have to weigh in on this, but I don't think so... 

This is because the interpreter needs to be in an operating system
environment already - that's why we have ex.exe, exw.exe, exu.exe.


On Sun, 05 Dec 2004 17:28:31 -0800, Andy <guest at rapideuphoria.com> wrote:
> Could you make a operating system with euphoria?

-- 
MrTrick

new topic     » goto parent     » topic index » view message » categorize

3. Re: Make OS In Euphoria

Isn't euphoria more powerful then c++, so wouldn't you be able to write an 
operating system in euphoria, you can write os in c++

new topic     » goto parent     » topic index » view message » categorize

4. Re: Make OS In Euphoria

On Sun, 05 Dec 2004 18:21:34 -0800, Andy <guest at rapideuphoria.com> wrote:
> Isn't euphoria more powerful then c++, so wouldn't you be able to write an
> operating system in euphoria, you can write os in c++

'more powerful than c++' is a marketting thing.

Because it's an *interpreted* language, you need an interpreter
program to run the code (the backend), so it limits what you could do
as far as your own OS.

If you translated the OS code into C, then compiled that, maybe you
could build an operating system in euphoria.

-- 
MrTrick

new topic     » goto parent     » topic index » view message » categorize

5. Re: Make OS In Euphoria

> Isn't euphoria more powerful then c++, so wouldn't you be able to write an
> operating system in euphoria, you can write os in c++

Powerful how? Powerful is a relative term. This is one case where C++
will beat Euphoria hands down. Why? C++ compiles directly to machine
code. C++ has built-in machine i/o routines that make interfacing with
a BIOS and hardware easier*. Euphoria is written in C. Euphoria can
not access the BIOS or hardware directly without much hassle. Heck,
there was a thead on serial port issues, and one fix was an example of
C code. Euphoria is a great language, but its still a baby. C has been
around for decades.

*Easier when you've got a team, or teams, of people working day in and
day out, who have pretty much memorized, or have ready access to, the
machine routines and BIOS i/o functions.

~Greg

new topic     » goto parent     » topic index » view message » categorize

6. Re: Make OS In Euphoria

Well, in theory, you could make a pseudo OS in plain DOS with ex.exe,
or in Linux with exu. As those of us that used Windows 3.1 recall,
Windows was once just a 'facelift' for DOS. Your MS-DOS computer
booted to DOS, you typed "win" at the command prompt, and loaded
windows. Then, instead of shutting down, you'd "Exit to DOS" and then
shut off your computer. Most Windows operations (especially file i/o)
was handled directly through DOS. And I'm sure there's a lot you could
do with DOS interupts, too.

Look in the Archive for windowing systems for DOS. There are quite a
few. Jiri has a really nice one, and I've used David Cuny's Dos32Lib,
which works nice bu tneeds updates. I was going to do this, but I
don't really like DOS, and I already have an operating system, so I
directed my efforts towards Windows and CGI programs.

~Greg


On Mon, 6 Dec 2004 12:31:24 +1100, Patrick Barnes <mrtrick at gmail.com> wrote:
> 
> I guess that Rob would have to weigh in on this, but I don't think so...
> 
> This is because the interpreter needs to be in an operating system
> environment already - that's why we have ex.exe, exw.exe, exu.exe.
> 
> 
> On Sun, 05 Dec 2004 17:28:31 -0800, Andy <guest at rapideuphoria.com> wrote:
> > Could you make a operating system with euphoria?
> 
> -- 
> MrTrick
> 
>

new topic     » goto parent     » topic index » view message » categorize

7. Re: Make OS In Euphoria

http://jjprog.tripod.com/euos.html

Rots 'a Ruck,

Ken Rhodes
100% Microsoft Free!

new topic     » goto parent     » topic index » view message » categorize

8. Re: Make OS In Euphoria

Andy wrote:
> 
> 
> Isn't euphoria more powerful then c++, so wouldn't you be able to write an 
> operating system in euphoria, you can write os in c++
> 

That is a marketing approach and is false advertizing if you really
wanted to get serious about it...

C/C++ doesnt compare to Euphoria, Euphoria is interpreted, while
C/C++ is compiled. C/C++ is a lower level language which has a
syntax prone to error. While EU is a very high level approach,
(garbage collection, type checking, automatic memory managagement, etc)
Yes, Euphoria has noticable simularities with C as do
many languages.. But there is countless differences.

new topic     » goto parent     » topic index » view message » categorize

9. Re: Make OS In Euphoria

> Could you make a operating system with euphoria?

I'm not sure, but I suppose so.  Most of us couldn't write
either a built-in os or a disk os in any language, so KRhodes'
"Rots 'a Ruck" is appropriate.  A perfectly good assembler has
been written in Euphoria, so a c-compiler could be written in
Euphoria, too, and so on.  Once something is in rom or on a
boot disk to get the machine going, a Euphoria interpreter with
suitable libraries should make a perfectly good "command.com".

Keep us posted.

new topic     » goto parent     » topic index » view message » categorize

10. Re: Make OS In Euphoria

Kenneth Rhodes wrote:
> 
> <a
> href="http://jjprog.tripod.com/euos.html">http://jjprog.tripod.com/euos.html</a>
> 
> Rots 'a Ruck,
> 
> Ken Rhodes
> 100% Microsoft Free!
> 

Ken,

The above url works fine, but there is a link to the EUOS homepage that
takes you to a hypermart link, that link says that hypermart no longer has
free web hosting.

Looks very interesting, I'll study the kernel docs over when I get some
free time, pretty busy right now.

Later.

Ferlin Scarborough

Learn To Program Games in Free Courses At
http://www.gameuniv.net

My Euphoria Home Page
http://mywebpage.netscape.com/shadetreesoft

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu