"bug" copy on BASIC to screen from 0,212 to 256x255

Door DanySoft

Champion (432)

afbeelding van DanySoft

07-02-2012, 21:06

Hello, 
is use this function :

10 screen 8:vdp(9)=2 : rem vdp(10)=vdp(10) and &H7f
20 set page 0,0:cls
30 bload "grp.sc8",s
40 call turbo on
50 for l=0 to 16383 : vpoke 212°256+l,vpeek(l):next L
60 line (0,0)-(256,211),200,bf
70 copy (0,212)-(32,212+32),0 to (100,100),0
80 call turbo on
90 vdp ( 7 ) = 255
100 goto 100

But can't see the graphic 32x32 in screen 8 (as screen 5-6-7!!) and this myster is not resolve 100% with CALL TURBO ON
Away, set CALL TURBO OFF, but away the problem of 32x32 HINT on screen!Question

Is use the source of command #D0 ? is ok o no ? Can't now the test, is wrong ? The graphics of screen 8 is two pages,
yes, but two block is hint 212 to 256, the size is 16384 bytes (16k !) extra for make copy 16x16 or 8x8 with 
CALL TURBO ON/OFF and use NestorBASIC with block RAM to switch and send to VRAM.Tongue

Because the new problem of 0,212 to 256,256 the COPY BASIC is not resolved, but the command #D0 is OK? Question
Bye bye
DanySoft

Aangemeld of registreer om reacties te plaatsen

Van Jipe

Paragon (1366)

afbeelding van Jipe

08-02-2012, 12:14

on msx2 vdp(9)=2 is false because bit 3 used for the size of the memory and 0 is 16k memory
use vdp(9)=vdp(9)+2
after i have owerflow in line 50 the L=11264 try with 11263 for l
for viewing the screen work added 35 vdp(24)=100
i think the copy don't work with coordonate 212 and after because the basic cut after 211
testing on turbo-r but missing line 40 and 80

Van DanySoft

Champion (432)

afbeelding van DanySoft

08-02-2012, 19:54

Ok, but you make the example source for BASIC, why can't find other solution.Question
? ? ?

See this !!
Mode SCREEN 8 : 
block 0: #0000 - #4000
block 1: #4000 - #7FFF  
block 2: #8000 - #BFFF
block 4: #C000 - #FFFF page 0 Cool

And alternative, you are make the binary with #D0 command VDP ?!?! If you have resolved, please make the example
on BASIC.
OK!!
DanySoft

Van DanySoft

Champion (432)

afbeelding van DanySoft

08-02-2012, 19:57

You make the example on BASIC to test copy from 0,192 to 256,256 to (0,0),0 !!
And this is necessary to modify / Adding soluction to my program BASIC for screen 8 !
Bye bye
DanySoft