spotlessmind1975 / ugbasic

An isomorphic BASIC language compiler for retrocomputers
Apache License 2.0
85 stars 14 forks source link

New instruction proposal : GR PRINT #551

Open ldir-hector opened 1 year ago

ldir-hector commented 1 year ago

The PRINT instruction of ugBasic only considers the text coordinates. With the Basic on the amstrad CPC, we can use the instruction TAG to indicate to the PRINT instruction to put the characters printed at the exact graphics coordinate with the exact number of pixels shift on both directions. Of course with this instruction, if the string goes beyond the screen limit, it doesn't display on the line below at the left of the screen, it's just hidden. To remove this mode we had the instruction TAGOFF.

To be consistent with ugBasic syntax, I think that a new instruction GR PRINT using the graphical coordinates would be very practical and usefull.

spotlessmind1975 commented 1 month ago

This feature has been promoted to the TSB Project. Related to #891 and #817 .