Graph unit in GO32V2 - bugs in banking mode
Original Reporter info from Mantis: laaca@seznam.cz
-
Reporter name: Ladislav Lacina
Original Reporter info from Mantis: laaca@seznam.cz
- Reporter name: Ladislav Lacina
Description:
There is many drawing bugs in banking mode which affect most of the graphics routines. In LFB mode everything seems to be OK.
The source code is really mess, so for 2.2.2 I suggest not fix it but just use the Graph unit from FPC 1.0.10.
I tried it, it works very good, but it is absolutely necessary to add on the begining of GRAPH.PP file {$CALLING OLDFPCCALL}
Then on few pieces of code you only have to replace things like "mov ax,[color]" to "mov ax,color", but it is really only few lines.
Last adjustment was some error message about HeapError and HeapErrorProc, I didn't want to study it so I commented it out and it works.
For future releases is however needed fix the current Graph unit or use the DJGPPish GRX or MGRX library, eventually PRCpas (although I doubt it supports banked videomodes)
Mantis conversion info:
- Mantis ID: 11724
- Version: 2.2.3
- Fixed in version: 2.4.2
- Fixed in revision: 15043 (#d4d3b177)
- Monitored by: » laaca@seznam.cz (Ladislav Lacina)