Skip to content

Commit

Permalink
Added notes about VirtualBox
Browse files Browse the repository at this point in the history
  • Loading branch information
nanochess committed Apr 13, 2024
1 parent 544fbf2 commit 2d5b03d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ Use this command line:
nasm -f bin ray.asm -Dcom_file=1 -o ray.com
nasm -f bin ray.asm -Dcom_file=0 -o ray.img

Tested with VirtualBox for macOS running Windows XP running this interpreter, it also works with DOSBox and probably with QEMU:
Tested with VirtualBox for macOS running Windows XP and also executing directly the bootsector. It probably works with QEMU:

qemu-system-x86_64 -fda ray.img

Because DOSBox-X runs very slowly, I further tested with VirtualBox over Windows 11 (Asus TUF F17), created a Windows XP 32-bit machine (you don't need to install Windows nor a hard disk image), in Configuration/Storage in the bottom there is a icon saying "Add controller", choose I82078 (floppy), then click "Add floppy drive", and select the boot sector as image (ray.img).

![Ray tracer in a boot sector](RayTracer.png)

## More on this?
Expand Down

0 comments on commit 2d5b03d

Please sign in to comment.