Bitcoin Mining on Mac Classic

If/when it becomes developed enough, quantum computers would probably do it in a few minutes at most.

c
 
LOL, you guys are such hater nerds!

It speaks highly of this community that you got as warm and friendly a response as you did.

I don't know how to code, yes its LLM driven, I thought it would be fun and funny to make a program that can actually mine bitcoin on my mac classic I just restored...

That would be quite funny, if you had actually made it. That you had gone to such effort for something that nominally works but is essentially useless would be quite entertaining.

As a Bitcoin enthusiast, I expect you're familiar with proof of work. That's what gives you cred (as in actual credits) on the blockchain, and it also works (as credibility) in real life.

I think if you start out with the thought in your head of, "oh man! that's so funny and awesome" and then judge the project based upon that starting point its easier to evaluate it as intended; a useless and fun exercise in futility...

Unfortunately, it appears your project has been upstaged by your initial misrepresentation of it.

I did have a look at the "Hand-tuned SHA-256 implementation", though (leading me to wonder whose hand was involved, if not yours), and I'd like to call attention to this gem:

Code:
; Optimized 32-bit rotate right
; Input: D0.L = value, D1.W = shift count
; Output: D0.L = rotated value
; Uses: D2, D3, D4 (caller saved)
ROTR_ASM:
        MOVEM.L D2-D4,-(SP)     ; Save registers we use
        MOVE.L  D0,D2           ; Copy value to D2
        MOVE.W  D1,D3           ; Get shift count
        ANDI.W  #31,D3          ; Mask to 0-31
        LSR.L   D3,D0           ; Shift right by n
        MOVEQ   #32,D4          ; Load 32
        SUB.W   D3,D4           ; Calculate 32-n
        LSL.L   D4,D2           ; Shift left by (32-n)
        OR.L    D2,D0           ; Combine both parts
        MOVEM.L (SP)+,D2-D4     ; Restore registers
        RTS

Whether this can be optimized further is left as an exercise for the reader.
 
Back
Top