SAD (Saturn disassembler) & HP-71B ROM
|
04-05-2016, 07:24 AM
(This post was last modified: 04-05-2016 12:22 PM by Alejandro Paz(Germany).)
Post: #1
|
|||
|
|||
SAD (Saturn disassembler) & HP-71B ROM
Hello,
I have been reading old posts and found SAD (on hpcalc.org, v1.05). It seems mostly 48 oriented, and I was wondering if there is a list of symbols and formats for the 71's ROM. I have the 71ids that comes with the Museum DVDs (at least it comes with the version 6 I bought like in 2008 or I don't remember), but working on some code and not being able to search the pdfs makes working on some code a bit slow. Any ideas ? Thanks, Ale Edit: improved title and content, I think. |
|||
04-05-2016, 04:55 PM
Post: #2
|
|||
|
|||
RE: SAD (Saturn disassembler) & HP-71B ROM
(04-05-2016 07:24 AM)Alejandro Paz(Germany) Wrote: Hello, Get a copy of Joe Horn's Online LIF Disk Project (from here) and look for the Basic program IDSXREF and files IDSNAMES and IDSADDRS. This was a utility for doing what your asking for, looking up entry point names and addresses. I have not used it in decades, but it does the job. I don't think anyone ever typed-in all the entry points since most folks (that do this stuff) had the IDS. --Bob Prosperi |
|||
04-05-2016, 11:44 PM
Post: #3
|
|||
|
|||
RE: SAD (Saturn disassembler) & HP-71B ROM
(04-05-2016 07:24 AM)Alejandro Paz(Germany) Wrote: I have been reading old posts and found SAD Not that I can give you any pointers, but hearing about SAD again reminded me that I had wrote a rudimentary disassembler for Saturn not long after the HP48SX came out. Can't find the code anymore, but SAD does much more than mine ever did. |
|||
04-06-2016, 12:57 AM
Post: #4
|
|||
|
|||
RE: SAD (Saturn disassembler) & HP-71B ROM
Thanks rprosperi. That helps a lot, combining both files and getting a .symbols file out is not a problem for a simple python script
(04-05-2016 11:44 PM)cruff Wrote:(04-05-2016 07:24 AM)Alejandro Paz(Germany) Wrote: I have been reading old posts and found SAD There is so much that you can learn by doing a disassembler. I find it a good first step to approach a new architecture. |
|||
04-06-2016, 01:20 AM
Post: #5
|
|||
|
|||
RE: SAD (Saturn disassembler) & HP-71B ROM
(04-06-2016 12:57 AM)Alejandro Paz(Germany) Wrote: Thanks rprosperi. That helps a lot, combining both files and getting a .symbols file out is not a problem for a simple python script Happy to help. I'd just ask that you share whatever you turn this into, so the next guy can find it, and on and on.... Besides, anything that makes it practical to disassemble LEX files on a PC would be a nice thing to have. In the LIF disk project, look for a text file called NMEM2 (e.g. on SWAP/CHHU01), which is a listing of the Saturn instruction set mnemonics with decimal and hex values, made by John Baker in 1984. The notes I have on a handwritten copy say: 1. For field select options, I substituted 0 for 0 - 7 and 8 for 8 - F 2. For jump distances, I used zeros --Bob Prosperi |
|||
04-06-2016, 02:48 AM
Post: #6
|
|||
|
|||
RE: SAD (Saturn disassembler) & HP-71B ROM
I combined both files and disassembling it works
here the output. Some symbols are missing, there are plenty in the code, but well it is a jump start ! .symbols file Code: 00000=COLDST .formats file Code: 00000=c |
|||
04-06-2016, 05:36 PM
Post: #7
|
|||
|
|||
RE: SAD (Saturn disassembler) & HP-71B ROM
(04-06-2016 02:48 AM)Alejandro Paz(Germany) Wrote: here the output. Some symbols are missing, there are plenty in the code, but well it is a jump start ! I compared this list with my own entry point list (bottom of this page in pdf or txt formats), and mine is more complete. It also includes the RAM location names and many symbols (like error numbers, flag names), that helped a lot during my disassembled code analysis and source code reconstruction. I made this list by combining several sources, I don't remember if I used the files from J. Horn at the time but at least all entry points from this list are included in mine. J-F |
|||
04-07-2016, 01:29 AM
Post: #8
|
|||
|
|||
RE: SAD (Saturn disassembler) & HP-71B ROM
(04-06-2016 05:36 PM)J-F Garnier Wrote: I compared this list with my own entry point list (bottom of this page in pdf or txt formats), and mine is more complete... Jean-Francois - As many times as I've read your site, I did not recall seeing this. That said, I obviously did as I found I had downloaded the files. And then promptly forgotten, it appears... The programs I noted were in the collection Joe documented and published, but the program itself was contributed to a Swap Disk I believe by Tapani Tarvainen or possibly Mike Markov. The same author also modified Thompson's original 71 Disassembler (DIS, also on swap tape MAIN03) to use the same entry point data files. --Bob Prosperi |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)