A82: Re: Font help


[Prev][Next][Index][Thread]

A82: Re: Font help




Just compare the number of the char with the values you have changed and
if it is not one of your chars call M_CHARPUT.Since the menu font does not
use all chars you can place you chars at the end of the alphabet, which
should make the routine smaller.

My_CharPut:
  LD B,A
  CP %11111001
  JR C,My_C1
  AND %11111000
  ; code to display your chars here
  RET
My_C1:
  ROM_CALL(M_CHARPUT)
  RET

If you insert some code which display your char with the number in A (from
1 to 7) where it is indicated the routine should do what you want.

Dines
-----Original Message-----
From: Kouri Rosenberg <kouri@juno.com>
To: assembly-82@lists.ticalc.org <assembly-82@lists.ticalc.org>
Date: 26. april 1998 23:03
Subject: A82: Font help


>
>I need to change some of the normal calculator menu font, so how should I
>go about implementing this? I've only changed 7 characters (all letters
>are uppercase, 3 pixels wide and 5 pixels tall). Is there a way to just
>alter individual letters, without re-doing the entire alphabet? Like test
>if the letter is one of the 7, and then draw that letter, otherwise print
>normal font? If you know a better way of doing this, please help me out.
>Thanx
>
>_____________________________________________________________________
>You don't need to buy Internet access to use free Internet e-mail.
>Get completely free e-mail from Juno at http://www.juno.com
>Or call Juno at (800) 654-JUNO [654-5866]
>
>

_______________________________________

Dines Justesen
Email: dines@post1.com or
       c958362@student.dtu.dk
WWW  : http://www.gbar.dtu.dk/~c958362/
_______________________________________