Core i7 LoseThos

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
LoseThos
Member
Member
Posts: 112
Joined: Tue Oct 30, 2007 6:41 pm
Location: Las Vegas, NV USA
Contact:

Core i7 LoseThos

Post by LoseThos »

I got my core i7 machine working. Discovered issues with my CD-ROM bootloader. Might inhibit from working for you. It's a pain, but you have to look-up I/O ports for the CD-ROM and hard drive and type them in. (My bootloaders don't use the BIOS, but do direct PIO ATA/ATAPI commands.)


Core i7 took some adjustments, but it's okay. Now can acces up to 128 Gig of RAM, too. Had some bugs Mallocing more than 4 Gig.

I made a demo finding primes using 8 threads.

Some confusion exists on this site.

One dude prolly looked at LoseThos code and saw statements outside functions. Yeah, I wrote my own compiler, moron -- accused me of not knowing how to program. Anybody who can not imagine writing a compiler is probably not fit to write an operating system! ( How else would you support envirnment variables and scripting) I'm on disability because I'm crazy and imagine you guys talking about me.

Statements outside functions execute in order when the program is compiled (malloc compilation mode) or when loaded (static compiled mode).

The compiler is 64-bit x86_64 and is not an interpreter.

Tasks have heaps, instead of applications. So tasks call malloc and your memory stays around until freed or the task is killed. Memory is not freed when you end an application (unless you Freed() it).

Tasks have compiler symbol tables that stick around like environment variables. When you compile a function, it goes in the symbol table and it's code stays in memory. When LoseThos scans for a symbol, it checks the parent if not found locally.

My compiler skips linking and can place code directly into malloced RAM ready to execute. Or, it can make a LoseThos binary file (no objs) that can be loaded. That's know as static compilation.

LoseThos source files are graphics and text. The text has formatting commands bracked in dollar signs. the must useful thing for source code is being able to put active links to other text in other files -- greatly assists documentation.

There is no "make" for losethos -- just place a bunch of #includes "" into one file. There is no linker.

It's beautifully elegant -- a terminal task enters a mode where it waits for a line of text and feeds it line by line into a compiler that is paused. Statements outside functions execute immediately. Functions are compiled and placed in memory and a symbol goes into the local table so if you type the name of the function it will execute. To run a file, you #include it from the commend line. See how beautifully elegant it is?

Function calls don't need () if there are no parameters or you're happy with the default parameters.
Last edited by LoseThos on Mon Jan 19, 2009 4:16 pm, edited 3 times in total.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Core i7 LoseThos

Post by 01000101 »

and?
I'm not sure what the point of this post was.

So is this a release notice? or just an extremely tiny bug fix announcement? or is it an announcement that you are superior to other programmers who complain about your OS?
LoseThos
Member
Member
Posts: 112
Joined: Tue Oct 30, 2007 6:41 pm
Location: Las Vegas, NV USA
Contact:

Re: Core i7 LoseThos

Post by LoseThos »

Bug fix announcment, I guess.

fixed CD-ROM bootloader.

Made fixes to get it working with 4/4 cores/hyperthreads.

Made fixes to get >4 Gig RAM working

I also wanted to comment about the guys discussing "$'s" in make files and not knowing how to program.

i also fixed the mouse. On my new machien you just skip mouse initialization and it works! It didn't work at first because it reported failing mouse start-up, but I just went ahead anyway and it's fine.
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: Core i7 LoseThos

Post by JohnnyTheDon »

Failed to start on both my Pentium D and Core 2 Extreme computers. Does it run in emulators yet?
LoseThos
Member
Member
Posts: 112
Joined: Tue Oct 30, 2007 6:41 pm
Location: Las Vegas, NV USA
Contact:

Re: Core i7 LoseThos

Post by LoseThos »

qemu-system-x86_64 -m 512 -cdrom /tmp/LTCD.ISO -boot d
kubeos
Member
Member
Posts: 138
Joined: Tue Jan 30, 2007 2:31 pm
Location: Kamloops BC, CANADA
Contact:

Re: Core i7 LoseThos

Post by kubeos »

I like your OS Losethos. It's nice to see something that is so different from all the other OS's out there. I too wrote my own compiler and am currently writing a new version of Kube with it. It's a step back from my gcc version, but in the end it will be completely self hosting, unbloated, and I'll never have to worry what gcc is doing with my code. So yeah, keep up the good work.
chezzestix
Member
Member
Posts: 118
Joined: Mon May 05, 2008 5:51 pm

Re: Core i7 LoseThos

Post by chezzestix »

Different? Try backward. It has some novel ideas here and there but half the stances that are taken set the computer back to the DOS age. The thing feels like one giant compiler and the graphics will inherently amount to nothing due to their nature. Realistic art isn't calculated because real life isn't calculated in fact its very organic. Or at least so deeply calculated that our methods cant gather the full scope. But stepping back from all we can do is not the answer. Its just another way of getting by.

