FZX with word wrapping?

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Post Reply
User avatar
R-Tape
Site Admin
Posts: 287
Joined: Thu Nov 09, 2017 11:46 am

FZX with word wrapping?

Post by R-Tape » Tue Nov 21, 2017 11:12 am

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)
0 x

User avatar
Einar Saukas
Dizzy
Posts: 75
Joined: Wed Nov 15, 2017 2:48 pm

Re: FZX with word wrapping?

Post by Einar Saukas » Tue Nov 21, 2017 11:32 am

Take a look at the FZX driver from z88dk...

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

Wall_Axe
Dizzy
Posts: 57
Joined: Mon Nov 13, 2017 11:13 pm

Re: FZX with word wrapping?

Post by Wall_Axe » 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!
0 x

User avatar
R-Tape
Site Admin
Posts: 287
Joined: Thu Nov 09, 2017 11:46 am

Re: FZX with word wrapping?

Post by R-Tape » Tue Nov 21, 2017 5:18 pm

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.
0 x

Post Reply