home *** CD-ROM | disk | FTP | other *** search
/ hackzapple.com / www.hackzapple.com.tar / www.hackzapple.com / phpBB2 / viewtopic.php?t=56&highlight=.orig < prev    next >
Text File  |  2010-10-06  |  30KB  |  680 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html dir="LTR">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  5. <meta http-equiv="Content-Style-Type" content="text/css">
  6.  
  7. <link rel="top" href="./index.php" title=" Index du Forum" />
  8. <link rel="search" href="./search.php" title="Rechercher" />
  9. <link rel="help" href="./faq.php" title="FAQ" />
  10. <link rel="author" href="./memberlist.php" title="Liste des Membres" />
  11. <link rel="prev" href="viewtopic.php?t=56&view=previous" title="Voir le sujet prΘcΘdent" />
  12. <link rel="next" href="viewtopic.php?t=56&view=next" title="Voir le sujet suivant" />
  13. <link rel="up" href="viewforum.php?f=13" title="PROTECTION MALEFIQUE" />
  14. <link rel="chapter forum" href="viewforum.php?f=1" title="REGLES DE BASE DU FORUM" />
  15. <link rel="chapter forum" href="viewforum.php?f=2" title="PRESENTATION DES MEMBRES" />
  16. <link rel="chapter forum" href="viewforum.php?f=3" title="FAQ" />
  17. <link rel="chapter forum" href="viewforum.php?f=24" title="LES VENDEURS DE Q et assimilΘs..." />
  18. <link rel="chapter forum" href="viewforum.php?f=4" title="APPLE II et II+" />
  19. <link rel="chapter forum" href="viewforum.php?f=5" title="APPLE IIe" />
  20. <link rel="chapter forum" href="viewforum.php?f=6" title="APPLE IIc et IIc Plus" />
  21. <link rel="chapter forum" href="viewforum.php?f=7" title="APPLE IIGS" />
  22. <link rel="chapter forum" href="viewforum.php?f=8" title="ITT2020" />
  23. <link rel="chapter forum" href="viewforum.php?f=9" title="BELL & HOWELL" />
  24. <link rel="chapter forum" href="viewforum.php?f=25" title="APPLE I" />
  25. <link rel="chapter forum" href="viewforum.php?f=10" title="APPLE /// et ///Plus" />
  26. <link rel="chapter forum" href="viewforum.php?f=11" title="LISA 1,  2, 2/5,  2/10 et ... XL" />
  27. <link rel="chapter forum" href="viewforum.php?f=12" title="PROBLEMES DIVERS" />
  28. <link rel="chapter forum" href="viewforum.php?f=13" title="PROTECTION MALEFIQUE" />
  29. <link rel="chapter forum" href="viewforum.php?f=23" title="EMULATION" />
  30. <link rel="chapter forum" href="viewforum.php?f=14" title="CARTES COPROCESSEUR" />
  31. <link rel="chapter forum" href="viewforum.php?f=15" title="CARTES MEMOIRE" />
  32. <link rel="chapter forum" href="viewforum.php?f=16" title="CARTES POUR DISQUES" />
  33. <link rel="chapter forum" href="viewforum.php?f=17" title="AUTRES CARTES" />
  34. <link rel="chapter forum" href="viewforum.php?f=18" title="PERIPHERIQUES" />
  35. <link rel="chapter forum" href="viewforum.php?f=19" title="Recherches techniques (hard ou soft)" />
  36. <link rel="chapter forum" href="viewforum.php?f=20" title="ACHATS,VENTES ET/OU ECHANGES" />
  37. <link rel="chapter forum" href="viewforum.php?f=21" title="DIVERS...MAIS TOUJOURS EN RELATION AVEC APPLE!" />
  38. <link rel="chapter forum" href="viewforum.php?f=22" title="LES PETITS MAUDITS A EVITER" />
  39.  
  40. <title> :: Voir le sujet - Joust (Atari, 1983)</title>
  41. <!-- link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" -->
  42. <style type="text/css">
  43. <!--
  44. /*
  45.   The original subSilver Theme for phpBB version 2+
  46.   Created by subBlue design
  47.   http://www.subBlue.com
  48.  
  49.   NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  50.   theme administration centre. When you have finalised your style you could cut the final CSS code
  51.   and place it in an external file, deleting this section to save bandwidth.
  52. */
  53.  
  54. /* General page style. The scroll bar colours only visible in IE5.5+ */
  55. body {
  56.     background-color: #E5E5E5;
  57.     scrollbar-face-color: #DEE3E7;
  58.     scrollbar-highlight-color: #FFFFFF;
  59.     scrollbar-shadow-color: #DEE3E7;
  60.     scrollbar-3dlight-color: #D1D7DC;
  61.     scrollbar-arrow-color:  #006699;
  62.     scrollbar-track-color: #EFEFEF;
  63.     scrollbar-darkshadow-color: #98AAB1;
  64. }
  65.  
  66. /* General font families for common tags */
  67. font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
  68. a:link,a:active,a:visited { color : #006699; }
  69. a:hover        { text-decoration: underline; color : #DD6900; }
  70. hr    { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
  71.  
  72. /* This is the border line & background colour round the entire page */
  73. .bodyline    { background-color: #FFFFFF; border: 1px #98AAB1 solid; }
  74.  
  75. /* This is the outline round the main forum tables */
  76. .forumline    { background-color: #FFFFFF; border: 2px #006699 solid; }
  77.  
  78. /* Main table cell colours and backgrounds */
  79. td.row1    { background-color: #EFEFEF; }
  80. td.row2    { background-color: #DEE3E7; }
  81. td.row3    { background-color: #D1D7DC; }
  82.  
  83. /*
  84.   This is for the table cell above the Topics, Post & Last posts on the index.php page
  85.   By default this is the fading out gradiated silver background.
  86.   However, you could replace this with a bitmap specific for each forum
  87. */
  88. td.rowpic {
  89.         background-color: #FFFFFF;
  90.         background-image: url(templates/subSilver/images/cellpic2.jpg);
  91.         background-repeat: repeat-y;
  92. }
  93.  
  94. /* Header cells - the blue and silver gradient backgrounds */
  95. th    {
  96.     color: #FFA34F; font-size: 11px; font-weight : bold;
  97.     background-color: #006699; height: 25px;
  98.     background-image: url(templates/subSilver/images/cellpic3.gif);
  99. }
  100.  
  101. td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
  102.             background-image: url(templates/subSilver/images/cellpic1.gif);
  103.             background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px;
  104. }
  105.  
  106. /*
  107.   Setting additional nice inner borders for the main table cells.
  108.   The names indicate which sides the border will be on.
  109.   Don't worry if you don't understand this, just ignore it :-)
  110. */
  111. td.cat,td.catHead,td.catBottom {
  112.     height: 29px;
  113.     border-width: 0px 0px 0px 0px;
  114. }
  115. th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
  116.     font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px;
  117. }
  118. td.row3Right,td.spaceRow {
  119.     background-color: #D1D7DC; border: #FFFFFF; border-style: solid;
  120. }
  121.  
  122. th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
  123. th.thSides,td.catSides,td.spaceRow     { border-width: 0px 1px 0px 1px; }
  124. th.thRight,td.catRight,td.row3Right     { border-width: 0px 1px 0px 0px; }
  125. th.thLeft,td.catLeft      { border-width: 0px 0px 0px 1px; }
  126. th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
  127. th.thTop     { border-width: 1px 0px 0px 0px; }
  128. th.thCornerL { border-width: 1px 0px 0px 1px; }
  129. th.thCornerR { border-width: 1px 1px 0px 0px; }
  130.  
  131. /* The largest text used in the index page title and toptic title etc. */
  132. .maintitle    {
  133.     font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
  134.     text-decoration: none; line-height : 120%; color : #000000;
  135. }
  136.  
  137. /* General text */
  138. .gen { font-size : 12px; }
  139. .genmed { font-size : 11px; }
  140. .gensmall { font-size : 10px; }
  141. .gen,.genmed,.gensmall { color : #000000; }
  142. a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
  143. a.gen:hover,a.genmed:hover,a.gensmall:hover    { color: #DD6900; text-decoration: underline; }
  144.  
  145. /* The register, login, search etc links at the top of the page */
  146. .mainmenu        { font-size : 11px; color : #000000 }
  147. a.mainmenu        { text-decoration: none; color : #006699;  }
  148. a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }
  149.  
  150. /* Forum category titles */
  151. .cattitle        { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699}
  152. a.cattitle        { text-decoration: none; color : #006699; }
  153. a.cattitle:hover{ text-decoration: underline; }
  154.  
  155. /* Forum title: Text and link to the forums used in: index.php */
  156. .forumlink        { font-weight: bold; font-size: 12px; color : #006699; }
  157. a.forumlink     { text-decoration: none; color : #006699; }
  158. a.forumlink:hover{ text-decoration: underline; color : #DD6900; }
  159.  
  160. /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
  161. .nav            { font-weight: bold; font-size: 11px; color : #000000;}
  162. a.nav            { text-decoration: none; color : #006699; }
  163. a.nav:hover        { text-decoration: underline; }
  164.  
  165. /* titles for the topics: could specify viewed link colour too */
  166. .topictitle,h1,h2    { font-weight: bold; font-size: 11px; color : #000000; }
  167. a.topictitle:link   { text-decoration: none; color : #006699; }
  168. a.topictitle:visited { text-decoration: none; color : #5493B4; }
  169. a.topictitle:hover    { text-decoration: underline; color : #DD6900; }
  170.  
  171. /* Name of poster in viewmsg.php and viewtopic.php and other places */
  172. .name            { font-size : 11px; color : #000000;}
  173.  
  174. /* Location, number of posts, post date etc */
  175. .postdetails        { font-size : 10px; color : #000000; }
  176.  
  177. /* The content of the posts (body of text) */
  178. .postbody { font-size : 12px; line-height: 18px}
  179. a.postlink:link    { text-decoration: none; color : #006699 }
  180. a.postlink:visited { text-decoration: none; color : #5493B4; }
  181. a.postlink:hover { text-decoration: underline; color : #DD6900}
  182.  
  183. /* Quote & Code blocks */
  184. .code {
  185.     font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
  186.     background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
  187.     border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
  188. }
  189.  
  190. .quote {
  191.     font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
  192.     background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
  193.     border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
  194. }
  195.  
  196. /* Copyright and bottom info */
  197. .copyright        { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
  198. a.copyright        { color: #444444; text-decoration: none;}
  199. a.copyright:hover { color: #000000; text-decoration: underline;}
  200.  
  201. /* Form elements */
  202. input,textarea, select {
  203.     color : #000000;
  204.     font: normal 11px Verdana, Arial, Helvetica, sans-serif;
  205.     border-color : #000000;
  206. }
  207.  
  208. /* The text input fields background colour */
  209. input.post, textarea.post, select {
  210.     background-color : #FFFFFF;
  211. }
  212.  
  213. input { text-indent : 2px; }
  214.  
  215. /* The buttons used for bbCode styling in message post */
  216. input.button {
  217.     background-color : #EFEFEF;
  218.     color : #000000;
  219.     font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
  220. }
  221.  
  222. /* The main submit button option */
  223. input.mainoption {
  224.     background-color : #FAFAFA;
  225.     font-weight : bold;
  226. }
  227.  
  228. /* None-bold submit button */
  229. input.liteoption {
  230.     background-color : #FAFAFA;
  231.     font-weight : normal;
  232. }
  233.  
  234. /* This is the line in the posting page which shows the rollover
  235.   help line. This is actually a text box, but if set to be the same
  236.   colour as the background no one will know ;)
  237. */
  238. .helpline { background-color: #DEE3E7; border-style: none; }
  239.  
  240. /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
  241. @import url("templates/subSilver/formIE.css");
  242. -->
  243. </style>
  244. </head>
  245. <body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4">
  246.  
  247. <a name="top"></a>
  248.  
  249. <table width="100%" cellspacing="0" cellpadding="10" border="0" align="center" >
  250.     <tr>
  251.         <td class="bodyline" >
  252.             <table width="100%" cellspacing="0" cellpadding="0" border="0" >
  253.             <tr>
  254.                 <td BGCOLOR="BLACK"><CENTER>
  255.                 <a href="index.php"><img src="templates/subSilver/images/HZA/TITRE8A.PNG" border="0" alt=" Index du Forum" vspace="1" /></a>
  256.                 </CENTER></td>
  257.                 <TD></TD>
  258.             </TR>
  259.                 <TR><TD align="center" COLSPAN="2" BGCOLOR="#E5E5E5">
  260.                     <span class="mainmenu"><B><FONT COLOR="RED">IDENTIFICATION SERVEUR : 213.186.33.87 - CLIENT : 74.109.56.191 </FONT></B></SPAN></TD>
  261.                 </TR>
  262.             <TR><TD><BR></TD></TR>
  263.             <CENTER>
  264.             <table cellspacing="0" cellpadding="2" border="0">
  265.                     <tr>
  266.                         <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="faq.php" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="FAQ" hspace="3" />FAQ</a>   <a href="search.php" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="Rechercher" hspace="3" />Rechercher</a>   <a href="memberlist.php" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="Liste des Membres" hspace="3" />Liste des Membres</a>   <a href="groupcp.php" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="Groupes d'utilisateurs" hspace="3" />Groupes d'utilisateurs</a> 
  267.                          <a href="profile.php?mode=register" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="S'enregistrer" hspace="3" />S'enregistrer</a> 
  268.                         </span></td>
  269.                     </tr>
  270.                     <tr>
  271.                         <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="profile.php?mode=editprofile" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="Profil" hspace="3" />Profil</a>   <a href="privmsg.php?folder=inbox" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="Se connecter pour vΘrifier ses messages privΘs" hspace="3" />Se connecter pour vΘrifier ses messages privΘs</a>   <a href="login.php" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="Connexion" hspace="3" />Connexion</a> </span></td>
  272.                     </tr>
  273.                 </table></td>
  274.             </tr>
  275.         </table>
  276.  
  277.         <br />
  278.  
  279.  
  280. <table width="100%" cellspacing="2" cellpadding="2" border="0">
  281.   <tr>
  282.     <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="viewtopic.php?t=56&start=0&postdays=0&postorder=asc&highlight=">Joust (Atari, 1983)</a><br />
  283.       <span class="gensmall"><b></b><br />
  284.         </span></td>
  285.   </tr>
  286. </table>
  287.  
  288. <table width="100%" cellspacing="2" cellpadding="2" border="0">
  289.   <tr>
  290.     <td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="posting.php?mode=newtopic&f=13"><img src="templates/subSilver/images/lang_french/post.gif" border="0" alt="Poster un nouveau sujet" align="middle" /></a>   <a href="posting.php?mode=reply&t=56"><img src="templates/subSilver/images/lang_french/reply.gif" border="0" alt="RΘpondre au sujet" align="middle" /></a></span></td>
  291.     <td align="left" valign="middle" width="100%"><span class="nav">   <a href="index.php" class="nav"> Index du Forum</a>
  292.       -> <a href="viewforum.php?f=13" class="nav">PROTECTION MALEFIQUE</a></span></td>
  293.   </tr>
  294. </table>
  295.  
  296. <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
  297.     <tr align="right">
  298.         <td class="catHead" colspan="2" height="28"><span class="nav"><a href="viewtopic.php?t=56&view=previous" class="nav">Voir le sujet prΘcΘdent</a> :: <a href="viewtopic.php?t=56&view=next" class="nav">Voir le sujet suivant</a>  </span></td>
  299.     </tr>
  300.     
  301.     <tr>
  302.         <th class="thLeft" width="150" height="26" nowrap="nowrap">Auteur</th>
  303.         <th class="thRight" nowrap="nowrap">Message</th>
  304.     </tr>
  305.     <tr>
  306.         <td width="150" align="left" valign="top" class="row1"><span class="name"><a name="130"></a><b>toinet</b></span><br /><span class="postdetails"><br /><br /><br />Inscrit le: 15 Juin 2007<br />Messages: 326<br />Localisation: Paris, France</span><br /></td>
  307.         <td class="row1" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  308.             <tr>
  309.                 <td width="100%"><a href="viewtopic.php?p=130#130"><img src="templates/subSilver/images/icon_minipost.gif" width="12" height="9" alt="Message" title="Message" border="0" /></a><span class="postdetails">PostΘ le: Ven 10 Ao√ 2007, 20:24<span class="gen"> </span>   Sujet du message: Joust (Atari, 1983)</span></td>
  310.                 <td valign="top" nowrap="nowrap"><a href="posting.php?mode=quote&p=130"><img src="templates/subSilver/images/lang_french/icon_quote.gif" alt="RΘpondre en citant" title="RΘpondre en citant" border="0" /></a>   </td>
  311.             </tr>
  312.             <tr>
  313.                 <td colspan="2"><hr /></td>
  314.             </tr>
  315.             <tr>
  316.                 <td colspan="2"><span class="postbody">Ride gallant birds into knightly combat!
  317. <br />
  318.  
  319. <br />
  320. Joust is a trademark and (c) Williams 1982, manufactured under license from Williams Electronics Inc.
  321. <br />
  322.  
  323. <br />
  324.  
  325. <br />
  326. <span style="font-weight: bold">PROTECTION TYPE</span>
  327. <br />
  328. A non standard diskette:
  329. <br />
  330. - One big sector of $1000 4*4 nibbles per track
  331. <br />
  332.  
  333. <br />
  334. That protection has also been used for Moon Patrol, please refer to that topic for info (in French only):  <a href="http://www.hackzapple.com/phpBB2/viewtopic.php?t=13" target="_blank">http://www.hackzapple.com/phpBB2/viewtopic.php?t=13</a>
  335. <br />
  336.  
  337. <br />
  338.  
  339. <br />
  340. <span style="font-weight: bold">BOOT TRACE</span>
  341. <br />
  342. - 9600<C600.C6FFM
  343. <br />
  344. - 96FB: 4C 59 FF
  345. <br />
  346. - 9600G
  347. <br />
  348.  
  349. <br />
  350. Let's examine the code at $0800:
  351. <br />
  352. - the arm is moved to track 1 (routine in $804, in A the phase you want to go to)
  353. <br />
  354. - data is loaded from $B000 to $B7FF
  355. <br />
  356. - $08FB is a JMP $B000
  357. <br />
  358.  
  359. <br />
  360. Let's break that:
  361. <br />
  362. - 96FB: A9 98 8D FD 08 4C 01 08
  363. <br />
  364. - 9800: 4C 59 FF
  365. <br />
  366. - 9600G
  367. <br />
  368.  
  369. <br />
  370. Let's examine the code at $B000:
  371. <br />
  372. - clear the screen,
  373. <br />
  374. - set $CC = 0
  375. <br />
  376. - load data at $B100 (1)
  377. <br />
  378. - execute code loaded at $7000
  379. <br />
  380. - set $CC = 1
  381. <br />
  382. - load data at $B100 (2)
  383. <br />
  384. - execute code loaded at $0800
  385. <br />
  386.  
  387. <br />
  388. (1) The first tables that load data per $800 bytes are located at:
  389. <br />
  390. - phase to move the arm to (equals to track *2): $B0CD
  391. <br />
  392. - address to load data into memory: $B0DB
  393. <br />
  394. - checksum of read data: $B0E9
  395. <br />
  396. => data is read from track 3 to E from $2000 to $7FFF because $CC = 0
  397. <br />
  398.  
  399. <br />
  400. (2) The second tables that load data per $800 bytes are located at:
  401. <br />
  402. - phase to move the arm to (equals to track *2): $B0F7
  403. <br />
  404. - address to load data into memory: $B0FA
  405. <br />
  406. - checksum of read data: $B0FD
  407. <br />
  408. => data is read from track 2 from $0800 to $0FFF because $CC = 1
  409. <br />
  410.  
  411. <br />
  412. Code at $0800 loads data to the $2000.$BFFF space from phase 1E to phase 44. Then final code execution is passed to $3E00. For those of you who would like to make a ProDOS version of the game, the program is from $2000 to $BFFF.
  413. <br />
  414.  
  415. <br />
  416. As you may see, the remaining free space is $1000..$1FFF or the $0200.$07FF space, that may be useful for your own routines...
  417. <br />
  418.  
  419. <br />
  420.  
  421. <br />
  422.  
  423. <br />
  424. <span style="font-weight: bold">READ ROUTINE</span>
  425. <br />
  426. The read routine located at $B100 zeroes its index at $C8 and depending on the value of $CC sets parameters from table 1 or table 2. The routine uses the $C0Ex softswitch and not the $C08x,X softswitches!
  427. <br />
  428.  
  429. <br />
  430. Entry parameters at $B13D
  431. <br />
  432. A: phase you want to you (one phase = track number * 2)
  433. <br />
  434.   phase 2 means track 1, phase E means track 7
  435. <br />
  436. $C9..$CA: address of data to load
  437. <br />
  438.  
  439. <br />
  440. Other parameters:
  441. <br />
  442. $50: checksum value
  443. <br />
  444. $C2: target phase
  445. <br />
  446. $C7: current phase
  447. <br />
  448.  
  449. <br />
  450. The routine loads data for 8 pages of $100 bytes (or $800 bytes, or $1000 nibbles), then compares the checksum between data read and $50, then increments the index at $C8.
  451. <br />
  452.  
  453. <br />
  454.  
  455. <br />
  456. <span style="font-weight: bold">DISK COPY</span>
  457. <br />
  458. Let's use what Atari offers us: its own routine in $B100 but we need to modify it slightly:
  459. <br />
  460. - read one track
  461. <br />
  462. - copy to the IIgs memory
  463. <br />
  464. - loop until the end of the disk
  465. <br />
  466.  
  467. <br />
  468. Here is the code:
  469. <br />
  470.  
  471. <br />
  472. </span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>       <td><span class="genmed"><b>Code:</b></span></td>    </tr>    <tr>      <td class="code">    LDA #$18  ; $1800 is our Mount Paramount
  473. <br />
  474.     STA $B202
  475. <br />
  476.     LDA #$60  ; the RTS opcode
  477. <br />
  478.     STA $B205
  479. <br />
  480.  
  481. <br />
  482.     LDA $C0E9  ; turn drive on and wait a little bit
  483. <br />
  484.     LDA #$FF
  485. <br />
  486.     JSR $FCA8
  487. <br />
  488.  
  489. <br />
  490.     LDA $00  ; we'll begin on track 0
  491. <br />
  492.     STA $FF
  493. <br />
  494.     STA $C9
  495. <br />
  496.  
  497. <br />
  498. ]LP LDA #$10  ; we'll load data at $1000
  499. <br />
  500.     STA $CA
  501. <br />
  502.  
  503. <br />
  504.     LDA $FF    ; please read
  505. <br />
  506.     JSR $B13D
  507. <br />
  508.  
  509. <br />
  510.     LDA $FF
  511. <br />
  512.     JSR $FDDA  ; print out current phase
  513. <br />
  514.     LDA #$8D
  515. <br />
  516.     JSR $FDED  ; carriage return (hum)
  517. <br />
  518.  
  519. <br />
  520.     LDY #$10  ; or 8 for those you shrink space
  521. <br />
  522. ]LQ LDX #$00 ; let's store read data into our IIgs memory
  523. <br />
  524. ]LR LDA $1000,X
  525. <br />
  526. ]LS STAL $100000,X
  527. <br />
  528.     INX
  529. <br />
  530.     BNE ]LR
  531. <br />
  532.     INC ]LR+2
  533. <br />
  534.     INC ]LS+2
  535. <br />
  536.     BNE *+3
  537. <br />
  538.     INC ]LS+3
  539. <br />
  540.     DEY
  541. <br />
  542.     BNE ]LQ
  543. <br />
  544.  
  545. <br />
  546.     LDA #$10  ; re-init buffer
  547. <br />
  548.     STA ]LR+2
  549. <br />
  550.  
  551. <br />
  552.     INC $FF  ; next track please
  553. <br />
  554.     INC $FF
  555. <br />
  556.     LDA $FF
  557. <br />
  558.     CMP #$46 ; why not check the use of track $23 ;-)
  559. <br />
  560.     BEQ EXIT
  561. <br />
  562.     JMP ]LP
  563. <br />
  564. EXIT RTS</td>    </tr></table><span class="postbody">
  565. <br />
  566.  
  567. <br />
  568.  
  569. <br />
  570. <span style="font-weight: bold">RE'WRITE' THE 'READ' ROUTINES</span>
  571. <br />
  572. As with Moon Patrol, you are free to use your own read routine, the one from the $C600 space or whatever you like.
  573. <br />
  574.  
  575. <br />
  576. At first, I use the $C65C read routine ($26..$27 is pointer to the buffer, $3D the sector, $41 the track), that is the one on the DSK image.
  577. <br />
  578.  
  579. <br />
  580. Then, I had fun including the $C65C code within the $B100..$B2FF space. It also worked, that's quite fun. For those of you interested, I may send info on that one.
  581. <br />
  582.  
  583. <br />
  584. As that is a tricky stuff to do, please refer to the DSK image and read:
  585. <br />
  586. - T0/S0 is the boot loader of track 1 => The code is loaded at $0800
  587. <br />
  588. - T1/S0..S2 contains the modified read routines (T1/S8..SA for the original ones) => The code is loaded at $B000
  589. <br />
  590. - T2/S0..S2 contains the modified second read routines (T2/S8..SA for the original ones) => The code is loaded at $0800
  591. <br />
  592.  
  593. <br />
  594.  
  595. <br />
  596. Your backup copy is now available...
  597. <br />
  598.  
  599. <br />
  600. Toinet</span><span class="gensmall"></span></td>
  601.             </tr>
  602.         </table></td>
  603.     </tr>
  604.     <tr>
  605.         <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>
  606.         <td class="row1" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
  607.             <tr>
  608.                 <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"><!--
  609.  
  610.     if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
  611.         document.write(' ');
  612.     else
  613.         document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute"></div><div style="position:absolute;left:3px;top:-1px"></div></div>');
  614.  
  615.                 //--></script><noscript></noscript></td>
  616.             </tr>
  617.         </table></td>
  618.     </tr>
  619.     <tr>
  620.         <td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
  621.     </tr>
  622.     <tr align="center">
  623.         <td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
  624.             <tr><form method="post" action="viewtopic.php?t=56&start=0">
  625.                 <td align="center"><span class="gensmall">Montrer les messages depuis: <select name="postdays"><option value="0" selected="selected">Tous les messages</option><option value="1">1 Jour</option><option value="7">7 Jours</option><option value="14">2 Semaines</option><option value="30">1 Mois</option><option value="90">3 Mois</option><option value="180">6 Mois</option><option value="364">1 An</option></select> <select name="postorder"><option value="asc" selected="selected">Le plus ancien en premier</option><option value="desc">Le plus rΘcent en premier</option></select> <input type="submit" value="Aller" class="liteoption" name="submit" /></span></td>
  626.             </form></tr>
  627.         </table></td>
  628.     </tr>
  629. </table>
  630.  
  631. <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  632.   <tr>
  633.     <td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="posting.php?mode=newtopic&f=13"><img src="templates/subSilver/images/lang_french/post.gif" border="0" alt="Poster un nouveau sujet" align="middle" /></a>   <a href="posting.php?mode=reply&t=56"><img src="templates/subSilver/images/lang_french/reply.gif" border="0" alt="RΘpondre au sujet" align="middle" /></a></span></td>
  634.     <td align="left" valign="middle" width="100%"><span class="nav">   <a href="index.php" class="nav"> Index du Forum</a>
  635.       -> <a href="viewforum.php?f=13" class="nav">PROTECTION MALEFIQUE</a></span></td>
  636.     <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>
  637.       </td>
  638.   </tr>
  639.   <tr>
  640.     <td align="left" colspan="3"><span class="nav">Page <b>1</b> sur <b>1</b></span></td>
  641.   </tr>
  642. </table>
  643.  
  644. <table width="100%" cellspacing="2" border="0" align="center">
  645.   <tr>
  646.     <td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall"></span><br />
  647.        <br />
  648.       </td>
  649.     <td align="right" valign="top" nowrap="nowrap">
  650. <form method="get" name="jumpbox" action="viewforum.php" onSubmit="if(document.jumpbox.f.value == -1){return false;}"><table cellspacing="0" cellpadding="0" border="0">
  651.     <tr>
  652.         <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>
  653.     </tr>
  654. </table></form>
  655.  
  656. <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>
  657.   </tr>
  658. </table>
  659.  
  660.  
  661. <div align="center"><span class="copyright"><br /><br />
  662. <!--
  663.     We request you retain the full copyright notice below including the link to www.phpbb.com.
  664.     This not only gives respect to the large amount of time given freely by the developers
  665.     but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
  666.     reason) retain the full copyright we request you at least leave in place the
  667.     Powered by phpBB line, with phpBB linked to www.phpbb.com. If you refuse
  668.     to include even this then support on our forums may be affected.
  669.  
  670.     The phpBB Group : 2002
  671. // -->
  672. Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> © 2001, 2005 phpBB Group<br />Traduction par : <a href="http://www.phpbb-fr.com/" target="_blank" class="copyright">phpBB-fr.com</a></span></div>
  673.         </td>
  674.     </tr>
  675. </table>
  676.  
  677. </body>
  678. </html>
  679.  
  680.