Last active
          December 1, 2018 11:41 
        
      - 
      
 - 
        
Save danfal/c98e8cc5c7a94e94c89964e011650fd4 to your computer and use it in GitHub Desktop.  
    overthewire-day0 köra i bochs emulator
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # installera bochs och bochs-x gui plugin | |
| # Skapa en 1.44MB floppy drive med interaktiva programmet 'bximage' | |
| # dd conv=notrunc if=day0.bin of=a.img | |
| # Skapa en bochsrc.txt som innehåller: | |
| megs: 160 | |
| floppya: image="a.img", status=inserted # a.img = 1.44MB floppy generated with bximage, day0.bin dd'd into first 513 bytes (dd conv=notrunc if=day0.bin of=a.img) | |
| boot: floppy | |
| cpu: count=1 | |
| vga: extension=vbe | |
| mouse: enabled=0 | |
| log: bochs.log | |
| logprefix: %t%e%d | |
| panic: action=report | |
| error: action=report | |
| info: action=report | |
| debug: action=report | |
| display_library: x, options="gui_debug" | |
| # KÖR bochs utan arg i samma dir som bochsrc.txt/a.img | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment