On 08.09.2017 22:32, William Mahoney wrote: > > I thought I would look at the -bios first and I had some time this afternoon. > If you’re the right age group you will understand when I say "YOU ARE IN A > MAZE OF TWISTY LITTLE PASSAGES, ALL ALIKE”.
No, looks like I'm too young - my first computer was an Atari ST, and I've never seen a version of that game on this machine. > "digic_load_rom()" knows the filename via an extern “bios_name” which is at > “include/sysemu/sysemu.h” but really lives in “vl.c”. It is set based on > “machine_ops” that comes from “qemu_get_machine_opts()” which in turn comes > from “emu_find_opts_singleton()” which is in "util/qemu-config.c”… > > Shortcut time. Presumably there is a way to specify some command line switch, > described as “-bios”, and have the filename end up at “digit_load_rom()”. But > I don’t see the direct path, or a header with all the options listed for the > specific machine, or… Can you walk me through how a “-bios” command line > switch is actually supposed to appear (it doesn’t on qemu-system-arm)? It should just be there (also on qemu-system-arm). For example, try to add a "fprintf(stderr, "bios_name = %s\n", bios_name);" into the mcf5208evb_init() and then run "qemu-system-m68k -bios /tmp/file" - you should be able to see "bios_name = /tmp/file" in the output of QEMU. Thomas