Dumping ROMs

From: John Robertson <jrr_at_flippers.com>
Date: Thu Aug 01 2002 - 19:07:07 EDT

<x-html>
<html>
To continue this a bit, I wrote a simple dumper (based on the one in the
Programming manual) that runs a fair bit faster than Kev's, the only
problem is that is sends unformatted ASCII text to my terminal program,
but I have no simple converters to fix this to binary...<br><br>
Here is the .s code<br><br>
<br>
<font face="Courier New, Courier" size=4>PROGRAM 0&nbsp;&nbsp; 68
BYTES<br><br>
&nbsp;&nbsp; DPY-FIRST /1 LAST
/2<x-tab>&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>:Sets
Start and End of ROM<br>
&nbsp;&nbsp; REG1 = REG1 AND
FFF0<x-tab>&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>:<br><br>
1: LABEL 1<br>
&nbsp;&nbsp; READ @
REG1<x-tab>&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><br>
&nbsp;&nbsp; AUX-$E+<br>
&nbsp;&nbsp; INC REG1<br>
&nbsp;&nbsp;
DPY-$1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
:Displays next memory read<br>
&nbsp;&nbsp; IF REG2 &gt;= REG1 GOTO 1<br>
&nbsp;&nbsp; STOP<br><br>
A bit shorter...and faster dumping, can anyone (Zonn?) edit the small
Hex32Bin.EXE or Hex2BIN32.EXE to just handle raw ASCII conversion to
Binary?<br><br>
Thanks!<br><br>
John :-#)#</font></html>

</x-html>
Received on Thu Aug 01 16:50:29 2002

This archive was generated by hypermail 2.1.8 : Tue Dec 02 2003 - 18:40:46 EST