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: 6353
Joined: Thu Nov 09, 2017 11:46 am

FZX with word wrapping?

Post 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)
User avatar
Einar Saukas
Bugaboo
Posts: 3070
Joined: Wed Nov 15, 2017 2:48 pm

Re: FZX with word wrapping?

Post by Einar Saukas »

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

https://github.com/z88dk/z88dk/blob/mas ... ion_ww.asm
Wall_Axe
Manic Miner
Posts: 492
Joined: Mon Nov 13, 2017 11:13 pm

Re: FZX with word wrapping?

Post 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!
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: FZX with word wrapping?

Post 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.
Post Reply