CALL FILVRM
This page was last modified 21:19, 3 June 2018 by Mars2000you.

Contents

Effect

Clears the entire VRAM, also the normally not visible part.

It's especially useful on MSX2/2+ bitmap screens to make a clean vertical scroll with 2 pictures loaded on two different pages of these screens.

Syntax

CALL FILVRM

Examples

10 BLOAD"FORTUIN.BIN",R
20 SL=PEEK(&HF342):POKE &HFCC9+(SL AND 3)*16+(SL AND 12)+1,32
30 SCREEN 2:COLOR 15,0,0: CLS
40 BLOAD"HEINEKEN.SCR",S
50 A$=INPUT$(1)
60 _FILVRM
70 A$=INPUT$(1)
80 BLOAD"MAIDEN.SCR",S
90 GOTO 90
10 BLOAD"FORTUIN.BIN",R
20 SL=PEEK(&HF342):POKE &HFCC9+(SL AND 3)*16+(SL AND 12)+1,32
30 SCREEN 8:_DISSCR:COLOR 255,0,0:CLS 
40 SET PAGE 0,0:_FILVRM:BLOAD"FORTUIN1.PIC",S
50 SET PAGE 1,1:BLOAD"FORTUIN2.PIC",S
60 _ENASCR:_INTRO
70 GOTO 70

Related to

CALL INTRO

Compatibility

Fortuin BASIC