Got dots example working. I am drawing all the pixels pretty inefficiently. I dont know how to copy the pixels in the back buffer to the display buffer and vice versa. I also scaled down the number of pixels from 10000 in the original example, to 3500. When I run the old dos example, it draws all 10000 pretty fast, but it doesnt look like there is 10000 pixels on the screen. When I run the allegro version, it draws relatively fast, but it seems like it is drawing way more, so it takes longer. Weird.
Got dots example working.
I am drawing all the pixels pretty inefficiently. I dont know how to copy the pixels in the back buffer to the display buffer and vice versa. I also scaled down the number of pixels from 10000 in the original example, to 3500. When I run the old dos example, it draws all 10000 pretty fast, but it doesnt look like there is 10000 pixels on the screen. When I run the allegro version, it draws relatively fast, but it seems like it is drawing way more, so it takes longer. Weird.

nbrookie/game_programming_21_days_allegro