Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a display command. #436

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Commits on Sep 17, 2024

  1. add a display command.

    The display command uses the plan9ports devdraw device, and
    the 9fans devdraw Go support, to allow a display of the state of the
    buffer.
    
    Currently, a user can do something like this:
    
    Set up so devdraw command is in $PATH
    
    PLAN9=/Users/rminnich/Documents/plan9 export PLAN9
    PATH=$PATH:$PLAN9/bin export PATH
    
    Now run utk
    
    utk  ~/Downloads/SBIOS_P5043_PG535_SKU_893_02.02.03_rel_prod.rom  \
    	display start \
    	remove_dxes_except list  \
    	display end
    
    The result will be two windows, one showing before, and one after.
    
    The plan is that this can get fancier:
    
    utk  ~/Downloads/SBIOS_P5043_PG535_SKU_893_02.02.03_rel_prod.rom  \
    	display start \
    	remove Http.* \
    	display nohttp \
    	remove_dxes_except list  \
    	display end
    
    Also, note, although we only set up one pixel for each point, devdraw is nice to you:
    if you grow the window it grows the display of ROM. Also, the border is necessery for OSX
    with its rounded edges.
    
    But: it's still not drawing the image correctly. Me and graphics.
    
    Signed-off-by: Ronald G. Minnich <[email protected]>
    rminnich committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    b1991e3 View commit details
    Browse the repository at this point in the history
  2. sizing things up in the window

    Signed-off-by: Ronald G. Minnich <[email protected]>
    rminnich committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e8b9506 View commit details
    Browse the repository at this point in the history
  3. tweaking the window

    Waiting for someone who is good at this to fix it.
    
    Signed-off-by: Ronald G. Minnich <[email protected]>
    rminnich committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e49e2ff View commit details
    Browse the repository at this point in the history