At most your OS is another analogous IBM OS waiting to get ripped by a Bill Gates type and exploited to their own means.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: Core i7 LoseThos

Post by piranha »

One dude prolly looked at LoseThos code and saw statements outside functions. Yeah, I wrote my own compiler, moron -- accused me of not knowing how to program. Anybody who can not imagine writing a compiler is probably not fit to write an operating system! ( How else would you support envirnment variables and scripting) I'm on disability because I'm crazy and imagine you guys talking about me.
Would you please shut up about your compiler and how great it is? None of us care.
It's beautifully elegant -- a terminal task enters a mode where it waits for a line of text and feeds it line by line into a compiler that is paused. Statements outside functions execute immediately. Functions are compiled and placed in memory and a symbol goes into the local table so if you type the name of the function it will execute. To run a file, you #include it from the commend line. See how beautifully elegant it is?

Function calls don't need () if there are no parameters or you're happy with the default parameters.
Is it just my tired brain or does that mean that you're OS is completely an interpreted system? Isn't that, ya know, incredibly slow?

No parameters? No arguments? No passing of info? Excuse my saying so, but thats plain stupid.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: Core i7 LoseThos

Post by JohnnyTheDon »

Someone hasn't changed. Why do you have to keep posting about how good your system is?

If it was just about bug fixes and the new release you would have only included:
I got my core i7 machine working. Discovered issues with my CD-ROM bootloader. Might inhibit from working for you. It's a pain, but you have to look-up I/O ports for the CD-ROM and hard drive and type them in. (My bootloaders don't use the BIOS, but do direct PIO ATA/ATAPI commands.)


Core i7 took some adjustments, but it's okay. Now can acces up to 128 Gig of RAM, too. Had some bugs Mallocing more than 4 Gig.
That was info about your OS. The rest was a bunch of bragging.

And your OS is not awesome if it REQUIRES PEOPLE TO LOOK UP IO PORTS! How many people actually know how to do that?
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Core i7 LoseThos

Post by neon »

That was info about your OS. The rest was a bunch of bragging.
Agreed. Most of everything else he has already said in his last few threads. Its kind of getting repetitive...

LoseThos, your post was better before you edited it.

It is nice to hear that some of the known bugs in your OS is getting fixed though rather then ignoring them.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Core i7 LoseThos

Post by Troy Martin »

LoseThos wrote:Boring usual rant against people who don't think I'm the greatest OS developer ever announcment, I guess.
Fixed.
piranha wrote:but thats plain stupid.
=D> =D> =D>

LoseThos: Would you please stop your stupid rants? Or are you dumb enough to write an OS and brag about it repeatedly but ignore the fact that, I don't know, people get tired of hearing it? So I think I speak on behalf of 95% of the community when I say: smarten up.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
stephenj
Member
Member
Posts: 140
Joined: Wed Jul 23, 2008 1:37 am
Location: Canada

Re: Core i7 LoseThos

Post by stephenj »

Is it just my tired brain or does that mean that you're OS is completely an interpreted system? Isn't that, ya know, incredibly slow?
It sounds like an incremental compiler. But labeling it really doesn't matter.

Well, assuming a sane compiler, compartmentalized source code, and a small library. It probably wouldn't be that bad. Not that I'd build a kernel that way.

Error checking/handling is easier with a pre-compile. Optimization... Well, you can do some optimizations in either case that wouldn't be sane in the other.
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Core i7 LoseThos

Post by Love4Boobies »

LoseThos, nobody here has anything against you, personally. You do know a lot more than quite a few around here but it gets on everyone's nerves when you simply brag. Others could do the same - you're not the only one who developed your own tools and you're certainly not the only one to have written your own OS either. There are some pretty experienced people here...
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: Core i7 LoseThos

Post by piranha »

stephenj wrote:
Is it just my tired brain or does that mean that you're OS is completely an interpreted system? Isn't that, ya know, incredibly slow?
It sounds like an incremental compiler. But labeling it really doesn't matter.

Well, assuming a sane compiler, compartmentalized source code, and a small library. It probably wouldn't be that bad. Not that I'd build a kernel that way.

Error checking/handling is easier with a pre-compile. Optimization... Well, you can do some optimizations in either case that wouldn't be sane in the other.
Ooo, fancy!

But still, it just my immediate evaluation, but it seems to me that making the OS load that kindof code would slow things down quite mucho. I mean, a program doing that is fine, but an OS?

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
OrOS
Member
Member
Posts: 143
Joined: Sat Sep 08, 2007 11:26 pm
Location: Canada

Re: Core i7 LoseThos

Post by OrOS »

LoseThos, why not just spend the rest of your days composing your lovely music (http://www.youtube.com/user/losethos) and departing these boards? Or, petition to have it turned into LoseThos Religious Teachings Board.
Locked