3 ms·
The support for graphics depended a lot on the particular computer. The TRS-80 color computer had BASIC commands to draw lines, circles, and flood fills. Appl
by PaulHoule 4y ago
The support for graphics depended a lot on the particular computer. The TRS-80 color computer had BASIC commands to draw lines, circles, and flood fills. Appleoft BASIC could draw lines. The C-64 had a great selection of block and line drawing characters you could type on the keyboard but you had to use PEEK and POKE to do dot addressable graphics. For that matter the C-64 had the best sound chip of any computer that that point but using it in BASIC was all PEEK and POKE.
- richardjam73 4y agoOn the VIC20 you had to make the video chip change the address of the character ROM so part of it pointed to RAM. Then you alter that memory to change the pixels in a character (8x8). Then anywhere that character was drawn on screen the altered graphics would show. In order to draw graphics like a bitmap screen you had to use multiple characters in a grid like. ABCDEF GHIJKL MNOPQR Then you had to calculate the which character held which pixels and then alter the bytes inside that character to alter the exact pixel you wanted. So a pixel at 7,7 would be inside the A but a pixel at 10,10 would be inside the H.
- greenbit 4y agoIf you had a C64, you had to have that book, The Programmer's Reference Guide. It was all in there. Still have mine here somewhere
- PaulHoule 4y agoIt wasn't until the C128 came along that BASIC gave you more amenity than PEEK or POKE to access that GFX and sound but the capability of that system was better than any other computer of its era.