Odd HxC issue regarding file names with spaces in them

Everything related to using the HxC Floppy Emulator hardware on your Atari.

Moderators: DrCoolZic, mr.vince, Moderator Team

Odd HxC issue regarding file names with spaces in them

Postby thgill » Fri Jun 01, 2012 1:48 am

Recently received a SD card HxC unit and its fantastic.

Using the Floppy emulator Manager on my ST, I noticed that if a file has a space in its name and its in a subfolder (or perhaps a folder inside a folder) off the root of the SD card, the Emu manager doesn't show anything in the folder and it won't let you go back a folder either.


Anyone else seeing this?
User avatar
thgill
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
 
Posts: 100
Joined: Sat May 17, 2008 8:10 pm
Location: Cincinnati, OH

Re: Odd HxC issue regarding file names with spaces in them

Postby Jeff_HxC2001 » Sat Jun 02, 2012 7:19 am

thgill wrote:Recently received a SD card HxC unit and its fantastic.

Using the Floppy emulator Manager on my ST, I noticed that if a file has a space in its name and its in a subfolder (or perhaps a folder inside a folder) off the root of the SD card, the Emu manager doesn't show anything in the folder and it won't let you go back a folder either.


Anyone else seeing this?


This morning i take some minutes to correct this point :

http://hxc2001.free.fr/floppy_drive_emu ... anager.zip

02/06/2012: SDCard HxCFloppyEmulator Manager v1.6a
- No more Key sound.
- More Color scheme. Color setting is now saved.
- <<Folder name with space>> bug corrected


There will probably have another release this WE ;)
Jeff_HxC2001
Captain Atari
Captain Atari
 
Posts: 185
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France

Re: Odd HxC issue regarding file names with spaces in them

Postby wongck » Sat Jun 02, 2012 8:52 am

Jeff_HxC2001 wrote:This morning i take some minutes to correct this point :

[smilie=greencolorz4_pdt_12.gif] Jeff, you provide the best support !!! [smilie=greencolorz4_pdt_12.gif]
My Stuff: Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ FB/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
User avatar
wongck
Ultimate Atarian
Ultimate Atarian
 
Posts: 10669
Joined: Sat May 03, 2008 2:09 pm
Location: Far East

Re: Odd HxC issue regarding file names with spaces in them

Postby thgill » Sat Jun 02, 2012 2:11 pm

Awesome!!

Thank you, thank you!


Tested and its working great with the new Emu Manager. Kinda glad you opted to remove the clicking key sound too.
User avatar
thgill
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
 
Posts: 100
Joined: Sat May 17, 2008 8:10 pm
Location: Cincinnati, OH

Re: Odd HxC issue regarding file names with spaces in them

Postby telengard » Sat Jun 02, 2012 8:40 pm

Jeff_HxC2001 wrote:
thgill wrote:Recently received a SD card HxC unit and its fantastic.

Using the Floppy emulator Manager on my ST, I noticed that if a file has a space in its name and its in a subfolder (or perhaps a folder inside a folder) off the root of the SD card, the Emu manager doesn't show anything in the folder and it won't let you go back a folder either.


Anyone else seeing this?


This morning i take some minutes to correct this point :

http://hxc2001.free.fr/floppy_drive_emu ... anager.zip

02/06/2012: SDCard HxCFloppyEmulator Manager v1.6a
- No more Key sound.
- More Color scheme. Color setting is now saved.
- <<Folder name with space>> bug corrected


There will probably have another release this WE ;)


Jeff, any chance of fixing the QWERTY/AZERTY issue? I had posted an updated binary, but it'd be nice to see it in the "official" version. :)

~telengard
User avatar
telengard
Atariator
Atariator
 
Posts: 22
Joined: Mon Dec 26, 2005 10:33 pm

Re: Odd HxC issue regarding file names with spaces in them

Postby Jeff_HxC2001 » Sun Jun 03, 2012 6:22 pm

telengard wrote:
Jeff, any chance of fixing the QWERTY/AZERTY issue? I had posted an updated binary, but it'd be nice to see it in the "official" version. :)

~telengard


Yes but what is your modification ?
Jeff_HxC2001
Captain Atari
Captain Atari
 
Posts: 185
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France

Re: Odd HxC issue regarding file names with spaces in them

