I have tried running ofw without BIOS
(as per http://www.openfirmware.info/Building_OFW_for_QEMU)
and it seems that VGA support does not work.
I am using config-virtualbox.fth as advised.
I have uncommented "console-serial" in config.fth
to be able to interact with the console and run:
qemu-system-i386 -m 32 -bios emuofw.rom -hda fat:. -serial stdio
(this qemu 2.4.0 on FreeBSD/amd64)
"show-devs" reports (this is with video.fc included)
I have tried uncommenting
as well as uncommenting
in cpu/x86/pc/emu/config.fth, none of which
improves the situation.
When I switch consoles in qemu the VGA screen
says "Guest has not initialized the display (yet)"
Any hints to troubleshoot this?
1) Would that be possible to have a dual-console mode
(similar to what FreeBSD early bootloader has) so that
both vga and serial console are active? ofw prints
messages on the serial console even if disabled, only
input is not working.
2) Initially I thought ofw is completely dead
and I have run it under gdb, only to figure out
I am running in the Forth inner interpreter:
0xff9fc000: lods %ds:(%esi),%eax
=> 0xff9fc001: jmp *(%eax)
Is there any way to have "symbol table" to
map word addresses to the word names? (I figured
out I can tick the word to get its address).