|
|
|
|
|
by deadbytes
1907 days ago
|
|
I would encourage all developers to download a Commodore 64 emulator and spend some time learning 6502 assembly. There is no memory protection and no software abstractions. You display graphics on the screen by writing directly to video memory. Programming for the C64 made me have innumerable lightbulb moments and significantly changed my perspective on what a computer really is. |
|
You can have similar experience with a little more power by writing code in mode 13h for dos. Want to light a pixel with specific color? Change byte of memory at A000 + y*320+x :).
You have 256 colors, every pixel is a byte, and you have another place in memory where it says what each color number maps to in rgb values. So you can do palette animations trivially.
There is no easier way to program graphic IMHO.
You can use any language - my favorite was Turbo Pascal 7 (but the compiler has a bug that breaks on cpus with over 200 MHz clock - you need to download turbo pascal and a patch that fixes this issue for example https://www.trsek.com/download/T7tplfix.zip ).