3 ms·
Please, reach out to Woz and let him know you found a tiny mistake in his forty-year-old work. Let me know what he says.
by Cyberdog 8y ago
Please, reach out to Woz and let him know you found a tiny mistake in his forty-year-old work. Let me know what he says.
- tom_ 8y agoWhy do you think Wozniak would care? Man is a multi-milionaire on account of his Apple shares, and has better things to do these days than bum single bytes out of 6502 code ;) My post is made for the benefit of current and future 6502 programmers. I guess you must not be a 6502 programmer, because if you were, your response would be, like, "dude, fuck, that's awesome, holy shit, let me take some notes". Because that was what my response was the first time I saw this code. And that's why I'm passing it on.
- saagarjha 8y ago> Why do you think Wozniak would care? From the little I know about him, this seems like exactly the thing he would care about.
- jackhack 8y agoYou are correct. in 2014 he woke up in a hotel in equador with an idea for saving a few chips (and add two grey-levels) in the Apple ][ design. https://www.cultofmac.com/302087/38-years-later-woz-still-thinks-ways-improve-apple-ii/ https://www.cultofmac.com/302087/38-years-later-woz-still-th... So yes, he would care.
- wzdd 8y agoJust wanted to let you know that I worked through this, and I agree, it's cool... ... but no neat hack can justify the existence of BCD. :)
- IntelMiner 8y agoWoz seems to be the kind of person driven more by a love for the art of technology than some sort of cashed up dilettante
- adiusmus 8y ago6502 zeropage addressing effectively made it a risc by today’s standards. Done right it made for fast and compact code. Sometimes I’d throw in an extra instruction as alternate entry point into a subroutine. We’d be scrounging for ROM space and would adhoc a subroutine into the end of a different one. Time delays were another good reason. An extra cycle mattered when you needed to sync with something. Made for fun times when debugging but you did what you did.
- oh5nxo 8y agoIf you liked that, you might also like http://homepage.divms.uiowa.edu/~jones/bcd/decimal.html http://homepage.divms.uiowa.edu/~jones/bcd/decimal.html
- dwild 8y agoIt's weird how your comment contradict itself. > I guess you must not be a 6502 programmer, because if you were, your response would be, like, "dude, fuck, that's awesome, holy shit, let me take some notes". Can't we consider Woz as being a 6502 programmer?
- tom_ 8y agoIt is weird, isn't it? You might almost think that I just typed out the first thing that sprang to mind, and then clicked 'reply', without even wondering whether it made any sense... well, I couldn't possibly comment. But I do stand by what I said, no matter how much its actual value might be in line with what you paid to see it. Wozniak is massively rich because of his Apple shares, and I claim that does indeed limit his interest in bumming single bytes out of some 6502 code he wrote 40 years ago. And I do also claim it limits how concerned he might be that somebody had spotted some slack in his code. While I'm on this theme, in fact let me guess that you are not a 6502 programmer yourself either ;) Because if you were, even if you'd never seen the nybble->hex trick before, even if you were actually seriously all like "dude, fuck, that's [etc.]" - not that this isn't a reasonable response to this trick, because it is awesome, and rather surprising - you'd still at least be very well aware that in 2018 this is a hobby that even its devotees, e.g., me, would freely consider quixotic. (And that's being very generous.) And you would therefore appreciate the humour.
- SmellyGeekBoy 8y agoProbably something along the lines of "oh wow, that's awesome, great work!" if Woz is the kind of guy he seems to be.