[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ASCII art / FIGlet
- Subject: Re: ASCII art / FIGlet
- From: "John B. Matthews" <nospam@nospam.com>
- Date: Mon, 07 Mar 2005 13:23:56 GMT
- Newsgroups: comp.sys.apple2
- Organization: Road Runner High Speed Online http://www.rr.com
- References: <1gt0j4m.s2ov6nlneoN%email@DELETE_THIS.luddite.no-ip.com> <kNNWd.4379$i6.2547@edtnps90> <1gt0mhu.1s2emmo12tmxd0N%email@DELETE_THIS.luddite.no-ip.com> <wlQWd.11849$KI2.3889@clgrps12> <UIQWd.6357$ZO2.6150@edtnps84> <1gt0xmj.yb6hh5b8wyt6N%email@DELETE_THIS.luddite.no-ip.com>
- User-agent: MT-NewsWatcher/3.4 (PPC Mac OS X)
- Xref: g2news1.google.com comp.sys.apple2:9223
In article
<1gt0xmj.yb6hh5b8wyt6N%email@DELETE_THIS.luddite.no-ip.com>,
email@DELETE_THIS.luddite.no-ip.com (Simon Williams) wrote:
> Craig Bower <to.email.me@post.a.request.message> wrote:
>
> <snip>
>
> > Try this instead:
> >
> > 110 GR : X = 0
> > 110 FOR I = 8192 TO 9210
> > 120 POKE 1024 + X , PEEK ( I )
> > 130 X=X+1
> > 140 NEXT I
> >
> > It's still not even remotely pretty ASCII art at the
> > end, but it'll get you started with more complex
> > displays.
>
> Kinda neat, depending on the input image, but it seems to have some
> oddball side effects like disabling scrolling. Even so, I managed to
> waste an hour viewing hires images in lores... I must be a masochist or
> something... ;-)
This side effect is due to the code overwriting the so-called screen
holes: non-displayed text memory reserved for each slot.
$0478-$047F
$04F8-$04FF
$0578-$057F
$05F8-$05FF
$0678-$067F
$06F8-$06FF
$0778-$077F
$07F8-$07FF
Typical firmware uses this RAM as a scratchpad to record control
information such as cursor position, mouse location, etc.
See _Apple_Monitors_Peeled_, <http://www.turbo-2.com/apple/> page
15-16, for a more thorough discussion.
You can avoid the screen holes by skipping values of X in which bits
four through seven are set.
--
John
jmatthews at wright dot edu
www dot wright dot edu/~john.matthews/