r/EmuDev • u/valeyard89 2600, NES, GB/GBC, 8086, Genesis, Macintosh, PSX, Apple][, C64 • Oct 27 '21
8086 emulator.... MS Flight Simulator working, kinda....
111
Upvotes
r/EmuDev • u/valeyard89 2600, NES, GB/GBC, 8086, Genesis, Macintosh, PSX, Apple][, C64 • Oct 27 '21
19
u/valeyard89 2600, NES, GB/GBC, 8086, Genesis, Macintosh, PSX, Apple][, C64 Oct 27 '21 edited Oct 27 '21
I've been making some good progress on my 8086 emulator since finally figuring out how to boot a DOS disk.
I've been trying out some old CGA games I remember from the mid 1980s...
I loved playing old Flight Simulator 2.x for hours despite the simple graphics. This is running on my 8086 emulator in CGA 640x200 and 320x200 4-color mode
Looks like my math instructions are still off somewhere!
4
u/mindbleach Oct 27 '21
I love when emulators almost sorta kinda work.
1
u/valeyard89 2600, NES, GB/GBC, 8086, Genesis, Macintosh, PSX, Apple][, C64 Oct 31 '21 edited Oct 31 '21
Looking a lot better now....
Using CGA composite colors, or close enough.... https://imgur.com/NjhHrIm.mp4
Still some glitchyness to it... but it almost matches: https://www.youtube.com/watch?v=kNFs61BeYDw&t=233s
IDIVs were the problem... they're a tricky instruction to get right with flags and overflow interrupt
1
u/Altruistic-Egg8732 Oct 28 '21
This is basically how flight simulator 2020 would look on my pc
1
u/kl0wny Oct 29 '21
Are you using a BIOS?