Difference between revisions of "Flags Template"

From WikiTI
Jump to: navigation, search
(fixed multi-category)
(changed the categories bit)
Line 3: Line 3:
 
The Flags are named by IY offset, in hexadecimal. An example is [[83Plus:Flags:2A]].
 
The Flags are named by IY offset, in hexadecimal. An example is [[83Plus:Flags:2A]].
  
When putting Flags into categories, you have a lot of work to do. You have to put the entire byte into the By Address group, and then the page into different By Name entries based on each byte. For example, this page would need the following Category code:
+
<!-- well this doesn't work, maybe we can hack it so it does
 +
When putting Flags into categories, you have a lot of work to do. You have to put the entire byte into the By Address group, and then the page into different By Name entries based on each bit. For example, this page would need the following Category code:
 
  <nowiki>[[Category:83Plus:Flags:By Address|01]]
 
  <nowiki>[[Category:83Plus:Flags:By Address|01]]
 
[[Category:83Plus:Flags:By Name|onFlags, fontFlags]]</nowiki>
 
[[Category:83Plus:Flags:By Name|onFlags, fontFlags]]</nowiki>
 
Yes, it's complicated, but the easiest/best way we (at least I) can think of.
 
Yes, it's complicated, but the easiest/best way we (at least I) can think of.
 +
-->
 +
When you put a Flag into categories, you have to make some choices. The By Address part is easy, but for By Name, you can only have one entry. Put the name with the most bits first, then list the other ones too, even though the won't be in order. For example:
 +
<nowiki>[[Category:83Plus:Flags:By Address|01]]
 +
[[Category:83Plus:Flags:By Name|onFlags, fontFlags]]</nowiki>
 +
It's not pretty, but it works.
  
 
----
 
----

Revision as of 23:13, 13 May 2005

Note: Do not take the information on this template page as actual documentation!

The Flags are named by IY offset, in hexadecimal. An example is 83Plus:Flags:2A.

When you put a Flag into categories, you have to make some choices. The By Address part is easy, but for By Name, you can only have one entry. Put the name with the most bits first, then list the other ones too, even though the won't be in order. For example:

[[Category:83Plus:Flags:By Address|01]]
[[Category:83Plus:Flags:By Name|onFlags, fontFlags]]

It's not pretty, but it works.


Synopsis

Flag Byte: 01h

Known Names: onFlags, someOtherFlagGroup

Bit Overview

Bit 0

This bit does nothing.

Bit 1

Official Name: useLargeFont

This bit controls what font VPutMap uses. Set for large font, reset for small.

Bit 2

Official Name: onInterrupt

This flag is set if the ON key was pressed. You must manually reset it.

Bit 3

This bit does nothing.

Bit 4

This bit does nothing.

Bit 5

This bit does nothing.

Bit 6

This bit does nothing.

Bit 7

This bit does nothing.

Credits and Contributions

  • /sbin/init: Without you, none of this would be possible. :)