Thread: GUI For DOS

  1. #16
    Registered User
    Join Date
    Sep 2001
    Posts
    140
    Can I help?

  2. #17
    Unregistered
    Guest
    HI this is Rahul.
    I do want and intend to design a gui. I must say, i have done something, but, not up to the mark.
    reply me
    my email id is:

    [email protected]

  3. #18
    Registered User
    Join Date
    Sep 2001
    Posts
    140
    I guess not.

  4. #19
    I use DJGPP and I got the same errors (I hope this isn't too late )

    Did you download the package BinUTILS? I went to www.delorie.com, read the FAQ's, and they had the Binutils package under the question "I am getting an error saying Install error, missing cc1plus" or something like that.

  5. #20
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    Unhappy Apologies

    omg omg omg!!!!!!
    I thought this thread was going to e-mail me every time soneone replyed.... hmm...

    Yes you can help - of course you can!!! Jeesh.. i just need to get my thoughts cleared up a little.

    Ok. This is interesting, but i tyhink i've already downloaded the Bin Utils but i'll searcha gain/ Another thing is that i can't ( Actually, i don't know how ) to install DjGpp to another drive rather than C:\ because of space problems.
    I've started work on it but im using a real time conpiler but im sure the source can be improve, I'd want the source to be free and available to all. Maybe we can all contribute somehow to it...


    Ok,
    Thanks a lot guys,

    Take care,

    Stef
    Yes...YES!!! I did it! Ha ha ha...I'm king of the world...No..No..please-wait-no...!!!!-- This program has performed an illegal operation AND WILL be shut down....Ack-Choking..help...ack..

  6. #21
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    Lightbulb

    I used to get the cc1plus error too. After some long exetensive research i found out that when i was decompressing the zipped files Windows would try and give them long names , so the file actually ended up with the '~1' in dos at the end ( ex: cc1plus~1 ). So basically you have them but you need to rename them.


    By the way, anyone know how to output a pixel but really fast using video memory directly?
    Im trying out the following source code with Borland C++ 3.1 to switch to graphics mode:

    oid SetSVGA() {
    _AX = 0x4f02;
    _BX = 0x105;
    geninterrupt (0x10);
    }

    But pixel drawing is really slow..... :P How i wish i could get DjGpp to work..... :*( ((((



    Taek care ppl,
    Stef
    Yes...YES!!! I did it! Ha ha ha...I'm king of the world...No..No..please-wait-no...!!!!-- This program has performed an illegal operation AND WILL be shut down....Ack-Choking..help...ack..

  7. #22
    Registered User
    Join Date
    Sep 2001
    Posts
    140
    It looks like your doing vesa stuff, thats gonna be slow no matter what you do because of bank switching. If you want I can email you Mutt Dos Library, it has tons of stuff like: mouse stuff, vesa modes, keyboard stuff, interrupt hooking (pretty weak) and a couple very simple gui things and some other stuff too. Unfortunately my library wont work with djgpp because of djgpps damn weird assembly syntax.

  8. #23
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    If we use DJGPP we will not have to bank switch. We will have access to the LFB or linear frame buffer. I have code that already handles all of the memory stuff required to correctly use the LFB. It is very fast and gives acceptable frame rates as high as 800x600x16 bit. My card does not seem to support 24 bit modes.

    If we were to use MMX and 3DNow (dep. on CPU) the speed would nearly quadruple. My DJGPP asm will not work. Keep getting very weird error about not finding class "DIREG" in reloading of asm. Syntax is correct but still no go.

  9. #24
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    Thumbs up Re:

    stupid_mutt: yes please. I would be more than happy to take a look at that. It seems to me it's going to be very difficult if we ever think of using DjGpp. I took a look at it and i liked it very much, but the dang thing is so hard to configure and user-unfriendly... So for the moment, i guess ill just stick to what i got.
    BUt it's not so bad... i mean, the 0x10 interrupt i use in BC 3.1 seems to be a little faster and more stable than the BGI graphics.... Hmm...Im not so surprised about that though....


    WHat my first intention was to write a Shell for DOS using a Graphical User Interface and People could write programs for the Shell using a Script language. I got to some Beta version, but that's when i decided to swtich everything and all the graphics routines. The script language would be sort of like tags, somehoe similat to what html is for a browser, only that these would turn into programs. And everything, or mostly, would be Open SOurce. Well, not all. Anyways, that deosn't matter so much. I didn't think yet about how to make it use multi-threading, but i guess this too will be a delicate matter which must be handled. Hmm... i definitely foresee a lot of work coming on.... Also because i decided to use assembly to switch to graphics mode, so i'm now taking care of writing the fonts... :P


    Thanks a lot guys,
    Take care,
    Stef
    Yes...YES!!! I did it! Ha ha ha...I'm king of the world...No..No..please-wait-no...!!!!-- This program has performed an illegal operation AND WILL be shut down....Ack-Choking..help...ack..

  10. #25
    Registered User
    Join Date
    Sep 2001
    Posts
    140
    Bubba has a point, plus we would get all the power of protected mode. Im actualy not sure I can help because Im probly gonna be helping KEN with acos, but I donno.

  11. #26
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    Are you guys still going to do this? (I'm not sure if this thread is old or not.)

    Because, I'll be looking for a GUI for ShellOS. Try to use system-independent code, okay?

  12. #27
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Hey Sunny since you are the brains of this operation and you have plenty of good knowledgeable supporters so.......why not start delegating sections of code to us so we can work on them.

    Going to need a basic idea of what you want your GUI to do and we will need to get a class hierarchy so we can modularize the whole thing. I know how to do some multi-thread stuff in DOS - not hard when all programs know about each other - several options like shared memory, semaphores, and pre-emptive multi-tasking. I'm not familiar with heavy weight task switching like from app to app, but I'm sure there are some books on it. Light-weight task switching is fairly straighforward.

    As far as a video system for the GUI, I think any of us could handle that in DJGPP. My sound code would work fine for basic sounds in the GUI since not much mixing required.

    But for it all to work we gotta have some direction and get a class hierarchical diagram so we know how it all fits together. If you want I could flowchart my module so you can see exactly what it is doing.

    So now Sunny, let's code this thing. You are the project lead. Lead us.

  13. #28
    Registered User Sunny's Avatar
    Join Date
    Nov 2001
    Posts
    101

    Thumbs up Re

    Ok... I think the first step should be to put down a concrete list of vonlunteers.
    Another thing i would like to say is that i am not experienced enough to lead such an important project as this. I can however try to harmonize our ideas and try and make us work toghether. So, so far i have been mesmerized by the entuziasm i've seen by those who actually subscribbed to this list. I think this project could turn out nice. But it's up to us. But, don't call me the "Brains" of this work, because all i did was start the thread.
    Anyways, i think Bubba is more experienced than me here, and i'd like it if he could help coordonate the project ( if he wants of course ). It would be a great help ...
    Another thing is that I havn't yet succeeded to make DjGpp work with me. I guess he doesnt like met hat much :P. But, i have succeeded to compile some C sources. apparently ld.exe can't find the Libraries and i don't know why because i've set all the variables I know about so far. I've read all the FAQs i could get my hands on... * Sigh *
    So, maybe we could consider writing a graphics server we can port our applications to. Dunno, need more thinking...


    Take care ppl
    Stef
    Last edited by Sunny; 01-30-2002 at 05:22 AM.
    Yes...YES!!! I did it! Ha ha ha...I'm king of the world...No..No..please-wait-no...!!!!-- This program has performed an illegal operation AND WILL be shut down....Ack-Choking..help...ack..

  14. #29
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    anyone know about the ms-dos shell that came with ms-dos 5.0? it was a weird thing, used ega graphics and i think had a mouse pointer. can't remember ever using it(much), and windows 3.1 overdid everything shell could do(mainly file copying/deletion, etc, and executing files).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI Programming...
    By ShadeS_07 in forum C++ Programming
    Replies: 12
    Last Post: 12-28-2008, 04:58 PM
  2. Convert Windows GUI to Linux GUI
    By BobS0327 in forum Linux Programming
    Replies: 21
    Last Post: 11-27-2005, 04:39 AM
  3. .NET And GUI Programming :: C++
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 01-27-2002, 04:22 PM
  4. GUI Programming :: C++ Exclusive
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2002, 03:22 PM
  5. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM