<?xml version="1.0" encoding="UTF-8" ?>
<!-- RSS generated by PHPBoost on Sun, 05 Apr 2026 01:21:57 +0200 -->

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Wiki MSX Village]]></title>
		<atom:link href="https://msxvillage.fr/syndication/rss/wiki/23" rel="self" type="application/rss+xml"/>
		<link>https://msxvillage.fr</link>
		<description><![CDATA[Derniers articles de la catégorie V]]></description>
		<copyright>(C) 2005-2026 PHPBoost</copyright>
		<language>fr</language>
		<generator>PHPBoost</generator>
		
		
		<item>
			<title><![CDATA[VAL]]></title>
			<link>https://msxvillage.fr/wiki/val</link>
			<guid>https://msxvillage.fr/wiki/val</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">VAL</span></strong></legend><div class="formatter-content">Fonction qui permet de retourner la valeur numérique d'une chaîne de caractères.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/val">VAL</a> (chaîne de caractères)</td>
     </tr>
</table><br />
<br />
Pour que la fonction soit effective, il faut que la chaîne possède bien un contenu numérique. Elle doit donc commencer par +, -, & ou un chiffre. Sinon, elle renvoie 0.<br />
Si la chaîne commence par un chiffre et qu'elle est suivie de caractères, la fonction prendra comme valeur le premier nombre rencontré.<br />
<br />
Le résultat renvoyé sera un nombre en double précision.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">10 <a href="https://msxvillage.fr/wiki/print">PRINT</a> <a href="https://msxvillage.fr/wiki/val">VAL</a> (« -12 »)<br />
                               20 <a href="https://msxvillage.fr/wiki/print">PRINT</a> <a href="https://msxvillage.fr/wiki/val">VAL</a> (« &HE321 »)<br />
                               30 <a href="https://msxvillage.fr/wiki/print">PRINT</a> <a href="https://msxvillage.fr/wiki/val">VAL</a> (« 8 bits pour un octet  »)<br />
                               40 <a href="https://msxvillage.fr/wiki/end">END</a></td>
     </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
                      <td class="formatter-table-col">Le programme affichera les valeurs trouvées dans les chaînes : -12, -7391 et 8.</td>
    </tr>
</table><br />
<br />
</div></fieldset>]]></description>
			<pubDate>Wed, 28 Oct 2009 11:49:44 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[VPEEK]]></title>
			<link>https://msxvillage.fr/wiki/vpeek</link>
			<guid>https://msxvillage.fr/wiki/vpeek</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">VPEEK</span></strong></legend><div class="formatter-content">Fonction qui renvoie le contenu d'une adresse de la mémoire vidéo (VRAM).<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/vpeek">VPEEK</a> (adresse)</td>
     </tr>
</table><br />
<br />
L'adresse est définie sur 2 octets (de -32768 à 65535).<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">10 <a href="https://msxvillage.fr/wiki/vpoke">VPOKE</a> 0,65<br />
                        20 <a href="https://msxvillage.fr/wiki/print">PRINT</a> <a href="https://msxvillage.fr/wiki/vpeek">VPEEK</a>(0)<br />
                        30 <a href="https://msxvillage.fr/wiki/end">END</a></td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">La valeur 65, contenu de l'adresse 0 de la VRAM, sera affichée à l'écran.</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque :</h3><br />
<br />
La structure de la VRAM dépend du mode d'affichage employé. Pour l'exemple utilisé, on est en <a href="https://msxvillage.fr/wiki/screen">SCREEN</a> 0, le résultat serait différent pour un autre mode d'affichage.<br />
<br />
L'utilisation de cette fonction est très similaire à la fonction <a href="https://msxvillage.fr/wiki/peek">PEEK</a>.<br />
<br />
</div></fieldset><br />
<br />
<br />]]></description>
			<pubDate>Mon, 26 Oct 2009 10:40:08 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[VPOKE]]></title>
			<link>https://msxvillage.fr/wiki/vpoke</link>
			<guid>https://msxvillage.fr/wiki/vpoke</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">VPOKE</span></strong></legend><div class="formatter-content">Instruction qui permet d'écrire une donnée dans la mémoire vidéo (VRAM).<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/vpoke">VPOKE</a> adresse, donnée</td>
     </tr>
</table><br />
<br />
La donnée envoyée par <a href="https://msxvillage.fr/wiki/vpoke">VPOKE</a> doit tenir au maximum sur un octet (de 0 à 255).<br />
L'adresse quant à elle est définie sur 2 octets (de -32768 à 65535).<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/vpoke">VPOKE</a> 0,65</td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Un A sera affiché dans le coin supérieur gauche de l'écran.</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque :</h3><br />
<br />
La structure de la VRAM dépend du mode d'affichage employé. Pour l'exemple utilisé, on est en <a href="https://msxvillage.fr/wiki/screen">SCREEN</a> 0, le résultat serait différent pour un autre mode d'affichage.<br />
<br />
L'utilisation de cette instruction est très similaire à celui de <a href="https://msxvillage.fr/wiki/poke">POKE</a>.<br />
<br />
</div></fieldset>]]></description>
			<pubDate>Mon, 26 Oct 2009 10:31:06 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[V]]></title>
			<link>https://msxvillage.fr/wiki/v</link>
			<guid>https://msxvillage.fr/wiki/v</guid>
			<description><![CDATA[Liste des instructions commençant par V :]]></description>
			<pubDate>Tue, 20 Oct 2009 11:01:36 +0200</pubDate>
			
		</item>
		
	</channel>
</rss>
