mfld-fr / emu86

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

Add automatic map file processing #80

Closed ghaerr closed 2 years ago

ghaerr commented 3 years ago

Adds automatic map file reading work started in #70.

Map file read directly by EMU86. Works on Intel and AT&T display. ELKS kernel near text segment displays properly, still needs mechanism for determining multiple text segment mappings to map file.

ghaerr commented 3 years ago

With regards to EMU86 learning the values of the near and far text segments, for proper symbol display, this could possibly be done with some known offsets into the a.out header in 'Image', and using the a.out header values with some pre-known values of the lower memory segments in ELKS config.h. At first I didn't like the idea of EMU86 having to know about internal 'Image' input formats, but it is already doing the same (in some ROM targets) by inspecting the contents of option ROMs.

Thoughts?

mfld-fr commented 2 years ago

Hello @ghaerr, keeping an eye on this PR, but as this is related to a nice but a big feature, I will work on it after personnal matters that currently take a lot of my free time...