I think you caused enough damage to the lining of the stomach
and you have slow bleeding. That's what turns black when it comes out
when you throwup.
If you have been a steady drinker for a number of months or years, it
is possible that you could have alcoholic liver disease
. If you have
advanced liver disease with scarring or cirrhosis , you can have complications
related to that including esophageal varices
which are enlarged veins in the
lower part of the esophagus
which can bleed.
If you have had indigestion
and stomach pains for sometime, it is possible
you can have a small ulcer in the lower part of the stomach which could get
irritated by aspirin, ibuprofen etc along with alcohol.
Stop drinking and have your liver blood tests done if you have been a heavy
or steady drinker to assess the damage already done. You might need an
upper GI x-ray if you have ulcer symptoms.
Stay on a bland diet and you can take Omeprazole
twice a day for few days.
I wish you well.