Re : A92: Printing Characters


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

Re : A92: Printing Characters



an obvious answer, not very efficient would be to declare 24 vars in the prgm
: 
A: dc.b "A",0
B: dc.b  "B",0
etc...
then you could test the key stored at the $75B2 and print the caracter
depending on the result...

I don' t like that solution...
it would be better to copy what is stored at $75B2 into another var then to
modify this into a caracter chain then to disp it using rom routines...
the format of caracter chains is:  you store caracters in the order they are
to be displayed: they are stored as the asii codes written in the 92 manual
and at the end of the chain, you write $00 ( a 0 byte ) .
that' s it ! 
i believe it is true... i haven' t tried it...
mathieu, <hm lacage@aol.com>


Follow-Ups: