stason.org logo lotus


previous page: 3.1) What is ADFSBuffers and what is the best setting for it?page up: ARM (Acorn Risc Machine) FAQnext page: 3.3) To what size should I partition my Hard Drive?

3.2) How do I enable solid drags in RISC OS 3?

 Books
 TULARC
















Description

This article is from the comp.sys.acorn FAQ, by Paul Vigay with numerous contributions by others.

3.2) How do I enable solid drags in RISC OS 3?

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.

 

Continue to:


Share and Enjoy

Bookmark this story so others can enjoy it:
  • digg
  • Reddit
  • del.icio.us
  • Furl
  • Wists

Tags

pc, hardware, acorn, arm, risc







TOP
previous page: 3.1) What is ADFSBuffers and what is the best setting for it?page up: ARM (Acorn Risc Machine) FAQnext page: 3.3) To what size should I partition my Hard Drive?