473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

A new environment for C++ compiler

cyberking
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!
Jan 27 '07 #1
2 1094
willakawill
1,646 1GB
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).
Jan 28 '07 #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).
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
Jan 28 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Beach Potato | last post by:
Dear Y'all: I'm about to start porting a big old project written in anscient version of Delphi to something more stable, robust, supportable and maybe even portable. Since I haven't seriously...
0
by: ccrabfo | last post by:
Has anyone ever implemented embedding a "virtual host" or "virual machine" environment inside your C/C++ programs so that end-users could write small snippets of customized code, compile it using...
4
by: Alan | last post by:
Is anyone know the equivalent term used for Dynamic Link Library (DLL) in unix environment?? Thanks Alan
13
by: Vinu | last post by:
hai i have a problem i con't able to print the values of argv int main(int argc, wchar_t* argv) { return o; }
6
by: Arthur | last post by:
I had two Visual Studio .NET C++ solutions that I combined into one. These project solutions were very similar. In fact, the two solutions were sharing many files. Now that they are one...
4
by: jacob navia | last post by:
Hi people I continue to work in the tutorial for lcc-win32, and started to try to explain the floating point flags. Here is the relevant part of the tutorial. Since it is a difficult part, I...
4
by: Peter Kirk | last post by:
Hi I would like to ask a little bit about the value Environment.Newline: what is it and what is the point of it? Ok, I can see in the docs that it represents "newline" for the current platform -...
3
by: RS | last post by:
Hi all, My code compiles well with gcc on linux and OS X, but now I have to run it at work, and my only choice is Visual Studio .Net 2003 environment on windows, which I had never used before....
11
by: rossum | last post by:
I want to declare a const multi-line string inside a method, and I am having some problems using Environment.NewLine. I started out with: class foo { public void PrintStuff() { const...
48
by: Ark Khasin | last post by:
Unit testing is an integral component of both "formal" and "agile" models of development. Alas, it involves a significant amount of tedious labor. There are test automation tools out there but...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.