initial checkin
initial checkin
- CVSROOT/loginfo: mail every change to cbm4win@trikaliotis.net
- Initial checkin of v0.0.11
- CVSROOT/loginfo:
  * change mailto address to cbm4win-cvs list
- cbmctrl/cbmctrl.c:
  * make sure stdin and stdout are in binary mode.
  * cbmctrl download "kludge" is removed.
  * allow "cbmctrl download" to stdout (no filename, or "-") or file, on
    user's choice
  * allow "cbmctrl upload" from stdin (no filename, or "-") or file, on
    user's choice
- unixcompat/error.c:
  * unix_error(): output errors to stderr instead of stdout
  * unix_error(): Output the numbers of AUnused and ErrorCode in the
    case of an error. (for debugging purposes)
- include/unixcompat.h:
  * added#define fdopen()
- sys/libiec/i_rawread.c:
  * some more verbose error output for hunting bugs
- sys/libiec/init.c:
  * adjusted default T_5 and T_5_Times values. Before, some CLK pulses
    were not recognized.
- sys/libiec/i_iec.h, sys/libiec/i_rawread.c, sys/libiec/i_rawwrite.c,
  sys/libiec/init.c, sys/libiec/sendbyte.c, sys/libiec/wait.c,
  sys/libiec/waitlistener.c:
  * renamed timeout values to be more phony.
- cbmcopy/main.c, d64copy/main.c:
  * --help for cbmcopy and d64copy state that the XP cable can be user
    *in* *addition* to the serial one.
- dll/opencbm.rc:
  * un-commented include "common.ver", which includes the version
    information
- cbmctrl/cbmctrl.c:
  * do_upload(): removed unused variable j, fixed a signed/unsigned
    mismatch at call to cbm_upload()
- install/instcbm.c:
  * processNumber(): removed unused variable result
  * CheckDriver(): removed unused variable buffer
  * NeededAccessRights(): removed unused variable retValue
- libd64copy/fs.c:
  * fixed a signed/unsigned mismatch at writing to the disc
- dll/i_opencbm.c, dll/i_opencbm.h:
  * RegGetDWORD() is exported now
- install/startstop.c:
  * CheckVersions() now outputs default LPT port, and start mode of
    the driver
- include/debug.h, sys/libcommon/debug.c:
  * DbgAllocateMemoryBuffer(), DbgFreeMemoryBuffer,
    DbgOutputMemoryBuffer(): new functions
- include/memtags.h:
  * MTAG_DBGBUFFER: new entry
- sys/nt4/LoadUnload.c, sys/wdm/LoadUnload.c:
  * call DbgAllocateMemoryBuffer() and DbgFreeMemoryBuffer on driver
    start and stop.
- include/debug.h, sys/libiec/i_rawread.c, sys/libiec/i_rawwrite.c:
  * DBG_IEC() now outputs correctly
- cbmctrl/cbmctrl.c:
  * only check errno after calling one of the do_xxx() functions if the
    function itself reported an error. As not all functions set errno,
    we have false alarms otherwise.
- cbmcopy/main.c, cbmformat/cbmformat.c, d64copy/main.c,
  install/instcbm.c:
  * make sure that the longopts[] array for getopt_long() is
    terminated with a last entry which consists solely of zeroes.
    Before, this was not done, and the programs crashed if called with
    long options not known, i.e., cbmformat --zzz
- sys/libcommon/thread.c:
  * when stopping the thread, make sure this is only attempted if
    Pdx->Thread and Pdx->ThreadHandle are non-null.
- sys/nt4/LoadUnload.c, sys/wdm/LoadUnload.c:
  * In DriverEntry(), call DriverCommonInit() as last action. This way,
    we prevent a race between DriverEntry() and DriverUnload(),
    especially on a SMP/HT machine.
- CVSROOT/loginfo:
  * make sure the subject is correct for mailing to cbm4win-cvs ML
- CVSROOT/modules:
  * added cbm4win module, as well as c4w alias.
- CVSROOT/loginfo:
  * ok, *now* it should work with sending out CVS log to the ML.
- install/instcbm.c:
  * New command-line switch --automatic, -A, for installing the driver
    with start mode automatic. This way, no admin privileges are needed
    for running any tools.
- install/instcbm.h, install/service.c:
  * CbmInstall() now has an additional parameter, which tells it whether
    the driver should be installed with start mode automatic or not
- dll/i_opencbm.c, dll/i_opencbm.h:
  * New function IsDriverStartedAutomatically()
- install/service.c, install/startstop.c:
  * make sure the driver is started if the start method is automatic
- dll/opencbm.c:
  * Make sure the driver is not started and stopped if it is set to be
    started automatically
