Graphics in MSX Basic

By fuad

Supporter (6)

fuad's picture

07-05-2017, 07:39

Hi
I write Basic graphics program ..
10 screen 3 : circle (100,100) , 90 . 7
20 goto 20

haw can I save the result on disk as image file ?

Login or register to post comments

By Piter Punk

Master (224)

Piter Punk's picture

07-05-2017, 07:56

15 BSAVE "FILENAME.GRP",S

By fuad

Supporter (6)

fuad's picture

07-05-2017, 10:23

Thanks piter , sorry it is not work ..gevs me
Syntax error in 15 ... Sad

By hamlet

Scribe (4097)

hamlet's picture

07-05-2017, 12:17

IIRC BSAVE,S only works on >MSX2.

By Latok

msx guru (3866)

Latok's picture

07-05-2017, 12:39

If you want to use BSAVE instruction, you also have to give begin and end addresses of the video ram you want to save. So something like BSAVE"test.pic",&H0,&HFFFF,S

But please only BSAVE the videoram you need to save....So enter the correct addresses......

Now there will be no Syntax Error Smile

Furthermore, you could also copy a certain part of the screen to a file with COPY (xstart,ystart)-(xend,yend) to "test.pic"

By Wlcracks

Champion (470)

Wlcracks's picture

07-05-2017, 14:00

bsave,s works on msx1 with diskrom