home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 15 / CDACTUAL15.iso / cdactual / program / asm / RE_SOURC.ZIP / RE-SOURC.2DO next >
Encoding:
Text File  |  1989-08-19  |  4.1 KB  |  72 lines

  1. | Change read-in of .REM, .CTL, etc so 1Ah at end is OPTIONAL.
  2. | Dump doesn't adjust for ORG
  3. | Boo-boo w/GRAFLIX.COM, ctl S shows 2 blocks of zeros!
  4. | Boo-boo w/QWICKCHNG.COM, .RSM has extra apostrophes in DB 0XXh lines.
  5. | Boo-boo w/Label character checking.  Check_<, gives error w/MASM & TASM.
  6.  
  7. | Needs to save ORG in the .CTL file
  8. | .EXE files:
  9.    Check 'MZ', set ORG per header so IP=0100h, show header stuff, put 'Start',
  10.    do Reloc's per Start=0100h (may have to insert JMP Begin to get past Data).
  11.    Oriented to re-doing as .COM files - don't incl padding, EXE stuff, etc.
  12.  
  13. | Device Drivers show header stuff.  Chk any file not C or E if no .CTL.
  14. | JMP & CALL SSSS:OOOO (kind34:), see TEST.ASM, add 'seg at' for prolog.
  15.    Use bit 7 of OprndType flag Prolog do 'seg at' ? .SMB not incl where lbl is.
  16.    May need 2 word addr in .SMB table, or OprndType incl additional ref to
  17.     numbered SEG table, not just CS, DS, ES etc. - similar to .EXE stuff.
  18.  
  19. | Elim WORD/BYTE PTR DS: for labels ?  Must know curr DS, & that it is DB.
  20. | in FileMod, many nnnn[SI] should be [SI+offset Label].
  21.    Also, MOV AX,nnnn should be MOV AX,offset Label... Control if no is addr ?
  22. | DW lines check for CTL and SMB on odd bytes, too; insert H ctl if so.
  23. | CALL & JMP (in pgm) make sure addr is I ctl & not overlapped in B mode.
  24. | Instr overlapping label must fix so Dline shows DBs if ANY ctl or lbl
  25.    occurs within it. (Req get # bytes before printing, or bksp).  Try VDISK.SYS.
  26. | B mode: MOV DI nnnn or SI nnnn or SP nnnn, etc must ref a Label
  27. | BYTE/WORD/DWORD PTR operands insert B or W CTL at addr if prev ctl not W, then
  28.    reset to previous CTL ??
  29. | DW lines: when to show OFFSET Label ??  Need better way decide if addr...
  30.    Vector tables NUMBERS, not offset (see FileMod). O ctl=offset/A ctl=addr ??
  31. | DB label lines MUST show ;addr, use REMARK routine
  32. | Instr's [BP] MASM will not assemble SS: pfx, MOV assumes DS:, etc; yet may be
  33.    in code.  Tough to pick out before line.  Use buffer for line, insert DB ?
  34.    Use for LEA, too ?  May also be true for ES:[DI].
  35. | Allow both inserted prior AND appended remark on same line.
  36.    Gets screwed up when insert after appended...
  37.  
  38. * Run FileMod as child, on loaded pgm.  Eliminates S & D commands.
  39. * Add CALC
  40. * Add print DOS & BIOS function descriptions.  Link to sep. source file ??
  41.   Have a way to mark a MOV AH,nn line as a DOS call line.
  42. * PgUp & crsr up while U'ing would sure be nice.  Req. save curadr & pcntr for
  43.    every line, and subtract; beep if backing up past unassembled area.
  44. * Crsr L & R, End, Home, Del for all cmd line entry, CMERR not erase line.
  45. ~ Add '186, '286 (and later '386) toggles to show DBs for higher-CPU code ?
  46. ~ Fxxxx 1C,AH shows as Fxxxx 1C,SP.  Do '87 instr set. List in !TASM.DOC.
  47. ~ Try weed out strings of punctuation, oddballs like '[' only ASCII after '$'.
  48. ~ add .EXT to "RE-SOURCE disassembly of D:\PATH\NAME", & use to avoid
  49.    LSamename.OVL, F9 wiping out the .REM, .Smb, and .CTL files.
  50. ~ For strucs: CNNNN,Snn do  DB  xx DUP ('Stack   ') where nn=8 ?? See Filemod.
  51. ~ Smb segment type (the SB when Dumping Symbols) NFG, some are SS (all ex.=S)
  52.  
  53. ~ Need a Find for occurrances of an instruction (e.g., any OUT or OUT DX, etc)
  54.    or a word number in an operand, or every '186/286 instr.
  55.    Also, for any Label or Remark text (match any part of string, like XY search).
  56. ~ Change the modregr/m routines to show [BX+2] instead of 2[BX]
  57. ~ Pgup/pgdn/crsrup/crsrdn routine for REM, CTL & SMB dumps, just 1 column.
  58. ~ Show length of file loaded & n DUPs in DECIMAL (must add routine).
  59. ~ Handle curpar for files over 64K long, fix up Stats, E ctl at ReadFile, etc.
  60. ~ Direct screen instead of TTY.  Messages & status at the right.
  61.    Window for filename & length, 'F1 Help', indicators for when in A or B,
  62.    T on or off, etc.  Put crsr at place to write label or comment.
  63.    Mouse interface, click-on menu(s) like ACAD.
  64.    Mark 'H ' in reverse video at end of CTL lines.
  65.  
  66.  
  67. RES86 -- ORIGINAL COMMAND SUMMARY
  68.  
  69. Ennnn,.Sym[,m]    Enter symbol at nnnn, ,m enters SEGMENT like E1234,Lbl,C for CS
  70.     (seems useless, can have many code or data segs)
  71. Seg Prefix    OK on cmds A,B,C,S,F,L,O
  72.