Here you see the output from ./x16emu -echo raw | ~/x16-petscii2utf8/petscii2utf8 running R42 and R43, respectively:
As you can see the positioning of the text is wrong in R43. This is probably because they use another cursor positioning method than before. They probably did this because they wanted the screen after reset to work with different SCREEN modes stored in NVRAM. I know it is possible to position using PETSCII control characters e.g. the cursor keys and perhaps LF and CR. I think this should be fixed so that it can look good when using my filter program, petscii2utf8, because you might want to run Commander X16 using a terminal with this filter or some other PETSCII compatible terminal. I cannot solve it on my side because petscii2utf8 doesn't get information about the positions.
More information about petscii2utf8:
The text on the start screen isn't positioned using PETSCII in R43
The text on the start screen isn't positioned using PETSCII in R43
Last edited by mobluse on Wed Jul 05, 2023 6:23 pm, edited 1 time in total.
Re: The text on the start screen isn't positioned using PETSCII in R43
This is not a bug.
The system can now boot to different screen modes, so the boot screen looks a little different for different screen modes. Using PETSCII to position text is less efficient than using the PLOT routine, so I imagine this explains that change.
If you want a PETSCII based boot banner, you are free to create one yourself and save it as AUTOBOOT.X16.
The system can now boot to different screen modes, so the boot screen looks a little different for different screen modes. Using PETSCII to position text is less efficient than using the PLOT routine, so I imagine this explains that change.
If you want a PETSCII based boot banner, you are free to create one yourself and save it as AUTOBOOT.X16.
Re: The text on the start screen isn't positioned using PETSCII in R43
Yes, I know it's more an issue than a bug, but I don't think the screen after reset appears too slowly; it could use PETSCII positioning without anyone thinking it is too slow, and that would also solve my issue. It's a good idea to write your own boot screen program in AUTOBOOT.X16. I would get the data in the same way as the ROM.
The ROM could have an extra PLOT subroutine for PETSCII positioning that would go to the position using the fewest PETSCII control codes.
The ROM could have an extra PLOT subroutine for PETSCII positioning that would go to the position using the fewest PETSCII control codes.
Re: The text on the start screen isn't positioned using PETSCII in R43
You're free to submit a PR, of course.mobluse wrote: ↑Wed Jul 05, 2023 6:42 pm Yes, I know it's more an issue than a bug, but I don't think the screen after reset appears too slowly; it could use PETSCII positioning without anyone thinking it is too slow, and that would also solve my issue. It's a good idea to write your own boot screen program in AUTOBOOT.X16. I would get the data in the same way as the ROM.
The ROM could have an extra PLOT subroutine for PETSCII positioning that would go to the position using the fewest PETSCII control codes.
I get why you want this - to be able to log and re-create the screen via STDIO, but I can't imagine the volunteers working on KERNAL and BASIC ROM code would set aside other issues for this - not without a compelling use case.