You will need bash version 4 for this to run. So for those of you in the 1990’s you are out of luck.
And to make this fun, the 2kb basic ‘ROM’ is bootstrapped into RAM for immediate execution!
$ ./8080.sh Quick and dirty i8080 emulator by NASZVADI Peter, 2019. Press Ctrl+C to quit anytime! Initializing upper memory to NOPs Initializing register values Starting CPU emulation OK >10 PRINT "HIHI" >RUN HIHI OK >
And for anyone even more crazy there is always BDS C: which was opened up back in 2002, a K&R for the 8080 on CP/M!