<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://wiki.nox-rhea.org/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Nox-Rhea WiKi - back2root:reverse-engineering:planet-x3</title>
        <description></description>
        <link>http://wiki.nox-rhea.org/</link>
        <lastBuildDate>Sat, 02 May 2026 07:14:13 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>http://wiki.nox-rhea.org/_media/wiki/dokuwiki.svg</url>
            <title>Nox-Rhea WiKi</title>
            <link>http://wiki.nox-rhea.org/</link>
        </image>
        <item>
            <title>footer</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/footer?rev=1673124076&amp;do=diff</link>
            <description>Liste des pages


	* Partially revealed early code
	* Planet X3 - Format of &quot;savegame.dat&quot;
	* Planet X3 - Part 1 - Exploration
	* Planet X3 - Part 2 - Loader
	* Planet X3 - Part 4 - Audio Engine - WIP
	* Planet X3 - Part 4 - Memory Map
	* WIP - Planet X3 - Analyse</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 07 Jan 2023 20:41:16 +0000</pubDate>
        </item>
        <item>
            <title>memory-map</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/memory-map?rev=1673810280&amp;do=diff</link>
            <description>Planet X3 - Part 4 - Memory Map




main:	CALL		Timer_Setup_CustomHandler	; Timer_Setup_CustomHandler

	MOV 		word ptr [g_Seg_Data],DS 	; preserve DS Segment

	MOV 		AX,DS	
	ADD 		AX,0x1000                	; Allocate map Segment (at +0x1000) 
	MOV 		[g_Seg_GameMap],AX	
	MOV 		CX,0x8000                	; map Segment 32Kb
	CALL		mem_clear                	; clear map Memory segment

	SHR 		CX,0x1	
	SHR 		CX,0x1	
	SHR 		CX,0x1	
	SHR 		CX,0x1                   	; CX = CX [0x8000] div 16 = 0x800
	ADD …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 15 Jan 2023 19:18:00 +0000</pubDate>
        </item>
        <item>
            <title>part1-exploration</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/part1-exploration?rev=1673710869&amp;do=diff</link>
            <description>Planet X3 - Part 1 - Exploration

Planet X3 est disponible sous 3 “distributions”:

	*  Digital
	*  Boxed floppy 3“1/4 (720Ko)
	*  Boxed floppy 5”1/2 (350Ko)

Dans cette analyse, nous allons nous concentrer sur la version 3“1/4 de Aout 2020, version qui offre le choix dans plusieurs carte video (CGA, EGA, VGA).</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 14 Jan 2023 15:41:09 +0000</pubDate>
        </item>
        <item>
            <title>part1-loader</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/part1-loader?rev=1673888074&amp;do=diff</link>
            <description>Planet X3 - Part 2 - Loader

Ce programme charge et execute le “bon” module de jeu suivant la carte graphique détectée.

Description

Ce loader (très simple, il n&#039;y a aucun “CALL”) effectue les opérations suivantes:

	*  construit 2 FCB simplifiés.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 16 Jan 2023 16:54:34 +0000</pubDate>
        </item>
        <item>
            <title>part2-1-vga</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/part2-1-vga?rev=1673213781&amp;do=diff</link>
            <description>WIP - Planet X3 - Analyse

Compression :

All executable files of notable size have been compressed with UPX and have to be de-compressed before they can be modified in any meaningful way.

As of this version, the output port for Tandy sound is hard-coded in a word variable rather than in the code itself. If you have an ISA card that provides Tandy sound capabilities at a different output port, you
only have to find and change the correct C0 00 word.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 08 Jan 2023 21:36:21 +0000</pubDate>
        </item>
        <item>
            <title>part2-savegame_dat</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/part2-savegame_dat?rev=1673942842&amp;do=diff</link>
            <description>Planet X3 - Format of &quot;savegame.dat&quot;

Ce fichier est un “dump mémoire” du jeu, il n&#039;est pas compressé ni crypté; on y retrouve la meme structure que dans le code source.

Le fichier est composé de 3 “blocs” de données:

	*  1  de 32 Kb (0x8000 bytes) avec la carte en cours&lt;a id=&quot;blockmap&quot;&gt;&lt;/a&gt;&lt;a id=&quot;blockunit&quot;&gt;&lt;/a&gt;&lt;a id=&quot;blocktimer&quot;&gt;&lt;/a&gt;&lt;a id=&quot;tileset&quot;&gt;&lt;/a&gt;&lt;a id=&quot;unit&quot;&gt;&lt;/a&gt;&lt;a id=&quot;batiment&quot;&gt;&lt;/a&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 17 Jan 2023 08:07:22 +0000</pubDate>
        </item>
        <item>
            <title>part3-partial-reveal-code</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/part3-partial-reveal-code?rev=1673943090&amp;do=diff</link>
            <description>Partially revealed early code

Lors de sa video Planet X3 Status Update - Part 3, David, The8bitGuy, a présenter une petite partie du code du jeu; j&#039;ai reproduit ici cette partie :


[snip]
	JE	&gt;L3
	CALL	Draw_Unit_Working
	RET
	
L3:	MOV	AL,Unit_Type[SI]
	CMP	AL,1			; builder
	JNE	&gt;L5
	CALL	Draw_Status_Builder
	RET
	
L5:	CMP	AL,22			; power station
	JNE	&gt;L6
	CALL	Draw_Status_Power_Station
	RET
	
L6:	CMP	AL,23			; Solar Panel
	JNE	&gt;L7
	CALL	Draw_Status_Solar_Panel
	RET
	
L7:	CMP	AL,26			; Missile …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 17 Jan 2023 08:11:30 +0000</pubDate>
        </item>
        <item>
            <title>part4-audio-engine</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/part4-audio-engine?rev=1676497882&amp;do=diff</link>
            <description>Planet X3 - Part 4 - Audio Engine - WIP

Planet X3 utilise un segment spécifique pour la gestion sonore (via le speaker) et musicale.
  Offset    Taille      Infos                           Description                                 0x0000    word      &lt;a id=&quot;voicestruct&quot;&gt;&lt;/a&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 15 Feb 2023 21:51:22 +0000</pubDate>
        </item>
        <item>
            <title>start</title>
            <link>http://wiki.nox-rhea.org/back2root/reverse-engineering/planet-x3/start?rev=1704182996&amp;do=diff</link>
            <description>Planet X3

En novembre 2017, David Murray (AKA the8bitguy, Youtube) proposait Planet-X2, le “premier &#039;jeu de stratégie en temps réel&#039; pour le Commodore 64” (toujours en vente sur le site de www.the8bitguy.com).

Moins d&#039;un an après en mai 2018, David propose de créer une version MS-DOS, et cela via un kickstarter demandant 30K$</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 02 Jan 2024 08:09:56 +0000</pubDate>
        </item>
    </channel>
</rss>
