Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

FPC 2.4.0 released! (Announce)

posted by Laaca Homepage, Czech republic, 02.01.2010, 19:00

I downloaded and installed it and tried to compile my program - color mixer.

It compiled successfuly but mouse didn't work.
Mouse handler in DPMI is quite mysterious thing so when I started to figure what is wrong I didn'r really believe that I find it.

But I found the issue - problem was in

a:longbool;
a:=true;

...and later in assembler part I assumed that A will be 1.

Be careful about it. It is known and documented change but it can be potentialy very dangerous!


Next problem I had is the often failing of linker.
All code is properly compiled but the linker can't bind it into EXE. Sometimes helps to build whole project sometimes helps to compile and then make and sometimes nothing helps and you have to switch from one compilation mode into another one (like from debug to release or from debug to normal and so on).

And finaly the behaviour of IDE. In plain DOS the mouse cursor draws some chars when moving. But the situation is even worse.
Just because in win XP it works fine and under DOSbox too. It is bad because it is unlikely that some of the core developers will test it under plain DOS. And because under win XP it is OK nobody will care about it....

But anyway - something had to change here because in FPC 2.2.2 wasn't this problem.

And maybe I should test also some other DOS mouse drivers than CTmouse...

---
DOS-u-akbar!

 

Complete thread:

Back to the forum
Board view  Mix view
22781 Postings in 2123 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum