Is she....you know...CGA palette 1?
GitHub - lunasorcery/cga-trans-flag: Sizecoding a trans pride flag in x86 DOS assembly.

Sizecoding a trans pride flag in x86 DOS assembly. - lunasorcery/cga-trans-flag

GitHub

@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

@starfrost @foone @Dio9sys worth noting that i wrote this eight years ago and i barely knew what i was doing (i still don’t but i didn’t then either)
@luna @foone @Dio9sys i have no idea what i am doing either i was just realy bored so i read all of your code
@luna @foone @Dio9sys also div and mul are comically slow on the 8086 (worst case - 180 cycles) (to clarify it is a very good program)