TBOS 1.0.1 Released!!

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

TBOS 1.0.1 Released!!

Post by Troy Martin »

I released TBOS 1.0.1 with an APM shutdown command, "safe execution" (a flag that, when set, only allows .BIN files to be executed), and I took out setup.asm while I rewrite it for 1.1.0.

Download: http://code.google.com/p/tbos2/download ... -1.0.1.zip
Project Site: http://www.tbos.co.nr/

--Troy

PS: If anyone writes something cool and useful, email it to me at blasterman95 _AT_ gmail _DOT_ com and I might include it in the next release!
Last edited by Troy Martin on Thu Mar 19, 2009 10:37 pm, edited 1 time in total.
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
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: TBOS 1.0.0 Released!!

Post by JohnnyTheDon »

Very nice, I'll write a virus for it immediatly :twisted:

One note: all your files have CRLF, which causes epic failure on Linux. Not a big issue since you can replace them all with perl but something you may want to consider.

EDIT: tbosprog.inc and cash.asm aren't included in you 1.0.0 zip file, causing the build to fail.
M-Saunders
Member
Member
Posts: 155
Joined: Fri Oct 27, 2006 5:11 am
Location: Oberbayern
Contact:

Re: TBOS 1.0.0 Released!!

Post by M-Saunders »

What happened to the 'edlin' and 'more' utilities you were working on?

M
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TBOS 1.0.0 Released!!

Post by Troy Martin »

JohnnyTheDon wrote:Very nice, I'll write a virus for it immediatly :twisted:
Oh, joy...
EDIT: tbosprog.inc and cash.asm aren't included in you 1.0.0 zip file, causing the build to fail.
Oh crap oh crap... Just grab one from the previous build, 0.6.1. There might be one in the SVN repo too. I'll add it to a release called "1.0.0.1" and put it up tonight.
M-Saunders wrote:What happened to the 'edlin' and 'more' utilities you were working on?
I was going for the goal of releasing by that Sunday, but I hadn't finished working out the kinks in those commands. So, I threw together a "cat" command, plopped it in hash, and decided to work on them for the next build (unless someone else beats me to it :)) And don't say it's another over-my-head-Troy-project thing, cause it's not. :wink:
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
M-Saunders
Member
Member
Posts: 155
Joined: Fri Oct 27, 2006 5:11 am
Location: Oberbayern
Contact:

Re: TBOS 1.0.0 Released!!

Post by M-Saunders »

Troy Martin wrote:And don't say it's another over-my-head-Troy-project thing, cause it's not. :wink:
Well, it's infinitely more feasible than a TCP/IP stack ;-) But really, a 'more' like text pager is one of the easiest things to write:

1. Print chars from file until cursor hits bottom line
2. Wait for input
3. Print more chars until CR/LF or EOF
4. Go to 2 if not EOF

Uber-simple. I see that you're campaigning to get developers to write programs for your OS, but it's a good idea to lead by example and write some stuff yourself first. Right now your OS has the MikeOS bootloader, MkeOS memory map, MikeOS FAT12 code, MikeOS IVT code, etc. with your shell on top. Nothing wrong with that -- my code was created with reusability in mind! But if you want to inspire developers to get involved you may need to show some originality, writing apps off your own bat instead of pasting code from elsewhere and then asking others to fill in the gaps.

At the least, write a Tetris game... everyone loves Tetris :-)

Good luck!

M
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TBOS 1.0.0 Released!!

Post by Troy Martin »

M-Saunders wrote:At the least, write a Tetris game... everyone loves Tetris :-)
True. I'm busy finding a list of the most simple and fun games that exist so that AI programming won't be an issue. Tetris seems like number 1 there!
MikeOS bootloader
Simple and efficient.
MkeOS memory map
The 32 KB for programs is going to be an issue soon so I'm planning to do more of this approach a few releases from now:

Code: Select all

CS    | Use
1000h | Second-stage bootloader
2000h | Kernel and shell
3000h | Program 1
4000h | Program 2
5000h | Program 3
etc....
The multiple 64 KB segments for programs is not intended for multi-tasking, but more of an execution suspension. It will work by saving the return CS:IP for the IRET of the Control-Break handler to a pair of dw variables in the kernel, dropping back to the shell, and allowing the program to be returned to later from the shell or from the system call interrupt.
MikeOS FAT12 code
Let's keep that to "epic failure on my part" :)
MikeOS IVT code
One of those things I had copied over mindlessly at the beginning :P
Good luck!
Thanks, I think I'll need it.

--Troy

PS: Yeah, there's a tbosprog.inc in the SVN repo, here's the link for now: http://tbos2.googlecode.com/svn/trunk/tbosprog.inc
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
Firestryke31
Member
Member
Posts: 550
Joined: Sat Nov 29, 2008 1:07 pm
Location: Throw a dart at central Texas
Contact:

Re: TBOS 1.0.0 Released!!

Post by Firestryke31 »

Troy Martin wrote:
M-Saunders wrote:At the least, write a Tetris game... everyone loves Tetris :-)
True. I'm busy finding a list of the most simple and fun games that exist so that AI programming won't be an issue. Tetris seems like number 1 there!
Asteroids! Space Invaders! World of Warc -- wait...
Owner of Fawkes Software.
Wierd Al wrote: You think your Commodore 64 is really neato,
What kind of chip you got in there, a Dorito?
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TBOS 1.0.0 Released!!

Post by Troy Martin »

Firestryke31 wrote:
Troy Martin wrote:
M-Saunders wrote:At the least, write a Tetris game... everyone loves Tetris :-)
True. I'm busy finding a list of the most simple and fun games that exist so that AI programming won't be an issue. Tetris seems like number 1 there!
Asteroids! Space Invaders! World of Warc -- wait...
All three are fun, third is the best :)

Working on a weird little game, don't exactly know what to call it yet (or what it is :)) so expect it for 1.0.1 or 1.0.2 or something else.
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
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: TBOS 1.0.0 Released!!

Post by piranha »

True. I'm busy finding a list of the most simple and fun games that exist so that AI programming won't be an issue. Tetris seems like number 1 there!
Port my retarded blackjack program. Actually don't, I'm embarrassed of the coding style...

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TBOS 1.0.0 Released!!

Post by Troy Martin »

piranha wrote:
True. I'm busy finding a list of the most simple and fun games that exist so that AI programming won't be an issue. Tetris seems like number 1 there!
Port my retarded blackjack program. Actually don't, I'm embarrassed of the coding style...

-JL
If the coding is horrible then it will fit right in with my other code :)
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
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: TBOS 1.0.0 Released!!

Post by neon »

If the coding is horrible then it will fit right in with my other code :)
Why not clean up your code then and make it nicer to work with? It certanly helps in the long run...
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: TBOS 1.0.0 Released!!

Post by Troy Martin »

neon wrote:
If the coding is horrible then it will fit right in with my other code :)
Why not clean up your code then and make it nicer to work with? It certanly helps in the long run...
I've been working on that slowly, including changing all 0x prefixes to h suffixes with 0 prefixes if needed (I like it that way), using the same indentation everywhere, etc.
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
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: TBOS 1.0.1 Released!!

Post by Troy Martin »

I've released TBOS 1.0.1, read the first post for the link and also the blog. Check it out!
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
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: TBOS 1.0.1 Released!!

Post by DeletedAccount »

Good Work Troy ! .

Regards
Shrek
Post Reply