Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print color bug (*solved*)
#7
(10-05-2022, 07:01 AM)boriel Wrote: The print changes were introduced in 1.16.0!
Indeed that was one of the updates from 1.15 to 1.16. I'm on it. Smile

I tested 1.15.2 and the bug was there so it must have happened before 1.16.0. You state in your changelog that you changed the print routine in 1.16.1 so you are contradicting yourself. The print routine is just likely incomplete as it does not reflect some changes that you have made to the core codebase, but the print routine is just fine under the old conditions.

I had a color bug myself as I was compiling my program under the new version of the complier, it was not updating the color when I was tripple buffering. I had to change the code from this:

Code:
Sub fastcall SetScreen (ScreenPtr as uinteger)

Asm
  ld (.core.SCREEN_ADDR), hl
End asm

End sub
 
To this:

Code:
Sub fastcall SetScreen (ScreenPtr as uinteger)

Asm
  ld (.core.SCREEN_ADDR), hl
  ld de, 6144
  Add hl, de
  ld (.core.SCREEN_ATTR_ADDR), hl
End asm

End sub

This might give you a clue.

This makes me wonder if other statements like DRAW, PLOT, CIRCLE have this bug as well. I hope you figure it out.
Reply


Messages In This Thread
Print color bug (*solved*) - by Darkstar - 10-03-2022, 08:18 PM
RE: Print color bug - by boriel - 10-04-2022, 06:54 AM
RE: Print color bug - by Darkstar - 10-04-2022, 09:44 AM
RE: Print color bug - by boriel - 10-04-2022, 10:53 AM
RE: Print color bug - by Darkstar - 10-05-2022, 12:44 AM
RE: Print color bug - by boriel - 10-05-2022, 07:01 AM
RE: Print color bug - by Darkstar - 10-05-2022, 07:59 AM
RE: Print color bug - by boriel - 10-11-2022, 06:15 PM
RE: Print color bug - by Darkstar - 10-11-2022, 06:57 PM
RE: Print color bug - by boriel - 10-05-2022, 10:27 AM
RE: Print color bug - by Darkstar - 10-07-2022, 01:09 AM
RE: Print color bug - by boriel - 10-07-2022, 10:53 PM
RE: Print color bug - by Darkstar - 10-08-2022, 01:36 AM
RE: Print color bug - by Darkstar - 10-08-2022, 03:11 AM
RE: Print color bug - by boriel - 10-08-2022, 08:04 AM
RE: Print color bug - by Darkstar - 10-08-2022, 08:37 AM
RE: Print color bug - by boriel - 10-09-2022, 06:30 PM
RE: Print color bug - by Darkstar - 10-09-2022, 08:27 PM
RE: Print color bug - by Darkstar - 10-10-2022, 04:20 AM
RE: Print color bug - by boriel - 01-19-2023, 10:56 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)