Displaying text in graphical mode

Door yevrowl

Supporter (2)

afbeelding van yevrowl

05-03-2023, 23:06

Greetings!
In Q(uick)Basic, LOCATE displays text in any screen modes. But in MSX1 on SCREEN 2 the text is not visible...
Is it possible to display text in graphics modes?

Aangemeld of registreer om reacties te plaatsen

Van Pencioner

Scribe (1611)

afbeelding van Pencioner

05-03-2023, 23:21

Possible. You should use special pseudo-device called "GRP:", which would do the job of rendering text in graphics modes. Do not have an example handy, but i guess it is searchable

Van Jipe

Paragon (1625)

afbeelding van Jipe

06-03-2023, 08:30

exemple
10 SCREEN 2
20 OPEN"GRP:"FOROUTPUTAS#1
30 PRESET(100,100):COLOR15: PRINT#1,"Text in SCREEN 2"
50 PRESET(100,120):COLOR12: PRINT#1,"Text in SCREEN 2"
100 GOTO 100