Hello everyone,
I'm investigating a problem with my trs-80 game using trs32 under windows for the model I.
My code tries to find whether the model I is in wide character mode. I thought this could be achieved by examining bit 6 (ie mask 0x40) reading port 0xff. This is indeed the case under SDLTRS. 1=>wide, 0=>normal.
However, recent versions (eg 1.28) of TRS32 do not report this (worked for old versions). It appears trs32 reports the inverted bit, ie 1=>normal, 0=> wide.
For example, in trs32 in BASIC
PRINT INP(255) gives 127
then
PRINT CHR$(23)
PRINT INP(255) gives 63
trying the same commands in SDLTRS gives the opposite values.
Which is correct? If you have a real model I handy, I'd be very interested to know what the above basic commands give on the real machine.
thanks for any help,
-- hugh.
I'm investigating a problem with my trs-80 game using trs32 under windows for the model I.
My code tries to find whether the model I is in wide character mode. I thought this could be achieved by examining bit 6 (ie mask 0x40) reading port 0xff. This is indeed the case under SDLTRS. 1=>wide, 0=>normal.
However, recent versions (eg 1.28) of TRS32 do not report this (worked for old versions). It appears trs32 reports the inverted bit, ie 1=>normal, 0=> wide.
For example, in trs32 in BASIC
PRINT INP(255) gives 127
then
PRINT CHR$(23)
PRINT INP(255) gives 63
trying the same commands in SDLTRS gives the opposite values.
Which is correct? If you have a real model I handy, I'd be very interested to know what the above basic commands give on the real machine.
thanks for any help,
-- hugh.