Search Results
7/7/2025, 6:04:26 PM
>>105822760
>Post a random elisp function that you use everday but most of the pp wouldn't
(defun ips-patch (buffer address data)
(with-current-buffer buffer
(hexl-goto-hex-address address)
(hexl-insert-hex-string data 1)))
; add 1 gold each frame
; 001ffac0:
; 303c 0001 move.w #$0001, d0
; 4eb9 0001 0328 jsr AddGold
; 4e75 rts
(ips-patch
"a.bin"
"1ffac0"
"303c 0001 \
4eb9 0002 0328 \
4e75")
I don't think most people mess with game roms in emac
>Post a random elisp function that you use everday but most of the pp wouldn't
(defun ips-patch (buffer address data)
(with-current-buffer buffer
(hexl-goto-hex-address address)
(hexl-insert-hex-string data 1)))
; add 1 gold each frame
; 001ffac0:
; 303c 0001 move.w #$0001, d0
; 4eb9 0001 0328 jsr AddGold
; 4e75 rts
(ips-patch
"a.bin"
"1ffac0"
"303c 0001 \
4eb9 0002 0328 \
4e75")
I don't think most people mess with game roms in emac
Page 1