![]() |
|
Printing with FZX - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://forum.boriel.com/forumdisplay.php?fid=16) +---- Thread: Printing with FZX (/showthread.php?tid=2632) |
Printing with FZX - solar penguin - 2025-07-14 Hi, I'm new, so these are probably stupid questions. But, I'm confused about printing with printFzxStr. Is there any way to to get it to word wrap neatly? It's breaking to a new line in the middle of a word (or even the middle of a letter) As a last resort, I guess I could have a go at writing my own word-wrap routine if I knew where to find the different widths of all the characters and the position of the text-printing cursor along the row. How would I go about finding them? One final question. Is there a way to make FZX scroll when it reaches the bottom of the screen instead of just stopping ZX81-style with an error message? Thanks RE: Printing with FZX - boriel - 2025-07-17 FZX es a bit special home made routine. You probably will have to make your own routine. The thing is that FZX uses non proportional font, and knowing when to wrap a word or to stop is tricky. For the error message, perhaps you can "trap" it and call the ROM scroll yourself. Consider joining the telegram channels, btw. We are a vibrant community and probably someone has already researched this! |