i heard that it is possible to get an image into a program.. using borland pascal 7.0 with the egavga.bgi graphic driver in the 640/480/16 mode. but i don't know if it is possible .logicaly it shoud be possible withe BMP images... but i don't know. if enyone heard about it and could explain it...
well i'm not that consourned about the resolution....i'm more consourned about the colors....because i have allready done a very big part of the project(mostly the interface) using 256 colors and now i have to cheange a lot of things.i allmost have to do all of the project again....
now...
ok ...i made it run ....but the tsr doesn't work .... the program runs until the first mouse roteen is used and then it gives the same error as before...
i have no ideea what to do next....
i tried the thing with the batch file
my batch file looked like this
E:\teme\temeadi\chess\hgxmouse.exe
E:\teme\temeadi\chess\chess.exe
(don't look at the folder names because they are in my language i'm romanian)
and it si named " pornire.bat "
i tried to run it with this command line...
i tried the thing with the dos shell and it doesen't work. i still have to tri the batch file. but i don't think that will work eather, because logicaly it should have worked with the dos shell to ...if that is the problem. i don't know..i'll tri that to... if it doese'n work i don't know what...
my borland pascal 7.0 editor has a dos sehll and i ran the TSR through thet dos shell, and i ran the program after i exited the dos shell. isn't that in the same window as the editor, shouldn't the TSR work this way?
if not then how do i create this batch file ? i haven't seen one yet.. what...
well... it isn't posible to store in sa single variable more then 256(0..255) caracters....but you cand use arrays or even text files..
you can make an array that looks like this
frazes:array[1..200] of string; {the limit of the array you can set to how much you like}
in this array in each...
the mouse driver is installed because i used the mouse in an other program also in borland pascal 7.0 but using the egavga.bgi driver.
about the TSR ...you are saying that i should execute it evrey time i execute my program? thoese this mean i have to use the "exec" procedure in the dos unit...
that is the problem.... it's an XP platform. is there no way i can make this work...maybe you cand tell me another method for using 256 colors ...because that is all that i need from the svga256.bgi . ia had allready made a part of the program using 256 colors before i discovered this problem
i want to use for a program in graph mode the svga256.bgi driver for borland pascal 7.0. but in the same porgram i want to use a mouse. the problem is that my program dosen't know how to draw the mouse cursor in this graphic mode. i searched the net for ansewrs and i came up with this : there is...
usualy for this kind of problem you should use backtracking.
i dind'n quite undesrstand the problem but if you explain it to me i could show you how the program would look like
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.