Page 1 of 1

TBOS 1.0.1 Released!!

Posted: Sun Feb 22, 2009 6:33 pm
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!

Re: TBOS 1.0.0 Released!!

Posted: Sun Feb 22, 2009 7:56 pm
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.

Re: TBOS 1.0.0 Released!!

Posted: Mon Feb 23, 2009 6:30 am
by M-Saunders
What happened to the 'edlin' and 'more' utilities you were working on?

M

Re: TBOS 1.0.0 Released!!

Posted: Mon Feb 23, 2009 10:46 pm
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:

Re: TBOS 1.0.0 Released!!

Posted: Tue Feb 24, 2009 5:36 am
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

Re: TBOS 1.0.0 Released!!

Posted: Tue Feb 24, 2009 9:46 am
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

Re: TBOS 1.0.0 Released!!

Posted: Tue Feb 24, 2009 9:51 am
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...

Re: TBOS 1.0.0 Released!!

Posted: Tue Feb 24, 2009 5:13 pm
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.

Re: TBOS 1.0.0 Released!!

Posted: Tue Feb 24, 2009 5:45 pm
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

Re: TBOS 1.0.0 Released!!

Posted: Tue Feb 24, 2009 5:48 pm
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 :)

Re: TBOS 1.0.0 Released!!

Posted: Wed Feb 25, 2009 7:56 am
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...

Re: TBOS 1.0.0 Released!!

Posted: Wed Feb 25, 2009 9:28 am
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.

Re: TBOS 1.0.1 Released!!

Posted: Thu Mar 19, 2009 10:39 pm
by Troy Martin
I've released TBOS 1.0.1, read the first post for the link and also the blog. Check it out!

Re: TBOS 1.0.1 Released!!

Posted: Fri Mar 20, 2009 11:00 am
by DeletedAccount
Good Work Troy ! .

Regards
Shrek