"Cyril Thibout" <
in...@pulsar-informatique.com> wrote:
> This code just switch to DHR and write 15 "X" upon a different background
> each time.
> The big surprise is that the MErlin8 ASM program is as slow as the basic
> one.
> But can you tell me why the ASM version is no faster than the basic one?
Hi Cyril.
Ok... both languages use the same ROM routines and run on the same processor
so this is no surprise.
How does Aztec C do?
When I wrote my font routines for DHR mode I used my 4 bit pattern bitmasks,
NOTted the background, then ANDed the color. I would NOT write this in BASIC
, AND neither would I write these in pure ASM.
Nor did I.
Check-out
http://www.aztecmuseum.ca/AppleX.zip for the DHGR code with
source. You can tweak the code either in C or ASM.
Other strategies can be applied. Difficult to do in ASM or BASIC. More
difficult if you don't write your own routines.
Bill