Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I enable solid drags in RISC OS 3?

drags enable OS RISC solid
0
Posted

How do I enable solid drags in RISC OS 3?

0

Solid drags are controlled by bit 1 in byte 28 of the CMOS RAM. Setting this bit enables solid drags on all solid drag ‘aware’ applications. However setting this bit using a *FX command from the command line is a foolish way to do it, as this will unset/set the other 7 bits in that byte which have meaning to FileSwitch and the Wimp. Accordingly the recommended way to set this bit is using a program like this BASIC one enclosed below :- REM Toggle state of DragASprite bit in CMOS REM Read byte SYS “OS_Byte”,161,&1C TO ,,byte% REM EOR byte with mask for bit 1 byte% = byte% EOR %10 REM Write byte back again SYS “OS_Byte”,162,&1C,byte% END Which safely sets bit 1 while preserving the settings of the other bits.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.