Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I have a feeling this will be a dificult question.
my problem is that my pixel setting routine is too slow:
PSET is the original pixel setting routine, but of course, we all know how slow it is.
then there's GET & PUT, quite fast, but no way to manipulate the sprites well for scrolling, special effects, etc.
then there's the POKEing method, where you POKE a color value into the VRAM (SEG = A000), at an offset that represents the pixel coordinates
(POKE 320& * Y% + X%)
this is very fast, (at least two times faster than PSET.)
and even faster in compilation.
and is what I have been using so far.
but... it seems it's STILL too slow, is there a faster way of plotting pixels?
should I do something different than plotting for drawing large scrolling backgrounds?
I want to do this without libraries. but ASM in the code is ok with me.
I've been trying to figure out the assembly equivelent to this code.
it seems easy, but I don't have TASM or NASM, so DEBUG:A is what I got.
and MOV [A000]:AX, BX doesn't work in debug, (what some one suggested to me).
I'm sorry for the long post, but if anyone can help me, then I would appreciate it greatly
0 · ·