- dll/i_opencbm.c:
  * corrected a wrong name of a automatic variable
- install/version.h:
  * new version 0.0.11.7
- sys/include/config.h, sys/include/queue.h,
  sys/include/libcommon/queue.c:
  * new define USE_FAST_START_THREAD
  * if USE_FAST_START_THREAD is defined, use two events for starting the
    thread (with blocking the current thread) and re-releasing the
    calling thread immediately after
    This was intended to speed up the driver on NT4, but this does not
    work as expected
- sys/wdm/LoadUnload.c:
  * prevent premature driver unloading with the help of a mutex object.
- install/instcbm.c:
  * fixed a typo in the help text for --automatic, -A
- install/startstop:
  * CheckVersions(): Is "static" now. Makes sure the driver is started
    *before* attempting to find the versions of the driver and DLL.
- sys/include/config.h:
  * deactivated USE_FAST_START_THREAD, as it does not work. Furthermore,
    there was a report that this option may cause the driver
    to hang.
- dll/opencbm.c:
  * cbm_open() and cbm_execute_command(): Now it is documented that
    these function can get a length of null, which means that the
    parameter is a null-terminated string.
- dll/i_opencbm.c:
  * FUNC_PARAM for RegGetDWord().
- install/instcbm.c, install/startstop.c:
  * be more verbose on errors
  * allow 3rd argument for --debugflags, which gives the flags for
    instcbm itself.
- sys/nt4/LoadUnload.c:
  * perform same mutex for protection against premature unload as in wdm
    driver
  * removed some obsolete debugging output
- sys/wdm/LoadUnload.c:
  * removed some obsolete debugging output
- install/instcbm.c:
  * new command-line switch -B, --buffer
- install/i_opencbm.c, install/instcbm.h:
  * new funktion CbmOutputDebuggingBuffer()
- include/cbmioctl.h, sys/libcommon/ioctl.c:
  * new ioctl CBMCTRL_I_READDBG
- sys/include/cbm4win_common.h, sys/libcommon/debug.c:
  * new function cbm_dbg_readbuffer()
- include/version.h:
  * new version 0.0.12.1
- sys/libcommon/debug.c:
  * fixed an error where instcbm -B did not return anything if no
    wrap-around had occurred yet.
- sys/libcommon/debug.c:
  * DbgOutputMemoryBuffer(): Some more sanity checks included (they generate
    KeBugCheckEx(0x123 ... 0x126), so: *BEWARE*!)
- sys/include/config.h:
  * re-enabled FAST START THREAD
- sys/libcommon/queue.c:
  * re-implemented FAST START THREAD. It should work now without BSODs
- include/version.h:
  * new release 0.0.12.2
- include/debug.h:
  * DBG_INIT(), DbgInit(): New macro and function
- sys/libcommon/debug.c:
  * now, we guard the debugging memory buffer with a spinlock. The
    spinlock is initialized in the new function DbgInit().
- sys/nt4/LoadUnload.c, sys/wdm/LoadUnload.c:
  * call DBG_INIT() as first action in DriverEntry().
- sys/libcommon/isr.c:
  * make sure the ISR does not write into the debugging memory queue, as
    the spinlock cannot be obtained at IRQL > DISPATCH_LEVEL.
- include/version.h:
  * Build release 0.0.12.3
- include/version.h:
  * release 0.0.12.4
- sys/libcommon/debug.c:
  * some small reorganization
  * some corrections for SMP machines (fixes #1069776)
- dll/i_opencbm.h, include/cbmioctl.h, install/parport.c:
  * some documentation work
- sys/libiec/i_iec.h, sys/libiec/i_rawread.c, sys/libiec/i_rawwrite.c,
  sys/libiec/init.c:
  * some documentation work regarding the IEC timeouts
  * removed some obsolute \todo
- cbmcopy/Makefile, d64copy/Makefile:
  * removed some obsolete commentare
- include/opencbm.h:
  * adjusted file to reflect the status of cbm4linux
- cbmcopy/main.c:
  * adjusted file commentary to cbm4linux version
- cbmctrl/cbmctrl.c:
  * removed USE_BUFFERED_READ
- include/version.h:
  * New release 0.0.12.5
- sys/libcommon/debug.c:
  * define USE_SPINLOCK
  * fixed an error in REPORT_BUG(), which caused a BSOD
- dll/opencbm.c:
  * cbm_identify(): Make sure a 3rd byte is read in response to the M-R
    command (the 1541 sents our a CR as last message). Closes #1073395
- doc/COMPILE.TXT:
  * new file
- doc/COMPILE.TXT:
  * added hint for compiling the 6502 files