i GUESS i could make it easier on myself scrapping the idea of using quickbasic entirely and just learning DOS syscalls in C instead if i wanna do stuff from scratch BUT somehow my brain has chosen this instead
and the thing i want to do doesn't even need to be in assembly i just wanna make it faster and quickbasic doesn't treat bitwise arithmetic too kindly when you have to do everything with ASC$ and CHR$