在2020年12月19日十二月 下午8:13,BALATON Zoltan写道:
> On Sat, 19 Dec 2020, Jiaxun Yang wrote:
> > It can now boot Debian installer[1] as well as a custom PMON bootloader
> > distribution[2].
> >
> > Note that it can't boot PMON shipped with actual machine as our ATI vgabios
> > is using some x86 hack that can't be handled by x86emu in original PMON.
>
> This may be similar problem that I've seen with similar PPC firmwares:
>
> https://osdn.net/projects/qmiga/wiki/SubprojectAti
> https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2#h3-Known.20issues
>
> TLDR; vgabios-ati.bin is compiled for i386 real mode (bacause that's what
> gcc can do, real x86 real mode would need something like bcc I think) that
> some x86emu can't handle. You can either use Bochs vga bios via romfile
> property of the vga emulation or try the option for x86emu when compiling
> vgabios-ati.bin (which did not help the firmwares I've tried).
Hi,
Thinks for your reminder!
To be more specified, our x86emu in PMON can handle i386 real mode,
however vgabios-ati uses INT15h when INT10h ax=0x4f01 (Get VESA Mode)
is called. And x86emu won't process INT15h properly.
My workround[1] is to allow 0x4f01 to be failed in PMON, as ax=0x4f02
(Set VESA Mode) do work, it won't be a actual problem.
- Jiaxun