SEAL Forum Index SEAL
The SEAL Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Don't die while i'm going to make a test release...

 
Post new topic   Reply to topic    SEAL Forum Index -> General
View previous topic :: View next topic  
Author Message
BadSector
Administrator


Joined: 24 Oct 2001
Posts: 328
Location: Greece, Samos

PostPosted: Tue Apr 06, 2004 11:58 am    Post subject: Don't die while i'm going to make a test release... Reply with quote

I'm going to make a test release for XSeal's code until now.

I've implemented preemptive multitasking and i want people to test it. It's full of hacks here and there so even if it works on my system, i'm not sure if it will on others'.

And don't worry about the OS. If you can't go to plain DOS, it works under WinXP (at least in my system). However i recommend plain DOS because while i had zero problems under WinXP, when i went to plain DOS (FreeDOS) i've found numerous problems (this lead to a problem with virtual memory; i had to disable it... i have to find a solution for this or XSeal will not be able to use virtual memory).


Preemptive multitasking is a bad bitch. It want's the entire system to be designed for it. And DJGPP's C library is not designed for it. This leads to a problem: most of DJGPP's functions does not work. This includes printf, getch, and others.

So there is need to write preemptive-aware drivers for almost everything. Up to now, XSeal is just a command shell where you can list running processes (ps), kill them (kill) or start them (some internal - external processes -in the form of executables- is not yet written).

I wrote a video driver (you'll see it if you list the processes). I need to write a keyboard driver because getch makes XSeal to crash in random times.

The good thing about writing custom drivers that deals with the hardware directly is speed (DJGPP's uses BIOS, which involves a switch from protected mode to VM86 and then back to protected mode - or something like that, i don't know the internals of DPMI . The bad thing is that we have to do everything by ourselves.

I saw the speed while testing my console (video) driver: even in my Athlon64 3200+ the difference was way too noticable .

Ah i forgot to mention somethnig important (that leads out of the abone). Forget Allegro. Allegro a) uses the system timer for it's own purposes and b) is not designed for multitasking. We have to write our own VESA drivers... (about FreeVB/<something> drivers... i don't believe that anyone is developing them anymore - i may be wrong but again...).

I'm not sure if i use Allegro as an external driver, where the dynamic loader will allocate memory for Allegro-only usage. It may be possible, but since i haven't tried i can't say 100%.


I'll release the test when i write the keyboard driver. Don't die until then .

Ah, btw (again) - you may want to take a look at NerveBreak, the scripting language that i'm developing (parallel with XSeal) and will be XSeal's main scripting language - http://nervebreak.sourceforge.net/

The forum that NB's site uses will be used for the new forum of the new site (when the new site is written; up until now i haven't wrote a signle HTML tag ).
_________________
main(){printf("Hello, world!n"); return 0;}
Bad Sector - http://www.bsector.cjb.net/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
orudge
Administrator


Joined: 07 Oct 2001
Posts: 1332
Location: United Kingdom

PostPosted: Wed Apr 07, 2004 3:29 pm    Post subject: Reply with quote

Sounds promising, I'm looking forward to it!
_________________
Owen Rudge
http://www.owenrudge.net/

Currently Playing (last time I was online, anyway):
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
biggyp



Joined: 16 Oct 2001
Posts: 1473
Location: England, United Kingdom

PostPosted: Thu Apr 08, 2004 5:10 pm    Post subject: Reply with quote

as am i.
_________________
http://www.theopencd.org/ - OpenSource for the Masses

Gallery

Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
BadSector
Administrator


Joined: 24 Oct 2001
Posts: 328
Location: Greece, Samos

PostPosted: Fri Apr 09, 2004 8:06 am    Post subject: Reply with quote

Well, i need some help...

my "library" lacks usefull keyboard programming information (almost everything uses BIOS, while i don't want to use BIOS - i need to program it using ports and IRQs).

So, i need ANY kind of information you may have/find about keyboard programming! And in downloadable/offline format, since i lack internet connection . (i'm going to an internet cafe to visit this and other pages).
_________________
main(){printf("Hello, world!n"); return 0;}
Bad Sector - http://www.bsector.cjb.net/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
orudge
Administrator


Joined: 07 Oct 2001
Posts: 1332
Location: United Kingdom

PostPosted: Fri Apr 09, 2004 3:55 pm    Post subject: Reply with quote

Would Ralph Brown's interrupt list be useful to you here?
_________________
Owen Rudge
http://www.owenrudge.net/

Currently Playing (last time I was online, anyway):
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
BadSector
Administrator


Joined: 24 Oct 2001
Posts: 328
Location: Greece, Samos

PostPosted: Sat Apr 10, 2004 7:06 am    Post subject: Reply with quote

rbil is just a reference (and incomplete when it comes to anything else than interrupts). I need something like a guide or tutorial (i'll look in PCGPE, but i'm not sure...). Or/and source code .
_________________
main(){printf("Hello, world!n"); return 0;}
Bad Sector - http://www.bsector.cjb.net/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
crashfourit



Joined: 10 Dec 2003
Posts: 43

PostPosted: Thu Apr 15, 2004 10:09 am    Post subject: Reply with quote

From what I've read--this is getting very interesting!
Oh, if you keep making low level drivers for XSeal eventaly all you would have to do is to write an OS kernal for XSeal.
_________________
"seal" must be in the subject line if you email me.
If you try to make something idiot proof, some one will come and make a better idiot.
Back to top
View user's profile Send private message Visit poster's website
BadSector
Administrator


Joined: 24 Oct 2001
Posts: 328
Location: Greece, Samos

PostPosted: Thu Apr 15, 2004 11:59 am    Post subject: Reply with quote

that's not false .

but still i can't make that keyboard to work. I may make a noninteractive demo, just to test if multitasking works everywhere.
_________________
main(){printf("Hello, world!n"); return 0;}
Bad Sector - http://www.bsector.cjb.net/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SEAL Forum Index -> General All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group