Skip to content

Commit

Permalink
1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lesserkuma committed Jan 16, 2021
1 parent 05e71cb commit 65d48f9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion FlashGBX/FlashGBX.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
hw_devices = [hw_GBxCartRW]

APPNAME = "FlashGBX"
VERSION_PEP440 = "1.2"
VERSION_PEP440 = "1.2.1"
VERSION = "v{:s}".format(VERSION_PEP440)

class FlashGBX(QtWidgets.QWidget):
Expand Down
8 changes: 3 additions & 5 deletions FlashGBX/hw_GBxCartRW.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,15 +475,13 @@ def set_mode(self, command):
buffer = format(command, 's')
self.write(buffer)
if command in (self.DEVICE_CMD["VOLTAGE_3_3V"], self.DEVICE_CMD["VOLTAGE_5V"]):
#time.sleep(0.01)
#time.sleep(0.005)
pass

def set_number(self, number, command):
buffer = format(command, 's') + format(int(number), 'x') + '\x00'
self.write(buffer)
if command in (self.DEVICE_CMD["SET_START_ADDRESS"]):
#time.sleep(0.005)
pass
time.sleep(0.005)

def EnableRAM(self, mbc=1, enable=True):
if enable:
Expand Down Expand Up @@ -1181,7 +1179,7 @@ def _TransferData(self, args, signal): # called by thread
self.gbx_flash_write_data_bytes(self.DEVICE_CMD["GBA_FLASH_WRITE_BYTE"], data)

else: # EEPROM / SRAM
self.gbx_flash_write_data_bytes(write_command, data)
self.gbx_flash_write_data_bytes(self.DEVICE_CMD[write_command], data)

self.SetProgress({"action":"WRITE", "bytes_added":len(data)})
self.wait_for_ack()
Expand Down
Binary file modified FlashGBX/res/config.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ The author would like to thank the following very kind people for their help and
- Added a firmware check when writing to cartridges with flash chips manufactured by Sharp (unsupported by GBxCart RW firmware R25)
- Added optional verification of written data after ROM flashing *(thanks marv17 for the suggestion)*

### v1.2 (released 2021-01-16)
### v1.2/v1.2.1 (released 2021-01-16)
- Fixed a bug introduced in v1.1 that broke MBC3 handling *(thanks marv17 for reporting)*
- Will now default back to 5V for Game Boy cartridges after unsuccessful flash chip auto-detection
- Added support for DIY carts with the AT49F040 flash chip *(thanks howie0210)*
- Minor bug fixes
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setuptools.setup(
name="FlashGBX",
version="1.2",
version="1.2.1",
author="Lesserkuma",
description="A GUI application that can read and write Game Boy and Game Boy Advance cartridge data. Currently supports the GBxCart RW hardware device by insideGadgets.",
url="https://github.com/lesserkuma/FlashGBX",
Expand Down

0 comments on commit 65d48f9

Please sign in to comment.