Exemplo n.º 1
0
    patcher.setwstring(0x080f9a94,
                       "No Fix")

    # Change the manufacturer string. *Never Worked...*
    #    patcher.setstring(0x080f9588,
    #                      "Travis Goodspeed KK4VCZ");
    # Change the device name.
    patcher.setstring(0x080d0eb4,
                      "Patched MD-380/390G")

    # freeing ~200k for code patches
    patcher.ffrange(0x0809bda8, 0x80d0614)

    # This mirrors the RESET vector to 0x080C020, for use in booting.
    patcher.setword(0x0800C020,
                    patcher.getword(0x0800C004),
                    0x00000000)

    # This makes RESET point to our stub below.
    patcher.setword(0x0800C004,
                    0x0809bf00 + 1
                    )

    # app start @  0x0809c000
    patcher.sethword(0x0809bf00, 0x4840)
    patcher.sethword(0x0809bf02, 0x2100)
    patcher.sethword(0x0809bf04, 0x3901)
    patcher.sethword(0x0809bf06, 0x4508)
    patcher.sethword(0x0809bf08, 0xd100)
    patcher.sethword(0x0809bf0a, 0x483c)
    patcher.sethword(0x0809bf0c, 0x4700)
Exemplo n.º 2
0
    patcher.setwstring(0x080d0b6c, "MD380Tools Ver.")

    #Fix some bad grammar
    patcher.setwstring(0x080f9a94, "No Fix")

    #Change the manufacturer string. *Never Worked...*
    #    patcher.setstring(0x080f9588,
    #                      "Travis Goodspeed KK4VCZ");
    #Change the device name.
    patcher.setstring(0x080d0eb4, "Patched MD-380/390G")

    # freeing ~200k for code patches
    patcher.ffrange(0x0809bda8, 0x80d0614)

    #This mirrors the RESET vector to 0x080C020, for use in booting.
    patcher.setword(0x0800C020, patcher.getword(0x0800C004), 0x00000000)

    #This makes RESET point to our stub below.
    patcher.setword(0x0800C004, 0x0809bf00 + 1)

    # app start @  0x0809c000
    patcher.sethword(0x0809bf00, 0x4840)
    patcher.sethword(0x0809bf02, 0x2100)
    patcher.sethword(0x0809bf04, 0x3901)
    patcher.sethword(0x0809bf06, 0x4508)
    patcher.sethword(0x0809bf08, 0xd100)
    patcher.sethword(0x0809bf0a, 0x483c)
    patcher.sethword(0x0809bf0c, 0x4700)

    #Stores the RESET handler for our stub.
    patcher.setword(0x0809bffc, patcher.getword(0x0800C020), 0xFFFFFFFF)
Exemplo n.º 3
0
    #patcher.nopout((0x0802D69A))
    #patcher.nopout((0x0802D69A + 0x2))
	
    #patcher.nopout((0x0802D682))
    #patcher.nopout((0x0802D682 + 0x2))
	
	# remove volume screen
    patcher.nopout((0x0801FED2))
    patcher.nopout((0x0801FED2 + 0x2))

    # freeing ~200k for code patches
    patcher.ffrange(0x0809aee8, 0x080cf754)

    # This mirrors the RESET vector to 0x080C020, for use in booting.
    patcher.setword(0x0800C020,
                    patcher.getword(0x0800C004),
                    0x00000000)

    # This makes RESET point to our stub below.
    patcher.setword(0x0800C004,
                    0x0809af00 + 1)

    # This stub calls the target RESET vector,
    # if it's not FFFFFFFF.
    patcher.sethword(0x0809af00, 0x4840)
    patcher.sethword(0x0809af02, 0x2100)
    patcher.sethword(0x0809af04, 0x3901)
    patcher.sethword(0x0809af06, 0x4508)
    patcher.sethword(0x0809af08, 0xd100)
    patcher.sethword(0x0809af0a, 0x483c)
    patcher.sethword(0x0809af0c, 0x4700)