enbies set the BW mode bit
what collective mood would you like to experience soon? [ ] deep purple [ ] full-on fuchsia [ ] pastel [ ] CGA default palette
@foone @Dio9sys @luna this is actually also a practical example of cga programming
although personally i'd do
mov ax, B800h
mov es, ax
instead of popping b800 into es
because the 8086 has specialised instructions for moving to the ax register which most commerical apps use. i think it's slightly slower but doesn't matter in this case
also you can keep the segment in ax, which if you want to change the program later to do something else, or port it to EGA/VGA, will be helpful
@Dio9sys you might want to check out the website for my port, it has lots of information about the game including a detailed history section that I spent a long time researching!
https://fragglet.github.io/sdl-sopwith/
It was the 40th anniversary of the game a couple of years ago and I did an hour long interview with the creator of the game which you can find on Youtube