3 ms·
Seconding this, especially the bit about colored screens. Sometimes, you just need a simple way to get some information up on the screen at a minimal cost to ru
by ANTSANTS 13y ago
Seconding this, especially the bit about colored screens. Sometimes, you just need a simple way to get some information up on the screen at a minimal cost to runtime performance and code-complexity.
I'd find it hard to believe that anyone back in the day didn't use the "change the color of the background by manipulating the hardware color palette during different sections of the frame logic so you can 'see' how long each part is taking" trick.
- shabble 13y agoI'd never heard of it until I came across it mentioned/shown[2] in the [unofficial] C-64 Prince of Persia conversion[1] linked from some HN thread the other day. I've done the Storage Oscilloscope + pin twiddling for profiling embedded stuff though, and for a few short minutes, was convinced I'd invented something brilliant. :) [1] http://popc64.blogspot.co.uk/2011/10/part-one-why-hell-would-anyone-want-to.html http://popc64.blogspot.co.uk/2011/10/part-one-why-hell-would... [2] http://popc64.blogspot.co.uk/2012/01/part-nine-optimizations-for-princess.html http://popc64.blogspot.co.uk/2012/01/part-nine-optimizations...