In a message dated 03/01/03 17:28:48 GMT Standard Time, [EMAIL PROTECTED] writes:



Even so, it will sometimes be necessary to check for the presence of GD2
initially:



I have had to deal with programs which need to know whther the mode is 4 or 8.
When mode 33 appeared I changed the (assembler) code slightly to trap the modes 32 and 33. Unless GD2 modes 0,4 and 8 are used (are they really?) then the ordinary mode trap tells you the situation. Of course, if the low GD2 modes 0, 4 and 8 are used as machine native modes, then the mode trap should be extended in a universally accepted way.

George

rem Init
if GD2 then blue = $70: ....: else blue = 0: ....
....
rem Main
ink#ch;blue
....

This cant be done automatically without retro-engineering Qdos.

Per







Reply via email to