Added more scripting support to PCx86 (eg, for loading disks, typing keys, and waiting for both to finish)

This commit is contained in:
Jeff Parsons 2017-07-25 10:30:29 -07:00 committed by Jeff Parsons
commit 1b987df6e2
9 changed files with 1251 additions and 1186 deletions

View file

@ -11,7 +11,16 @@ machines:
path: /disks/pcx86/dos/ibm/2.00/PCDOS200-DISK1.json
B:
path: /disks/pcx86/apps/ibm/topview/1.01/TOPVIEW101-PROGRAM.json
autoType: \r\rb:\rtv\r
commands:
autoRun: |
type Keyboard "$date\r$time\r";
wait Keyboard;
sleep 1000;
select FDC listDrives "A:";
select FDC listDisks "MS Mouse 5.00 (System)";
loadDisk FDC;
wait FDC;
type Keyboard "MOUSE\r";
---
TopView 1.01
@ -28,6 +37,8 @@ paragraphs of English text will likely eliminate the problem.
{% include machine.html id="ibm5160" %}
Click this button: {% include machine-command.html type='button' label='Load' machine='ibm5160' command='autoRun' %}
### Directory of TopView 1.01 (Program)
Volume in drive A is TV101032885