News for hackers. Stuff that matters.
Re:Why MacPaint's Original Canvas was 416 Pixels Wide by frozenport on Sunday December 29, 2013 @08:31PM (#6982535)
Except it didn't because there are 14. Unsurprisingly it was aesthetics.
Re:Why MacPaint's Original Canvas was 416 Pixels Wide by jrlocke on Sunday December 29, 2013 @09:32PM (#6982698)
One was reserved for the stack pointer, so 13*32=416.
Re:Why MacPaint's Original Canvas was 416 Pixels Wide by lostlogin on Sunday December 29, 2013 @10:04PM (#6982794)
Thanks. This is close but off then: The drawing area is evenly divisible by 13 long words (13x32=416). This is exactly the number of registers that were available in the loop above for the MOVEM.L operation (It appears it could have used 14 registers, but I am guessing the extra 32 pixels would have made the drawing area more cramped by reducing the gray whitespace.
Re:Why MacPaint's Original Canvas was 416 Pixels Wide by joezydeco on Sunday December 29, 2013 @10:26PM (#6982864)
MOVEM.L can address all 16 registers on the 68K but keeping the source and destination pointers in the register bank made the routine run much quicker. You also need SP to get back home, so 13 was all Hertzfeld could use.
Re:Why MacPaint's Original Canvas was 416 Pixels Wide by Stratoscope on Sunday December 29, 2013 @11:23PM (#6983028)
> Hertzfeld

Atkinson

Re:Why MacPaint's Original Canvas was 416 Pixels Wide by joezydeco on Sunday December 29, 2013 @11:25PM (#6983037)
Ooops, you're right. My mistake.