2014年2月28日 星期五

RU command line

RU provides command line interface but only few knows.  I personally use it a lot because sometimes using command is faster than navigating the cursor to change registers.

Command can be toggled with key `. 

You can use that key to toggle between main screen (registers) and command line below the screen (same line as clock is displayed).


Here is the commands listed in help (F1) screen:


  • o x, y
    Output value y to port x
    o 2e 55 - out 0x55 to port 0x2e
  • i x
    Input (read) value from port x
    i 40
    00 - value read is 00
  • w x,y
    Write value y to register #x
    w fe 0f - register #fe = 0xf
  • f [x,y] z
    Fill value z from register #x to #y
    x,y are optional, it will fill 256 bytes if x,y are not specified.
    f 55 - fill current page (256 bytes) with 0x55
    f 0,10 aa - fill 0xaa from register #0 to #10
  • g x
    Go to register #x, this change the cursor to register #x
  • s string
    Search string in the current page, case sensitive
    s AMI - search "AMI"
  • sv values
    Search hex values separated by space
    sv 01 22 ff - search value 0x01 0x02 0xff (from low to high address)
    sv ff2201 - search a dword (same as above 3 values)
  • sv be45 23 5c6912f3 - search 0x45 0xbe 0x23 0xf3 0x12 0x69 0x5c
  • q
    Quit RU
  • off
    Turn off the system
  • reboot
    Reboot to INT19 (DOS only)
  • up/down arrow
    Browse commands you used.  So you don't have to type the last command you used before.

1 則留言:

Jun Shih 提到...
作者已經移除這則留言。