sandmann999
Programmer
Someone was telling me that it is possible to put two or more pictures into one BSAVE file using the offset feature.
However, with some playing around with this, I couldn't get it to work. Does anyone know how to do it?
This is what I was trying
SCREEN 13
DIM pic%(500)
DIM pic2%(500)
'(code for GETting pictures here, putting one picture
'into pic% and the other picture into pic2%)
DEF SEG = VARSEG(pic%(0))
BSAVE "test.pic", 0
DEF SEG = VARSEG(pic2%(0))
BSAVE "test.pic", 500
'Then to load the pictures:
DEF SEG = VARSEG(pic%(0))
BLOAD "test.pic", 0
DEF SEG = VARSEG(pic2%(0))
BLOAD "test.pic", 500
PUT (10,10),pic%
PUT (100,100),pic2%
I kept getting errors, and I'm not sure what to do differently. If someone could guide me in the right direction, I would appreciate it. Thanks!
However, with some playing around with this, I couldn't get it to work. Does anyone know how to do it?
This is what I was trying
SCREEN 13
DIM pic%(500)
DIM pic2%(500)
'(code for GETting pictures here, putting one picture
'into pic% and the other picture into pic2%)
DEF SEG = VARSEG(pic%(0))
BSAVE "test.pic", 0
DEF SEG = VARSEG(pic2%(0))
BSAVE "test.pic", 500
'Then to load the pictures:
DEF SEG = VARSEG(pic%(0))
BLOAD "test.pic", 0
DEF SEG = VARSEG(pic2%(0))
BLOAD "test.pic", 500
PUT (10,10),pic%
PUT (100,100),pic2%
I kept getting errors, and I'm not sure what to do differently. If someone could guide me in the right direction, I would appreciate it. Thanks!