MEGA65 / mega65-tools

Tools and Utilities for the MEGA65 Retro Computers
GNU General Public License v3.0
28 stars 31 forks source link

Support being given the FAT32 partition as SD card device. #154

Closed dillof closed 1 year ago

dillof commented 1 year ago

That means you can give either the whole SD card (/dev/sdN or /dev/diskN) or the FAT32 partition directly (/dev/sdNX or /dev/diskNsX):

If no FAT32 partition is found in the MBR, it checks for the FAT32 file system signature and if that is present, uses the whole device file as the FAT32 partition.

Since the partition can now start at 0, I've changed the value for "no partition found" to 0xffffffff.

gurcei commented 1 year ago

Ok, haven't heard back from lydon yet, back from what I've seen of the commit history, refactor_m65 branch seems to be the most active right now. Maybe we should merge it to that branch.

gurcei commented 1 year ago

Ok, how about for now, let's merge it into master, and we can later cherry-pick merge/cherry-pick it into refactor_m65 too. So will approve and merge in to master now.