Hugo Holden
Veteran Member
I have an IBM5155 running normally with its IBM CGA graphics card & a CGA monitor. Running the DOS utility CGACAL at the DOS prompt, there is a normal result showing the 16 possible "colors" on the colorbar test pattern. The 5155 computer is running DOS version 3.3 and comes with the BASIC program, it says version A3.3.
Using a modern computer running basic I was able to write a simple BASIC program in Screen 9 mode which pretty well replicates the DOS utility's video image, however when I went to run this simple program in the 5155 in BASIC it reported an illegal function. When I checked I found that the the 5155's BASIC reports an illegal function with any other command entry than screen 0, screen 1 or screen 2. This is pretty limiting for graphics as screen 0 is text only, screen 1 has only 4 "colors" (pink, green white & black) and screen 2 is monochrome.
Since the computer itself & the CGA card & the monitor is capable of supporting 16 colors, why would say "screen 9" or more of the advanced screen options not be allowed from within the BASIC program running on the 5155 ? Could it be the version of BASIC that came with the DOS 3.3? but that seems unlikely since its last listed date is 1987, and is there anything I can do to fix this ? Its odd because these screen commands go back to GW-BASIC. I tried loading QBASIC to the 5155, and it locked it up.
(the other graphics related problem I have, though probably not related, is that the Windows V1.0 I also have running on the 5155 appears in monochrome only and when I adjust the color on the windows preferences panel, it resets the color to zero always and won't produce a color screen image)
Using a modern computer running basic I was able to write a simple BASIC program in Screen 9 mode which pretty well replicates the DOS utility's video image, however when I went to run this simple program in the 5155 in BASIC it reported an illegal function. When I checked I found that the the 5155's BASIC reports an illegal function with any other command entry than screen 0, screen 1 or screen 2. This is pretty limiting for graphics as screen 0 is text only, screen 1 has only 4 "colors" (pink, green white & black) and screen 2 is monochrome.
Since the computer itself & the CGA card & the monitor is capable of supporting 16 colors, why would say "screen 9" or more of the advanced screen options not be allowed from within the BASIC program running on the 5155 ? Could it be the version of BASIC that came with the DOS 3.3? but that seems unlikely since its last listed date is 1987, and is there anything I can do to fix this ? Its odd because these screen commands go back to GW-BASIC. I tried loading QBASIC to the 5155, and it locked it up.
(the other graphics related problem I have, though probably not related, is that the Windows V1.0 I also have running on the 5155 appears in monochrome only and when I adjust the color on the windows preferences panel, it resets the color to zero always and won't produce a color screen image)