Page 1 of 1

FZX with word wrapping?

Posted: Tue Nov 21, 2017 11:12 am
by R-Tape
The released FZX drivers don't have word wrapping as far as I know. Has anyone created their own that they wouldn't mind sharing?

(Assembly snippets would be best)

Re: FZX with word wrapping?

Posted: Tue Nov 21, 2017 11:32 am
by Einar Saukas
Take a look at the FZX driver from z88dk...

https://github.com/z88dk/z88dk/blob/mas ... ion_ww.asm

Re: FZX with word wrapping?

Posted: Tue Nov 21, 2017 5:10 pm
by Wall_Axe
I asked Alcoholics Anonymous for word wrap and he created it for me:
https://www.worldofspectrum.org/forums/ ... rminals/p1

this is code that is tied in with the terminals demo in z88dk though, so I dont know if it will be useful.


EDIT-
oh you were looking for assembly, sorry!

Re: FZX with word wrapping?

Posted: Tue Nov 21, 2017 5:18 pm
by R-Tape
Wall_Axe wrote: Tue Nov 21, 2017 5:10 pm I asked Alcoholics Anonymous for word wrap and he created it for me:
https://www.worldofspectrum.org/forums/ ... rminals/p1

this is code that is tied in with the terminals demo in z88dk though, so I dont know if it will be useful.

EDIT-
oh you were looking for assembly, sorry!
(Hi Slenkar!)

Yep I tried to learn a bit of C++ a couple of years ago but didn't get into it enough. I'm sure they're very good but I find the asm listings there hard to follow (my failing not z88dk's).

I'll be fine, I've sussed out how to calculate the width and will be fine making my own mod.

Cheers tho.