<td valign="top" nowrap="nowrap"><a href="posting.php?mode=quote&p=49"><img src="templates/subSilver/images/lang_french/icon_quote.gif" alt="RΘpondre en citant" title="RΘpondre en citant" border="0" /></a> </td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">Compete for the Gold Medal. I enjoy that game, it has many interesting features such as a smooth scroll on the intro page and the protection was interesting too... This is my second crack of that game, the first one had been done in 1991.
The read routine located at $9000 requires the following information on ZPage:
<br />
$0B : slot * 16
<br />
$0C : the target phase (track number * 2)
<br />
$0D : sector
<br />
$0E : current phase (track * 2)
<br />
$03 : number of 256-byte page to load into memory
<br />
$07..$08 : address to load data
<br />
<br />
<span style="font-weight: bold">THE METHOD</span>
<br />
I boot a DOS 3.3 diskette (the objective is to get a standard RWTS) then I rely on the original read routines to copy a disk, therefore:
<br />
- on drive 1, I put the original game,
<br />
- on drive 2, my blank DOS 3.3 volume 254 diskette
<br />
Then,
<br />
- 4600<C600.C6FFM,
<br />
- 46FB:A9 59 8D 27 08 A9 FF 8D 28 08 4C 01 08
<br />
- 4600G
<br />
Now,
<br />
- you have the read routine in $9000, re-use it <img src="images/smiles/icon_wink.gif" alt="Wink" border="0" />
<br />
- what I have done in a short program in $0300 to read one track from drive 1 and copy the data read in $4000 to the same track on drive 2.
<br />
<br />
<span style="font-weight: bold">ARRANGE THE DISK STRUCTURE</span>
<br />
As I do not master the low-level disk read routines, I have put a standard RWTS on track 0 and I have copied the original track 0 data to sector F of track 0 to track 8 <img src="images/smiles/icon_wink.gif" alt="Wink" border="0" /> A smart person would have rewritten the read routine...
<br />
For those who are curious, the original read routine is on T7/SE, my modified read routine is on T7/SF.
<br />
<br />
<span style="font-weight: bold">THE NEW READ ROUTINE</span>
<br />
You now have to rewrite the read routine at $9000. Please note that you need to keep the different wait routines in $91xx as they are used during the game.
<br />
Please refer to track 7, sector F to display the new read routine that uses the RWTS to load sectors into memory. Please note that the RTS opcode in $902C must remain as it is called during the event loading phases.
<br />
<br />
<span style="font-weight: bold">COMMENTS</span>
<br />
- That was an interesting crack to do <img src="images/smiles/icon_wink.gif" alt="Wink" border="0" />
<br />
- If you press * at the beginning of the introduction page, you are led to a disk backup routine. That is nice!
<br />
- It seems that pressing SWT (Timothy W. Smith) sometime during the introduction page goes to the monitor <img src="images/smiles/icon_wink.gif" alt="Wink" border="0" />
<br />
- Sector editing is an interesting task to do as source code parts remain...
<br />
<br />
Toinet
<br />
<br />
15/AUG/2007: 4600<4600.46FFM has been corrected.</span><span class="gensmall"></span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="row1" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">Revenir en haut de page</a></span></td>
<td valign="middle" nowrap="nowrap"><a href="profile.php?mode=viewprofile&u=4"><img src="templates/subSilver/images/lang_french/icon_profile.gif" alt="Voir le profil de l'utilisateur" title="Voir le profil de l'utilisateur" border="0" /></a> <a href="privmsg.php?mode=post&u=4"><img src="templates/subSilver/images/lang_french/icon_pm.gif" alt="Envoyer un message privΘ" title="Envoyer un message privΘ" border="0" /></a> <a href="http://www.oss117.org/" target="_userwww"><img src="templates/subSilver/images/lang_french/icon_www.gif" alt="Visiter le site web de l'utilisateur" title="Visiter le site web de l'utilisateur" border="0" /></a> <script language="JavaScript" type="text/javascript"><!--
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">Toutes les heures sont au format GMT + 1 Heure</span><br /><span class="nav"></span>
</td>
</tr>
<tr>
<td align="left" colspan="3"><span class="nav">Page <b>1</b> sur <b>1</b></span></td>
<td nowrap="nowrap"><span class="gensmall">Sauter vers: <select name="f" onchange="if(this.options[this.selectedIndex].value != -1){ forms['jumpbox'].submit() }"><option value="-1">SΘlectionner un forum</option><option value="-1"> </option><option value="-1">GENERALITES</option><option value="-1">----------------</option><option value="1">REGLES DE BASE DU FORUM</option><option value="2">PRESENTATION DES MEMBRES</option><option value="3">FAQ</option><option value="24">LES VENDEURS DE Q et assimilΘs...</option><option value="-1"> </option><option value="-1">La ligne des APPLE II</option><option value="-1">----------------</option><option value="4">APPLE II et II+</option><option value="5">APPLE IIe</option><option value="6">APPLE IIc et IIc Plus</option><option value="7">APPLE IIGS</option><option value="8">ITT2020</option><option value="9">BELL & HOWELL</option><option value="-1"> </option><option value="-1">ON AIME AUSSI...</option><option value="-1">----------------</option><option value="25">APPLE I</option><option value="10">APPLE /// et ///Plus</option><option value="11">LISA 1, 2, 2/5, 2/10 et ... XL</option><option value="-1"> </option><option value="-1">LOGICIELS</option><option value="-1">----------------</option><option value="12">PROBLEMES DIVERS</option><option value="13"selected="selected">PROTECTION MALEFIQUE</option><option value="23">EMULATION</option><option value="-1"> </option><option value="-1">LES CARTES ET PERIPHERIQUES</option><option value="-1">----------------</option><option value="14">CARTES COPROCESSEUR</option><option value="15">CARTES MEMOIRE</option><option value="16">CARTES POUR DISQUES</option><option value="17">AUTRES CARTES</option><option value="18">PERIPHERIQUES</option><option value="-1"> </option><option value="-1">EN VRAC ET DIVERS</option><option value="-1">----------------</option><option value="19">Recherches techniques (hard ou soft)</option><option value="20">ACHATS,VENTES ET/OU ECHANGES</option><option value="21">DIVERS...MAIS TOUJOURS EN RELATION AVEC APPLE!</option><option value="22">LES PETITS MAUDITS A EVITER</option></select><input type="hidden" name="sid" value="88dc291636b558c274916ca04b217a32" /> <input type="submit" value="Aller" class="liteoption" /></span></td>
</tr>
</table></form>
<span class="gensmall">Vous <b>ne pouvez pas</b> poster de nouveaux sujets dans ce forum<br />Vous <b>ne pouvez pas</b> rΘpondre aux sujets dans ce forum<br />Vous <b>ne pouvez pas</b> Θditer vos messages dans ce forum<br />Vous <b>ne pouvez pas</b> supprimer vos messages dans ce forum<br />Vous <b>ne pouvez pas</b> voter dans les sondages de ce forum<br /></span></td>