Skip to content

Instantly share code, notes, and snippets.

@danfal
Last active December 1, 2018 11:41
Show Gist options
  • Save danfal/c98e8cc5c7a94e94c89964e011650fd4 to your computer and use it in GitHub Desktop.
Save danfal/c98e8cc5c7a94e94c89964e011650fd4 to your computer and use it in GitHub Desktop.

Revisions

  1. danfal revised this gist Dec 1, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion day0_bochs.txt
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@
    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#, ips=1000000
    cpu: count=1
    vga: extension=vbe
    mouse: enabled=0
    log: bochs.log
  2. danfal revised this gist Dec 1, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion day0_bochs.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # installera bochs och bochs-x gui plugin
    # Skapa en 1.44MB floppy drive med interaktiva programmet 'bximage'
    # dd conv=notrunk if=day0.bin of=a.img
    # dd conv=notrunc if=day0.bin of=a.img

    # Skapa en bochsrc.txt som innehåller:

  3. danfal revised this gist Dec 1, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions day0_bochs.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    # installera bochs och bochs-x gui plugin
    # Skapa en 1.44MB floppy drive med interaktiva programmet 'bximage'
    # dd conv=notrunk if=day0.bin of=a.img

  4. danfal created this gist Dec 1, 2018.
    20 changes: 20 additions & 0 deletions day0_bochs.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    # Skapa en 1.44MB floppy drive med interaktiva programmet 'bximage'
    # dd conv=notrunk 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#, ips=1000000
    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