mfld-fr / emu86

Intel IA16 emulator for embedded development
35 stars 6 forks source link

ELKS boot from disk image fails #52

Closed ghaerr closed 3 years ago

ghaerr commented 3 years ago

After commit of #50, I refreshed repo which had a couple other changes to it during time PR was being constructed.

Upon refresh, same ELKS image which works on #50 fails to boot with the following startup and error:

$ emu86 -I ../elks-gh/image/fd1440.bin 
info: disk image ../elks-gh/image/fd1440.bin (DCHS 0/80/2/18)
error: execute operation
AX 0800  BX 0004  CX 4F12  DX 0080  FL 0001
SI 0000  DI 0000  IP BBB4  SP 213E  BP 0000
DS 0000  ES 0000  CS 02C0  SS 1233

CF 1  PF 0  AF 0  ZF 0  SF 0  TF 0  IF 0  DF 0  OF 0

02C0:BBB4  CD 13              int     $0x13
>
Screen Shot 2021-05-08 at 10 07 04 AM

Image attached: fd1440.bin.zip

Any ideas? I don't yet know if this has to do with 8-bit ADD fix or an INT 13h modification. I thought I'd ask before digging into it.

ghaerr commented 3 years ago

Found it: commit ed08ed5b7f6c67ca9fc262473c3cf968cdbe5a6b changes INT 13h to return 'err' rather than 0.

This is likely because a subfunction not implemented. I will find and submit a PR.