Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print color bug (*solved*)
#14
(10-08-2022, 08:04 AM)boriel Wrote: Thus, the print routine does work, but from time to time you have to "reset" the screen buffer with that buffer pointers, isn't it?
Let me check that part...

EDIT: If you have any short code snippet to reproduce it, please send it to me (even privately), as it will help me a lot.
Many thanks, again!


I am sorry but I don't have any short code snippets to share as this is tied up in a big file. Yes, it looks like you have to reset the buffer pointers from time to time. It goes against the basic premise of just having to set the pointer once to the base of the screen memory and forget about it. This was not a problem in 1.14.1 as everything worked fine there including the print routine and the namespaces were old style and gosub was allowed between subs and functions. Meaning that 1.14.1 was the last of the workable old style versions and as such I think I going to hang on to that as I use the newer versions in my newer projects. The compiler is coming along nicely getting more professional as time goes on, keep up the good work and I am sorry I could not be of more help this time around.

"EDIT2: Does your project scroll the screen or reach the end of the screen?"

No it does not, just uses the entire screen memory and prints to it according to the screenptr and then copies between screen buffers. I have three screens set up in memory, one is at address 16384 the other two are above that as you might suspect. It prints on the other two.
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: 2 Guest(s)