| Posted By 
  George
 on 2012-08-10
 14:34:56
 
  |  Re: Combing Text and freely placeable bitmaps on screen 
 Well hier my first try and i can't see what i am doing wrong here. (the code is very Beta).
 
 The data is in 0800. I  copy 2 lines of 7 chars simultaniously to 2000. (7x11 chars picture).
 It draws the first two lines correctly, but when it goes to the second call i get this:
 Look here: http://www.patsos.de/plus4/grag5.JPG
 
 10 IF A = 1 THEN 45
 20 A = 1 : graphic 4,1:  LOAD "grag",8,1
 
 45 REM Char to $2000 from $0800
 46 q = 2048 : zi =8192
 50 POKE192,((q ) and 255) : POKE193,(((q)/256) and 255)  // source 1
 60 POKE200,((zi) and 255) : POKE201,(((zi)/256)and 255)    //Destination 1
 61 q=q+56 : zi = zi + 320
 70 POKE169,((q ) and 255) : POKE170,(((q )/256) and 255) // Source 2
 80 POKE234,((zi) and 255) : POKE235,(((zi)/256) and 255) // Destination 2
 81 q=q+56 : zi = zi + 320
 90 REM SETTING UP ADDITIONAL VARIABLE
 100 POKE2024,55
 120 REM COPYING 56 BYTES FROM CHAR-GEN
 130 SYSDEC("DA4F")
 140 k = k+1:if k >= 4 then end: else goto 50
 run
 
 Side-Effects of the rom-call?
 
 |