Difference between revisions of "MC-Basic:POKEB"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<address>, <value>''" to "<''address''>, <''value''>")
 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:
  
 
|TYPE=
 
|TYPE=
''<address>'': Long<br>
+
<''address''>: Long<br>
 
<''value''>: Long
 
<''value''>: Long
  
Line 19: Line 19:
 
Versions prior to 3.1.12
 
Versions prior to 3.1.12
  
''<address>'': 0xA0000 (655360) through 0xCFFFF (851967) and 0xDA000 (892928) through 0xDFFFF (917503)
+
<''address''>: 0xA0000 (655360) through 0xCFFFF (851967) and 0xDA000 (892928) through 0xDFFFF (917503)
  
 
<''value''>: 0 to 255
 
<''value''>: 0 to 255
Line 27: Line 27:
 
When using the ISA MC card:
 
When using the ISA MC card:
  
''<address>'': 0xA0000 (655360) through 0xCFFFF (851967) and 0xDA000 (892928) through 0xDFFFF (917503)
+
<''address''>: 0xA0000 (655360) through 0xCFFFF (851967) and 0xDA000 (892928) through 0xDFFFF (917503)
  
 
When using the PCI MC card:
 
When using the PCI MC card:
Line 45: Line 45:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write-Only
+
Write only
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 51: Line 51:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:POKEW|POKEW]]
+
* [[MC-Basic:POKEW|POKEW]]
  
  
 
}}
 
}}

Latest revision as of 08:39, 22 May 2014

This command writes the specified value to the specified byte address in memory.

Syntax

Pokeb (<address>, <value>)

Availability

All versions

Type

<address>: Long
<value>: Long

Range

Versions prior to 3.1.12

<address>: 0xA0000 (655360) through 0xCFFFF (851967) and 0xDA000 (892928) through 0xDFFFF (917503)

<value>: 0 to 255

Versions 3.1.12 and higher:

When using the ISA MC card:

<address>: 0xA0000 (655360) through 0xCFFFF (851967) and 0xDA000 (892928) through 0xDFFFF (917503)

When using the PCI MC card:

<address>: 0xA0000(655360) through 0xC7FFF (819199) and 0xDB000 (897024) through 0xDFFFF (917503)

<value>: 0 to 255

Scope

Task or Terminal

Limitations

Write only

Examples

Pokeb (0xc8000, 255)

See Also