Enrico B wrote:
> Hi,
>
> I don't know if this is the right place to ask this, but my problem
> is:
>
> 1) Is it possible to load an image in VRAM that is bigger than (for
> ex.) 256x212 and to show only the part I want? (or to perform a
> scroll of parts of that image).

Yes, you can load a 256x256 image in every page of the VRAM. The VDP only
shows 212 of the 256 lines.


> 2) how? (In Basic, Pascal.. or only asm?)

Er, well, the easy way is to make two 256x128 images, and then load them
into the VRAM by using:

BLOAD "image1.ge5",S
BLOAD "image2.ge5",S,&H4000

You can by the way also put this inside one big image (easier to load next
time) by using:

BSAVE "image12.ge5",0,&H7FFF,S

You can change the display offset by changing VDP register 23, for example
in Basic:

VDP(24)=44

Shows lines 44 to 255 instead of 0 to 211.


~Grauw

---
Ushiko-san! Kimi wa doushite, Ushiko-san nan da!!

_______________________________________________
MSX mailing list ([EMAIL PROTECTED])
Info page: http://lists.stack.nl/mailman/listinfo/msx

Reply via email to