Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PRINT AT 23,0 and FOR NEXT Loop not working after Fastcall
#7
boriel Wrote:I think the order of the stack instructions is not right. Try this one:

Code:
PUSH IX
LD (SavedSP),SP
...
CALL 15357                  ;TR-DOS v4 #3BFD = 15357 dez
LD SP,(SavedSP)
POP IX
RET

Try this and tell me. :roll:
This doesn´t changed anything.
I put the Fastcall / MCode out and get the "5 Out of screen" Error
while only running this BASIC lines:

Code:
FOR A=0 TO 40
PRINT AT A,15; INK 6; PAPER 0;A;"###"
NEXT A
END
This wraps around (e.g. AT 24,0 is printed on line 0). But these wrapped lines doesn´t print from column 15,
they are printed from column 0. And at program end, this rises the "5 Out of screen" error.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)