I've been given the task of converting an antique QBasic program to C++(normal code) MSVC++ to be specific. The 3 lines that are giving me the most trouble are below the first one I've figured out and is working:
OPEN "com2:600,n,8,1,cd0,cs0,ds0,op0" FOR INPUT AS #3: CLOSE 3
That took awhile, the next two have me completely baffled;
OUT &H288, 3
OUT &H288, 1
How can I do that in C++, I'm not seeing any way of doing this on a single thread & that's what I gota use.
Theres also this one:
It's writing to & reading from a com port thats connected to device 'x', I just can't find a C function that'll do that the way QBasic does. I'm also not that good with hardware code...
I've been at this 13 hrs straight, any help would be appreciated.