MESSAGE SCROLLER

by Christopher Priestley

from Your Sinclair #30 (June 1988)

[files MSCROLL1.*]



This month I decided to write a ritty-ditty, super slick, interrupt

driven message scroller and ... I did. And very proud of it I was too,

until a certain letter popped in through the post.



Blink.



Someone - by the name of Christopher Priestley - had written a similar

routine, and it was - shock! horror! gasp! - better than mine! And not

just better, much better! Fume!



Method



Well, not that my ego has been shattered and my confidence annihilated,

I'd better tell you how to use this McCandless-bashing program.



First use the hex loader (from Finder) to input the 10 lines of hex,

then save this with SAVE "message" CODE 40300,80 [81, actually. JimG].

Afterwards, tap in the little ol' Basic demo program, and save that with

SAVE "message2" LINE 900.



Info



Right, have you typed in the program? Run the demo? Commented on how my

program would've been better? Yes, good, now here's a list of the

variables used in the program so you can use the routine yourself:



POKE 40301,(start of message)-256*INT ((start of message)/256)

     40302,INT((start of message)/256)

POKE 40322,(character set)-256*INT ((character set)/256)

     40323,INT((character set)/256)

POKE 40326,Window row (0-23)

POKE 40335,Window column (0-31)

POKE 40348,Window length (0-31)

POKE 40375,Scrolling speed (0=fast, 118=slow)



Quite a lot, aren't there? My program didn't have so many ... mind you

my program wasn't so good ... winge ... moan ... winge ... fume ...



Proggies



I still think my program would have been presented better - winge -

here's the hex dump and the Basic demo.

