This Technical Note documents some bits in the ADB SendInfo data byte for setModes and clearModes.
SendInfo is documented in Volume 1 of Apple IIgs Toolbox Reference, but it doesn't tell you what any of the bits in the setModes/clearModes data byte are for. Well, here are the useful ones:
For example, to turn off keyboard buffering without altering the user's Battery RAM, you can do the following:
pea 1 ;number of data bytes pushlong #modesToClear ;pointer to data byte pea 5 ;modeCmd = clearModes _SendInfo ... modesToClear dc.b $10 ;bit 4 = keyboard buffering
Note that the user's control panel setting will become current again if they hit Command-Ctrl-Esc (the system calls the TOBRAMSETUP vector at $E10094 to update the system from Battery RAM).
This and all of the other Apple II Technical Notes have been converted to HTML by Aaron Heiss as a public service to the Apple II community, with permission by Apple Computer, Inc. Any and all trademarks, registered and otherwise, are properties of their owners.