mfld-fr / emu86

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

ELKS BIOS reduction and add color to text #60

Closed ghaerr closed 3 years ago

ghaerr commented 3 years ago

Removes functions never called by ELKS (Direct, BIOS or Headless Console) from ROM BIOS.

Tested and works on Direct and BIOS Console.

BTW, ELKS BIOS Console runs well on stdio backend (both ELKS and PCXTAT targets).

This will allow @cocus and others to understand the minimal BIOS required for porting ELKS. Will be updating ELKS porting-guide.txt on ELKS as well.

ghaerr commented 3 years ago

@mfld-fr : We need to revert back VID_SIZE to VID_PAGE_SIZE made by 65aea5f8d10735bd14c71754664ab51f7e9787bc otherwise writing outside first page video RAM could cause SDL backend to segvio.

I will update this back to VID_SIZE once pages are implemented (required only for multiple consoles).

ghaerr commented 3 years ago

@mfld-fr : Check this out!

QEMU

QEMU

EMU86

EMU86
cocus commented 3 years ago

Wow, amazing!

mfld-fr commented 3 years ago

It is ever better with colors :smile:

mfld-fr commented 3 years ago

Don't forget to squash your commits, 'Cleanup' / "More cleanup" are not really meaningful titles for later digging if needed...

ghaerr commented 3 years ago

Don't forget to squash your commits, 'Cleanup' / "More cleanup" are not really meaningful titles for later digging if needed...

Thanks, I will in the future. I got a little excited and added the EGA in 20 minutes, then needed some cleanup :)

mfld-fr commented 3 years ago

Not in the future, but starting from this PR, please, because the commit log starts to have too much unaccurate titles, and I would like to keep the house clean, and the history understandable at a glance.

ghaerr commented 3 years ago

Ok, I have squashed the cleanup commits, thanks.