A kind of POC... and much work remaining :-)
MFLD
/home/mfld/advantech/dev86/emu86 $ ./emu86 -w 0xe0000 -f
../../elks/elks/arch/i86/Image -x 0xe000:0x42 -i
info: load address E0000h
info: load file ../../elks/elks/arch/i86/Image
info: file size=10000h
success: file loaded
info: execute address E000h:0042h
info: PTS for serial emulation: /dev/pts/2
AX 0000 BX 0000 CX 0000 DX 0000 FL 0000
SI 0000 DI 0000 SP 0000 BP 0000
DS 0000 ES 0000 SS 0000 CS E000 IP 0042
CF 0 PF 0 AF ? ZF 0 SF 0 TF ? IF 0 DF 0 OF 0
E000:0042 B8 60 00 MOV AX,0060h
>g
warning: INT3
/home/mfld/advantech/dev86/emu86 $ ./pcat `cat emu86.pts`
Loading kernel image...
C
onsole: BIOS 80x25 emulating ANSI (3 virtual consoles)
PC/XT class machine, NEC V20 CPU
512K base RAM.
ELKS kernel (39008 text + 4168 data + 48648 bss)
Kernel text at e062:0000, data at 90:0000
458 K of memory for user processes.
ELKS network sockets
TCP/IP stack by Harry Kalogirou
ELKS version 0.2.0
panic: VFS: Unable to mount root fs on FFFF
apparent call stack:
Line: Addr Parameters
~~~~: ~~~~ ~~~~~~~~~~
0: 1D59 => 0000 7102 0000 0000 0000 0000 0000
1: 00B7 => 0000 0000 0000 0000 0000 0000 0000
2: 0000 => CE50 0000 0000 0001 0000 6166 6C69
3: 1048 => 0000 0000 0000 0000 0000 0000 0000
4: 0000 => CE50 0000 0000 0001 0000 6166 6C69
5: 1048 => 0000 0000 0000 0000 0000 0000 0000
6: 0000 => CE50 0000 0000 0001 0000 6166 6C69
7: 1048 => 0000 0000 0000 0000 0000 0000 0000
8: 0000 => CE50 0000 0000 0001 0000 6166 6C69
SYSTEM LOCKED - Press CTRL-ALT-DEL to reboot:
--
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html