"Kevin P. Lawton" wrote:
> Bryan Meredith wrote:
>
> > BTW, where can I find tools86 so that I can compile it???
>
> [from some old notes I have]
>
> grabbed bcc from ftp://linux.mit.edu/pub/ELKS/dev86/Dev86src-0.14.3.tar.gz
> make bcc
> moved bcc-cc1 to /usr/local/bin
>
> grabbed source from DOSEMU
> dosemu-0.98.4.tgz
> cd src/tools
> egcs -O2 -o tools86 tools86.c
> mv tools86 /usr/local/bin
>
> So, I grabbed tools86 from dosemu.
>
> -Kevin
I've got all of the tools together and can now build the rombios.bin
The trouble is that it doesn't work!
I'm using bochs-2000_0325a source as the base and get the same problem
with the orignal rombios.c file as I get with my modded version. The output
in bochs.out is:
2017 CMOS: write reg 14h: value = 05h
2752 vga: io write: 3cf: reg 05: value = 10h
2777 vga: io write: 3da: ignoring: feature ctrl & vert sync
2789 *** io read 3c5 case 1: sequencer clocking mode
2917 vga: io write 3c0: address mode reg=16
2923 vga: io write 3c0: address mode reg=17
2929 vga: io write 3c0: address mode reg=18
2935 vga: io write 3c0: address mode reg=19
2950 vga: io write 3c0: address mode reg=20
9390 *** io read 3c5 case 1: sequencer clocking mode
9921 vga: io write: 3cf: reg 05: value = 10h
26386 *** io read 3c5 case 1: sequencer clocking mode
132669 ESC0 not implemented
132830 BxError: instruction with op1=0xfe
132830 nnn was 4
132830 WARNING: Encountered an unknown instruction (signalling illegal
instruction):
132830 UndefinedOpcode: fe causes exception 6
132831 BxError: instruction with op1=0xfe
132831 nnn was 4
132831 WARNING: Encountered an unknown instruction (signalling illegal
instruction):
132831 UndefinedOpcode: fe causes exception 6
132832 BxError: instruction with op1=0xfe
132832 nnn was 4
132832 WARNING: Encountered an unknown instruction (signalling illegal
instruction):
132832 UndefinedOpcode: fe causes exception 6
132833 BxError: instruction with op1=0xfe
132833 nnn was 4
and this continues until I kill it.
If I use od -Ax -x on each of the binary files, they are considerably
different.
Was the BIOS-bochs-990925a image generated straight from rombios.c as this
image works fine (well it runs win95 anyway)?
Is there some config difference?
I'm stuck at this point - I can hack the bios to get it to do what I want it
to do but I don't have enough knowledge of x86 to sort out this problem.
Help!
Bryan
PS.
using RedHat 6.1 on dual PIII 700 system.