This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
doors:tutorials:dos:dosonpi [2021/01/25 07:52] avon |
doors:tutorials:dos:dosonpi [2021/01/25 07:53] avon |
||
---|---|---|---|
Line 132: | Line 132: | ||
alias auto=edit %0 | alias auto=edit %0 | ||
CALL D:\RUN.BAT | CALL D:\RUN.BAT | ||
- | ---------------------------------------- | + | ---------------------------------------- |
Note how the batch file ends with CALL D:\RUN.BAT. RUN.BAT is the | Note how the batch file ends with CALL D:\RUN.BAT. RUN.BAT is the | ||
Line 139: | Line 139: | ||
=== Setting up the doorgames === | === Setting up the doorgames === | ||
- | |||
You will want to run the DOS VM initially, to setup your doorgames. To do | You will want to run the DOS VM initially, to setup your doorgames. To do | ||
Line 145: | Line 144: | ||
I've written a simple batch file that will load the VM. | I've written a simple batch file that will load the VM. | ||
- | ---------------------------------------- | + | ---------------------------------------- |
- | #!/bin/sh | + | #!/bin/sh |
- | + | ||
- | rm /home/bbs/temp${NODE}/run.bat | + | rm /home/bbs/temp${NODE}/run.bat |
- | + | ||
- | qemu-system-i386 \ | + | qemu-system-i386 \ |
- | -localtime \ | + | -localtime \ |
- | /home/bbs/doors/qemu/freedos.img \ | + | /home/bbs/doors/qemu/freedos.img \ |
- | -boot c \ | + | -boot c \ |
- | -hdb fat:/home/bbs \ | + | -hdb fat:/home/bbs \ |
- | -m 1024 | + | -m 1024 |
- | ---------------------------------------- | + | ---------------------------------------- |
If you are running this remotely, from a terminal like putty, you can add | If you are running this remotely, from a terminal like putty, you can add | ||
the -curses flag. That will give you an interactive shell into the VM. | the -curses flag. That will give you an interactive shell into the VM. | ||
- | |||
The method used for running the VM will mount the /home/bbs directory as | The method used for running the VM will mount the /home/bbs directory as |