A new environment for C++ compiler

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cyberking
    New Member
    • Jan 2007
    • 84

    A new environment for C++ compiler

    Hi to everyone.

    Wat I want to provide you people with is a new colourful environment for the boring c compilers. I ve this TSR which I have written and I am willing to share it. I wnt you people to try it out. but then how do I give you the exe file.. I wonder.!! Anyways, just let me know how or I would always love to mail you the file.. Anytime.

    Firstly, I am very new here and I am already loving it!!
    I am not able to figure out how I can post exe files over here as attachments. Anyways, guess I'll get to know..



    Regards,
    CyberKing!
    Last edited by cyberking; Jan 27 '07, 11:23 AM. Reason: forgot
  • willakawill
    Top Contributor
    • Oct 2006
    • 1646

    #2
    As you have written it yourself and seem to be willing to share it for free, why not post the code here or at least some relevant snippets and describe your achievement to us? I would be fascinated to view your remarkable invention that, apparently, is both cross platform and independent of compiler. A truly extraordinary feat of brilliance. Bring on the code baby!

    Then I might be pursuaded to post the code for my fabulous 10 times computer speed up app. that I completed in college. Something to do with typing deltree at the command prompt as I recall. Don't try this at home (er... or anywhere).

    Comment

    • cyberking
      New Member
      • Jan 2007
      • 84

      #3
      Originally posted by willakawill
      As you have written it yourself and seem to be willing to share it for free, why not post the code here or at least some relevant snippets and describe your achievement to us? I would be fascinated to view your remarkable invention that, apparently, is both cross platform and independent of compiler. A truly extraordinary feat of brilliance. Bring on the code baby!

      Then I might be pursuaded to post the code for my fabulous 10 times computer speed up app. that I completed in college. Something to do with typing deltree at the command prompt as I recall. Don't try this at home (er... or anywhere).
      Thanks buddy..

      However, this code which I ve written could be no big deal I guess, with excellent coders here.. Its just a memory resident code that I ve written using ROM-BIOS functions.

      Well here's how i ve done it..

      As we all know, the starting location for CGA in memory is 0xB8000000L and thatfor MA is 0xB0000000L. Every character that is stored starting at these location occupies 2 bytes, one represents the character and the second represents the attribute (color). What I am doing is that I catch the timer interrupt number 8.

      Further as we all know, The timer interrupt occurs every 18.2 seconds.
      So in my code, say if I wish to change the color ever 100 seconds, I would bring on an if loop and check the condition

      if(ticks == 1820) // ticks is a variable;
      {
      *(vidmem+i) = color++; // there s going to be a for loop before this

      ticks = 0;
      }
      here vidmem is a far pointer and assigned with the starting location of CGA or MA. EGA, SVGA are similar to CGA..

      So thats it.. I am not sure, if thats a big deal...

      Regards
      CyberKing
      Last edited by cyberking; Jan 28 '07, 06:43 AM. Reason: forgot to include synatx

      Comment

      Working...