# gbos README demo: cold boot -> uname -> ping -> IRC session. # Run inside tmux, with the hub already up: # sudo tools/gbhub --daemon # tools/gbdemo demo/readme.gbd # Produces /tmp/gbos-demo.gbv and demo/gbos-demo.gif. # # Every waitfor syncs on REAL screen text (the terminal's WRAM shadow), so # boot, DHCP and IRC-server timing can vary without breaking the choreography. # --bios: boot through our forked CGB boot ROM (SL0PBOY logo drop + chime) spawn --chrome --bios record /tmp/gbos-demo.gbv 2 # BIOS animation (~4s), then cold boot: dmesg, DHCP lease, shell prompt waitfor "/# " 90 wait 2 slowtype uname -a waitfor gbos 10 wait 2.5 # ping the gateway (4 echoes, then back to the prompt) # 4 echoes + summary, back at the prompt slowtype ping 10.0.0.1 waitfor "/4 received" 20 wait 1.5 # IRC: connect, register, join, say hi, part (server = the hub gateway) slowtype irc 10.0.0.1 sl0pboy waitfor "registering" 30 # server intro/MOTD flowing waitfor "-!-" 60 wait 5 slowtype /join #~blasty wait 8 slowtype hello from a 8MHz game boy color running gbos wait 6 slowtype /quit waitfor "/# " 20 wait 3 recordstop gif demo/gbos-demo.gif --scale 2 stop