Re: A83: TASM divide error
[Prev][Next][Index][Thread]
Re: A83: TASM divide error
I beleive that it is not my routine that is clearing the screen in your
source, it is a blunder on your part. Here is a section of the source you
provided in the first mail...
proj_start:
call _runIndicOff ; turn off run indic
ld hl,picture ; load title pic
ld de,PLOTSSCREEN
ld bc,768
ldir
call _GRBUFCPY_V ; copy picture
call _clrLCDfull ; clr screen
SET textEraseBelow, (IY+textflags) ;makes rountine look better
ld hl, Data_Table_1 ; load data table
call Text_Select_Menu ; call TCPA's routine
Now if Im not mistaken, you are LDIRing your picture data to the buffer,
copying the buffer to the LCD, then clearing the LCD, then calling my
routine. You may want to exclude that "call _clrLCDfull" command, and it
should work better. My routine doesnt have any evidence that it wipes out the
buffer before it places the text. Another thing is it does not write the text
to the buffer unless you have this command before you call my routine: "SET
textwrite, (IY+sgrflags)", but then you must be cautious, because my routine
doesnt copy the buffer after everytime it writes text, so then nothing may be
apparent. It's then best if you leave that flag I mentioned as being Reset,
so you dont have to make any alterations to the routine.
Jason_K
In a message dated 5/14/00 3:23:07 PM Central Daylight Time,
r_r_williams@yahoo.com writes:
> i fixed the error , i just had to restart my comp and
> recompile it agian. :o
> BTW, how can you make the menuroutine NOT erase the
> screen?
>
>
> --- Jkhum98@aol.com wrote:
> > I feel obligated to reply to this email since that
> > routine youre using is one
> > I wrote... =P I dont remember much about it though,
> > but I can assure you that
> > its not my code that is giving you a "divide error".
> > I copied and pasted your
> > source into a text file, and compiled that, and it
> > compiled fine. However, I
> > didnt have your data at 'picture' so my compiled
> > version displays crap, but
> > you probably have more to the program to make it
> > work right... I have
> > attached the source file that I compiled, to this
> > mail, so compile that and
> > let me know if it still gives you problems...
> >
> > Jason_K
>
> =====
> --Ranfinity, " the future is yours.."
>