Debian Codegraph @

tests/tosboot/disk/ahcc-gemdos

raw
1 # hconsole input file to build disk/gemdos.prg with AHCC
2 #
3 # usage:
4 # 1. symlink ahcc_p.ttp program, include and lib directories for AHCC
5 # under the same directory where this script and sources are
6 # 2. run:
7 # hconsole.py ./ahcc-gemdos -- --machine tt -s 14 -m --tos etos1024k.img .
8 #
9 # Notes:
10 # - EmuTOS 512k or 1024k is needed for EmuCON console
11 # - AHCC requires 030 machine (alternatively you can use AHCCST)
12
13 # boot faster (few secs instead of >10s) and show EmuCON output on console
14 setopt --statusbar off --fast-boot on --fast-forward on --fastfdc on --conout 2
15
16 # wait for EmuTOS to boot
17 sleep 5
18
19 # Invoke EmuCON with ^Z: Control down, press Z, Control up
20 keydown 29
21 keypress Z
22 keyup 29
23
24 # wait EmuCON to accept input
25 sleep 1
26
27 # output command to re-build test.prg
28 text ahcc_p.ttp gemdos.prj
29 # press Return to execute it
30 keypress 28
31
32 # wait build to finish
33 sleep 5
34
35 # kill hatari
36 kill
37 quit