Page 2 of 2
Re: Lunar lander and UDG generally
Posted: Sat Mar 16, 2024 2:27 pm
by Jbizzel
Damn it. It doesn't work.
Re: Lunar lander and UDG generally
Posted: Sat Mar 16, 2024 2:31 pm
by tofro
How does "doesn't work" look like?
What does (after the program has run)
Code: Select all
FOR i = 127 TO 127 + 15 : PRINT #1,CHR$(i)
do?
Re: Lunar lander and UDG generally
Posted: Sat Mar 16, 2024 3:05 pm
by dilwyn
Derek_Stewart wrote: ↑Sat Mar 16, 2024 2:06 pm
Hi,
Have look at QL Today Vol13 issue 2,3,4 Dilwyn did an excellent article on the use of Fonts.
Article available here.
https://www.dilwyn.qlforum.co.uk/docs/a ... nfonts.zip
Re: Lunar lander and UDG generally
Posted: Sat Mar 16, 2024 3:23 pm
by Jbizzel
tofro wrote: ↑Sat Mar 16, 2024 2:31 pm
How does "doesn't work" look like?
What does (after the program has run)
Code: Select all
FOR i = 127 TO 127 + 15 : PRINT #1,CHR$(i)
do?
It prints the UDGs!!!!
Edit*
Ah, I need channel 3. I have UDG. Working!
Thanks, I'll have a read of the articles you listed.
It's always good to work through a practical example.
Thank you
Re: Lunar lander and UDG generally
Posted: Sun Mar 17, 2024 3:23 pm
by dilwyn
I don't want to overcomplicate things, but I wrote an article on how the font data structures work (in broad terms) which might help to explain why PEEKing and POKEing font addresses is a bad idea. It's a bit technical but tries to explain things as it goes along. If it helps explains things, I might add it to the Fun With Fonts article on my website.