Difference between revisions of "MC-Basic:POKEW"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
m (Text replace - "''<value>''" to "<''value''>")
Line 14: Line 14:
 
|TYPE=
 
|TYPE=
 
''<address>'': Long<br>
 
''<address>'': Long<br>
''<value>'': Long
+
<''value''>: Long
  
 
|RANGE=
 
|RANGE=
Line 21: Line 21:
 
''<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 65535
+
<''value''>: 0 to 65535
  
 
Versions 3.1.12 and higher:<br>
 
Versions 3.1.12 and higher:<br>
Line 33: Line 33:
 
''<address>'': 0xA0000(655360) through 0xC7FFF (819199) and 0xDB000 (897024) through 0xDFFFF (917503)
 
''<address>'': 0xA0000(655360) through 0xC7FFF (819199) and 0xDB000 (897024) through 0xDFFFF (917503)
  
''<value>'': 0 to 65535
+
<''value''>: 0 to 65535
  
 
|UNITS=
 
|UNITS=

Revision as of 08:30, 17 March 2014

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

Syntax

Pokew (<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 65535

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 65535

Scope

Task or Terminal

Limitations

Write-Only

Examples

Pokew (0xc8000, 450)

See Also