Postby telengard » Tue Jun 05, 2012 9:38 pm

Jeff_HxC2001 wrote:
telengard wrote:
Jeff, any chance of fixing the QWERTY/AZERTY issue? I had posted an updated binary, but it'd be nice to see it in the "official" version. :)

~telengard


Yes but what is your modification ?


In keys_defs.h I put the US keyboard char map in a #define keeping the existing map if the define is not there. This could obviously be done much better (i.e. dynamically changing based on language/locale).

Code: Select all
#define QWERTY
#ifdef QWERTY
keyboard_funct_mapper char_keysmap[]=
{
    {'a',0x1E},
    {'b',0x30},
    {'c',0x2E},
    {'d',0x20},
    {'e',0x12},
    {'f',0x21},
    {'g',0x22},
    {'h',0x23},
    {'i',0x17},
    {'j',0x24},
    {'k',0x25},
    {'l',0x26},
    {'m',0x32},
    {'n',0x31},
    {'o',0x18},
    {'p',0x19},
    {'q',0x10},
    {'r',0x13},
    {'s',0x1F},
    {'t',0x14},
    {'u',0x16},
    {'v',0x2F},
    {'w',0x11},
    {'x',0x2D},
    {'y',0x15},
    {'z',0x2C},

    {'0',0x0B},
    {'1',0x02},
    {'2',0x03},
    {'3',0x04},
    {'4',0x05},
    {'5',0x06},
    {'6',0x07},
    {'7',0x08},
    {'8',0x09},
    {'9',0x0A},

    //{'0',0x00},
    {'1',0x6D},
    {'2',0x6E},
    {'3',0x6F},
    {'4',0x6A},
    {'5',0x6B},
    {'6',0x6C},
    {'7',0x67},
    {'8',0x68},
    {'9',0x69},
    {' ',0x39},
    {'.',0x71},
    {'\n',0x1C},

    {0xFF,0x00},
};
#else
keyboard_funct_mapper char_keysmap[]=
{
    {'a',0x10},
    {'b',0x30},
    {'c',0x2E},
    {'d',0x20},
    {'e',0x12},
    {'f',0x21},
    {'g',0x22},
    {'h',0x23},
    {'i',0x17},
    {'j',0x24},
    {'k',0x25},
    {'l',0x26},
    {'m',0x27},
    {'n',0x31},
    {'o',0x18},
    {'p',0x19},
    {'q',0x1E},
    {'r',0x13},
    {'s',0x1F},
    {'t',0x14},
    {'u',0x16},
    {'v',0x2F},
    {'w',0x2C},
    {'x',0x2D},
    {'y',0x15},
    {'z',0x11},

    {'0',0x0B},
    {'1',0x02},
    {'2',0x03},
    {'3',0x04},
    {'4',0x05},
    {'5',0x06},
    {'6',0x07},
    {'7',0x08},
    {'8',0x09},
    {'9',0x0A},

    //{'0',0x00},
    {'1',0x6D},
    {'2',0x6E},
    {'3',0x6F},
    {'4',0x6A},
    {'5',0x6B},
    {'6',0x6C},
    {'7',0x67},
    {'8',0x68},
    {'9',0x69},
    {' ',0x39},
    {'.',0x71},
    {'\n',0x1C},

    {0xFF,0x00},
};
#endif
User avatar
telengard
Atariator
Atariator
 
Posts: 22
Joined: Mon Dec 26, 2005 10:33 pm

Re: Odd HxC issue regarding file names with spaces in them

Postby Jeff_HxC2001 » Tue Jun 05, 2012 10:03 pm

Thanks. In fact i have done the modification yesterday. ;) (v1.8a)
Jeff_HxC2001
Captain Atari
Captain Atari
 
Posts: 185
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France

Re: Odd HxC issue regarding file names with spaces in them

Postby telengard » Tue Jun 05, 2012 10:09 pm

Jeff_HxC2001 wrote:Thanks. In fact i have done the modification yesterday. ;) (v1.8a)


Awesome! Thanks Jeff.

~telengard
User avatar
telengard
Atariator
Atariator
 
Posts: 22
Joined: Mon Dec 26, 2005 10:33 pm


Return to HxC Floppy Emulator

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests