Skip to content

Commit

Permalink
Remove 'windows' folder with giveio.sys driver
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusgreuel committed Dec 17, 2021
1 parent 5633a6d commit bb72a09
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 865 deletions.
5 changes: 2 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@ CLEANFILES = \

BUILT_SOURCES = $(CLEANFILES)

#SUBDIRS = doc @WINDOWS_DIRS@
#DIST_SUBDIRS = doc windows
#SUBDIRS = doc
#DIST_SUBDIRS = doc

# . lets build this directory before the following in SUBDIRS
SUBDIRS = .
# doc comes here, and we want to use the built avrdude to generate the parts list
SUBDIRS += @SUBDIRS_AC@
SUBDIRS += @WINDOWS_DIRS@
DIST_SUBDIRS = @DIST_SUBDIRS_AC@

AM_YFLAGS = -d
Expand Down
5 changes: 1 addition & 4 deletions src/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ AC_ARG_ENABLE(
esac],
[enabled_linuxspi=no])

DIST_SUBDIRS_AC='doc windows'
DIST_SUBDIRS_AC='doc'

if test "$enabled_doc" = "yes"; then
SUBDIRS_AC='doc'
Expand Down Expand Up @@ -505,15 +505,12 @@ case $target in
LDFLAGS="${LDFLAGS} -static"
fi

WINDOWS_DIRS="windows"
CFLAGS="${CFLAGS} -DWIN32NATIVE"
;;
esac
AC_SUBST(WINDOWS_DIRS,$WINDOWS_DIRS)

AC_CONFIG_FILES([
doc/Makefile
windows/Makefile
avrdude.spec
Makefile
])
Expand Down
91 changes: 2 additions & 89 deletions src/doc/avrdude.texi
Original file line number Diff line number Diff line change
Expand Up @@ -2108,9 +2108,7 @@ such as @option{--prefix}.
* Windows Installation::
* Windows Configuration Files::
* Windows Port Names::
* Using the parallel port::
* Documentation::
* Credits.::
@end menu

@c
Expand Down Expand Up @@ -2213,7 +2211,7 @@ The directories that are listed in the PATH environment variable.
@c
@c Node
@c
@node Windows Port Names, Using the parallel port, Windows Configuration Files, Windows
@node Windows Port Names, Windows Configuration Files, Windows
@subsection Port Names

@menu
Expand Down Expand Up @@ -2263,73 +2261,10 @@ If the parallel port can be accessed through a different
address, this address can be specified directly, using the common C
language notation (i. e., hexadecimal values are prefixed by @code{0x}).

@c
@c Node
@c
@node Using the parallel port, Documentation, Windows Port Names, Windows
@subsection Using the parallel port

@menu
* Windows NT/2K/XP::
* Windows 95/98::
@end menu

@c
@c Node
@c
@node Windows NT/2K/XP, Windows 95/98, Using the parallel port, Using the parallel port
@subsubsection Windows NT/2K/XP

@noindent
On Windows NT, 2000, and XP user applications cannot directly access the
parallel port. However, kernel mode drivers can access the parallel port.
giveio.sys is a driver that can allow user applications to set the state
of the parallel port pins.

Before using AVRDUDE, the giveio.sys driver must be loaded. The
accompanying command-line program, loaddrv.exe, can do just that.

To make things even easier there are 3 batch files that are also
included:

@enumerate
@item install_giveio.bat
Install and start the giveio driver.

@item status_giveio.bat
Check on the status of the giveio driver.

@item remove_giveio.bat
Stop and remove the giveio driver from memory.
@end enumerate

These 3 batch files calls the loaddrv program with various options to
install, start, stop, and remove the driver.

When you first execute install_giveio.bat, loaddrv.exe and giveio.sys
must be in the current directory. When install_giveio.bat is executed it
will copy giveio.sys from your current directory to your Windows
directory. It will then load the driver from the Windows directory. This
means that after the first time install_giveio is executed, you should
be able to subsequently execute the batch file from any directory and have
it successfully start the driver.

Note that you must have administrator privilege to load the giveio driver.

@c
@c Node
@c
@node Windows 95/98, , Windows NT/2K/XP, Using the parallel port
@subsubsection Windows 95/98

@noindent
On Windows 95 and 98 the giveio.sys driver is not needed.


@c
@c Node
@c
@node Documentation, Credits., Using the parallel port, Windows
@node Documentation, Windows
@subsection Documentation

@noindent
Expand All @@ -2343,28 +2278,6 @@ Note that these locations can be altered by various configure options
such as @option{--prefix} and @option{--datadir}.


@c
@c Node
@c
@node Credits., , Documentation, Windows
@subsection Credits.

@noindent
Thanks to:

@itemize @bullet
@item
Dale Roberts for the giveio driver.

@item
Paula Tomlinson for the loaddrv sources.

@item
Chris Liechti <cliechti@@gmx.net> for modifying loaddrv to be command
line driven and for writing the batch files.

@end itemize

@c
@c Node
@c
Expand Down
3 changes: 0 additions & 3 deletions src/windows/.gitignore

This file was deleted.

57 changes: 0 additions & 57 deletions src/windows/Makefile.am

This file was deleted.

168 changes: 0 additions & 168 deletions src/windows/giveio.c

This file was deleted.

Binary file removed src/windows/giveio.sys
Binary file not shown.
Loading

0 comments on commit bb72a09

Please sign in to comment.