・When this command is executed, the display attributes of characters displayed in PRINT, TPRINT, INPUT, etc. will change.
Text screen ID to specify character display attributes: 0 to 4
・4 is the default.
・Invert the displayed character left and right with 1.
・No inversion at 0.
・Invert the displayed characters up and down with 1.
・No inversion at 0.
・Rotate 0, 90, 180, and 270 degrees with 0, 1, 2, and 3, respectively.
・Set the horizontal flip, vertical flip, and rotation as a bit value.
b00 | ↑ Rotation by 90 degrees (specified by 2 bits of b00 and b01) |
b01 | ↓ |
b02 | Horizontal Flip (0=OFF, 1=ON) |
b03 | Vertical Flip (0=OFF, 1=ON) |
ATTR 0,0,1:PRINT "ABC" ATTR 2,8:TPRINT 2,"XYZ"
ID of the text screen that acquires the character display attribute: 0 to 4
・4 is the default.
・Invert the displayed character left and right with 1.
・No inversion at 0.
・Invert the displayed characters up and down with 1.
・No inversion at 0.
・Rotate 0, 90, 180, and 270 degrees with 0, 1, 2, and 3, respectively.
・Get the horizontal flip, vertical flip, and rotation as a bit value.
b00 | ↑ Rotation by 90 degrees (specified by 2 bits of b00 and b01) |
b01 | ↓ |
b02 | Horizontal Flip (0=OFF, 1=ON) |
b03 | Vertical Flip (0=OFF, 1=ON) |
ATTR OUT HREV,VREV,ROT A2=ATTR(2)