home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d170 / dis6502.lha / Dis6502 / Dis.notes < prev    next >
Text File  |  1988-11-22  |  2KB  |  50 lines

  1.  
  2.  
  3.  
  4.        Some notes about Robert Bond's 'dis' program, Amiga version.
  5.  
  6.  
  7.  
  8. This  is a quick & dirty port of a 6502 reverse assembler I that I had under
  9. my  hand  for a long time.  I didn't bother optimizing the stuff too much, I
  10. just  wanted to see it working.  This is the sort of 'dirty' ports where you
  11. first  compiler  the  original file, then watch the compiler errors, and fix
  12. the errors in the file, without looking anywhere else in it.  Therefor:
  13.  
  14. 1)  'dis'  requires  C:Sort  (  too much bother to replace ) & C:Type ( I AM
  15.     lazy!!!)
  16.  
  17. 2)  I  still  don't  understand  why  are  the  line  numbers  needed in the
  18.     c64.predef file. I don't have much UNIX experience, and no experience at
  19.     all with lex. lex code is like chinese to  me, but  reading  the  perdef
  20.     I think that the line numbers are ignored and are used  only  to  easily
  21.     identify '.eq' lines.
  22.  
  23. 3)  The program  is recursive, too  much recursive!  the trace routine calls
  24.     itself not only on branches, but every instruction! large stacks (  even
  25.     50K isn't too much for large programs ), are welcomed... I  will  modify
  26.     this as soon as I'll have time. it should be easy to remove recursion in
  27.     the non branch/jmp instructions. branches must have recursion.
  28.  
  29. I also enhanced the original package, and added support for c64 binary file,
  30. which  wasn't there before.  ( It had only ATARI load/boot files ).  The C64
  31. file format was much simpler than those other 2 formats.  To select C64 file
  32. format, use the '-c' flag.  I also included a c64.predefs file with some C64
  33. constant  addresses.  Also, FYI, lex.c was generated on a SUN from lex.l and
  34. then downloaded to the Amiga.  lex.c was also __edited__ before compilation.
  35. I  know  that  it's  a  no-no  to  edit  machine-generated files, but it was
  36. necessary.
  37.  
  38.  
  39. Udi Finkelstein
  40.  
  41. 10 Glitzenstein st.
  42. Tel Aviv 64686 Israel
  43. Phone: 972-3-263-927
  44.  
  45. BITNET:     finkel@taurus.BITNET                     ( Best )
  46. UUCP:       ...!uunet!ulysses!attibr!althea!finkel   ( Try avoiding this )
  47. ARPA:       finkel%taurus@cunyvm.cuny.edu            ( Same as BITNET )
  48. FIDO:       Udi Finkelstein ( At 2:40/117 or 2:40/135
  49.                               If you can get there at all!)
  50.