2002-09-15 Markus Germeier * mpiosh/callback.c (mpiosh_cmd_debug_mem): added function call "debug_memory" in mpiosh * libmpio/io.c (model2externalmem): added function (mpio_io_set_cmdpacket): use model2externalmem * libmpio/mpio.c (mpio_init): added code to identify different models (mpio_memory_debug): added function for debugging purposes 2002-09-15 Andreas Buesching * mpiosh/mpiosh.c: add a debug message, displaying the executed command in script mode 2002-09-15 Markus Germeier * libmpio/directory.c: add debug informations, (mpio_dentry_get): fixed a off-by-one error * libmpio/mpio.h: add mpio_mem_t to dentry functions to enable further debugging 2002-09-14 Andreas Buesching * mpiosh/mpiosh.c: does not hang anymore after reading commands from a pipe * mpiosh/callback.c (mpiosh_callback_mget, mpiosh_callback_mput) (mpiosh_callback_mdel): calling new function mpiosh_command_regex_fix * mpiosh/mpiosh.c: fixed output of none interactive mode (mpiosh_signal_handler, mpiosh_readline_cancel) (mpiosh_noredisplay): functions added to get a expected handling of C-c (SIGINT) (mpiosh_command_regex_fix): add function. tries to map regular expressions to shell expressions. mapping '*' -> ".*" and '.' -> "\." 2002-09-13 Markus Germeier * libmpio/mpio.c (mpio_file_put): fixed abort handling 2002-09-13 Andreas Buesching * mpiosh/callback.c (mpiosh_callback_mget, mpiosh_callback_mput) (mpiosh_callback_mdel): handling of user interrupt * mpiosh/mpiosh.c: handling for stdin being a tty * mpiosh/callback.c (mpiosh_callback_get, mpiosh_callback_put) (mpiosh_callback_del): using mpiosh_cancel to abort operation * mpiosh/mpiosh.c: changed handling of SIGINT. The global variable mpiosh_cancel indicates the interrupt. * mpiosh/callback.c (mpiosh_cmd_help): add support for arguments. just prints help about specified commands. * mpiosh/mpiosh.c: add new command lpwd 2002-09-13 Markus Germeier * mpiosh/callback.c (mpiosh_cmd_put, mpiosh_cmd_del) (mpiosh_cmd_mdel, mpiosh_cmd_mput): use mpio_sync * libmpio/mpio.c (mpio_file_get, mpio_file_put) (mpio_memory_format, mpio_file_del): add code to handle abort "signal" from user interface (mpio_sync): added function 2002-09-12 Andreas Buesching * mpiosh/mpiosh.c (mpiosh_command_split): function added to support command sequences separated by ';' changed mpiosh_cmd_t structure, containing help string and argument information * mpiosh/callback.h, mpiosh/callback.c (): new files containing callback functions of shell commands (MPIOSH_CHECK_CONNECTION_OPEN, MPIOSH_CHECK_CONNECTION_CLOSED) (MPIOSH_CHECK_ARG): macros for checking status of connection to player 2002-09-11 Markus Germeier * libmpio/mpio.c (mpio_file_put,mpio_file_get): set timestamps on files correct * libmpio/directory.c (mpio_dentry_put): write correct 8.3 filenames into directory (mpio_dentry_put): fixed handling of time stamps with a "little" help from the current mtools distribution (date_dos2unix): added function, copied from the linux kernel (mpio_dentry_get_time): added function, uses (date_dos2unix) 2002-09-11 Markus Germeier * mpio_tool/mpiosh.c (mpiosh_cmd_mdel): added command mdel 2002-09-11 Markus Germeier * libmpio/mpio.c (mpio_file_put): finished support for writing to internal memory + changes to fat.c and io.c 2002-09-11 Markus Germeier * libmpio/io.c (cluster2blockaddress): added function (mpio_io_block_write, mpio_io_sector_write): fixed block address in spare area (mpio_io_block_read): check block address and give debug output if address differs 2002-09-11 Markus Germeier * libmpio/mpio.c (mpio_file_put): (+ various files) updated writing support to support mpio_fatentry_t 2002-09-10 Markus Germeier * libmpio/io.c (mpio_io_block_write): write FAT entry for internal mem * libmpio/fat.c (mpio_fat_internal_find_fileindex): added function 2002-09-10 Markus Germeier * libmpio/mpio.c (mpio_memory_format): formatting works for internal and external memory now BEWARE: No config files are written, you might ruin your player!!! * libmpio/mpio.c (mpio_file_del): deleting works for internal and external memory now (BEWARE !!!) * support for deleting/formatting added to various parts of fat.c and io.c 2002-09-10 Markus Germeier * libmpio/fat.c (mpio_fatentry_set_free) (mpio_fatentry_set_defect): added functions * libmpio/io.c (mpio_io_block_delete): return negative status value in case of error * libmpio/mpio.c (mpio_memory_format): mark block/cluster defect in FAT if an error occurs during format * libmpio/mpio.c (mpio_file_del): changed function to support new mpio_fatentry_t 2002-09-09 Markus Germeier * libmpio/io.c (fatentry2hw): added function (mpio_io_block_read, mpio_io_block_delete): use fatentry2hw 2002-09-09 Markus Germeier * libmpio/mpio.c (mpio_memory_format): updated code to format external SmartMedia cards * libmpio/fat.c (mpio_fatentry_plus_plus, mpio_bootblocks_read): fixed max_cluster issues 2002-09-09 Markus Germeier * libmpio/io.c (cluster2block): fixed cluster to block mapping for 32MB SmartMedia cards * libmpio/io.c (mpio_io_block_read, mpio_io_sector_read): added debug output in case of ECC error * libmpio/mpio.c (mpio_memory_free): fixed segmentation violation if no SM card is inserted * libmpio/mpio.c (mpio_get_info): *really* fixed the problem if no SM card is inserted 2002-09-09 Markus Germeier * mpio_tool/mpiosh.c: (mpiosh_cmd_mput): (mpiosh_cmd_mget): make info texts consistent with get and put * libmpio/mpio.c (mpio_init_internal): fixed max_clusters for internal memory with more then one chip * libmpio/fat.c (mpio_fatentry_hw2entry): added function * libmpio/fat.c (mpio_fatentry_entry2hw): added function * libmpio/fat.c: fixed support for MPIOs with more than one internal chip (hopefully, someone please test this) 2002-09-08 Markus Germeier * mpio_tool/mpiosh.c: (mpiosh_cmd_mput): fixed regex handling (mpiosh_cmd_mget): fixed regex handling * regex for mput/mget does now work but uses "hard" regular expressions instead of shell-like regex, e.g.: "^0.*\.mp3$" ("hard" regular expression) "0*.mp3" (shell-like) 2002-09-04 Andreas Buesching * mpio_tool/mpiosh.c (mpiosh_cmd_mput): added command mput. The arguments can be extended regular expressions. UNTESTED! (mpiosh_cmd_ldir): removed compiler warnings (mpiosh_cmd_mget): added command mget. The arguments can be extended regular expressions. UNTESTED! (mpiosh_cmd_help): updated help text 2002-09-03 Markus Germeier * first part of "design" fixes * libmpio: - introduced mpio_fatentry_t - reading support changed to mpio_fatentry_t - writing and deleting deactivated (this simply can't work right now) 2002-09-03 Yuji Touya * add mkmpiodev script to create device file * README: add explanation to get started 2002-09-03 Markus Germeier * libmpio/*: various "little" code cleanups 2002-09-01 Andreas Buesching * mpio_tool/mpiosh.c: add commands lcd and ldir (mpiosh_cmd_dump): fixed a stupid bug (mpiosh_cmd_ldir): implemented the command ldir (mpiosh_cmd_lcd): implemented the command lcd 2002-08-22 Andreas Buesching * README: fixed soome types and add a warning * AUTHORS: add salmoon to the list 2002-08-05 Andreas Buesching * autogen.sh: add script to build configure script