Skip to content

Commit 88ffb8f

Browse files
author
Agent Smith
committed
Re-sync release
New features: o DVR-108 support o DVR-K13 support (untested) o XL <-> plain conversion protection o Autodetection of supported devices (when ran without parameters) o Use of fPLScsi 1.1 for more generic device support with recent Linux kernel o Longer device names Fixes: o DVR-103 should now be properly supported on Windows (?) o Additional security checks
1 parent cd3ff60 commit 88ffb8f

23 files changed

Lines changed: 614 additions & 667 deletions

DVRFlash.cpp

Lines changed: 212 additions & 60 deletions
Large diffs are not rendered by default.

Makefile.linux

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dvrflash: *.c*
2+
g++ -static -O3 -o dvrflash -Wall *.c*
3+
# Linked statically as per user requirements :(

Makefile.macosx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FRAMEWORKS=-framework IOKit -framework CoreFoundation -framework CoreServices
2+
3+
dvrflash: *.c*
4+
g++ -o dvrflash $(FRAMEWORKS) -Wall *.c*

Makefile.windows

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dvrflash: *.c*
2+
gcc -o dvrflash -Wall *.c*

changelog.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
v2.0 - re-sync release
2+
New features:
3+
o DVR-108 support
4+
o DVR-K13 support (untested)
5+
o XL <-> plain conversion protection
6+
o Autodetection of supported devices (when ran without parameters)
7+
o Use of fPLScsi 1.1 for more generic device support with recent Linux kernel
8+
o Longer device names
9+
Fixes:
10+
o DVR-103 should now be properly supported on Windows (?)
11+
o Additional security checks
12+
113
v1.5 - yet another MacOS X release.
214
New feature:
315
o None

compiling.txt

Lines changed: 0 additions & 58 deletions
This file was deleted.

dos32aspi.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
#include <stdio.h> /* FILE ... */
2020
#include <stdlib.h> /* calloc ... */
2121
#include <string.h> /* memset ... */
22-
#include <sys/types.h>
23-
#include <sys/movedata.h>
24-
#include <dpmi.h>
25-
#include <go32.h>
2622

2723

2824
/**
@@ -31,22 +27,26 @@
3127

3228
#include "plscsi.h"
3329

34-
/**
35-
** Define some units.
36-
**/
37-
38-
#define Ki 1024 /* x1024 = x400 = 1 << 10 */
39-
4030
/**
4131
** Link with Microsoft Windows and the Adaptec SDK.
4232
**/
4333

4434
#ifdef DOSASPI
4535

36+
#include <sys/types.h>
37+
#include <sys/movedata.h>
38+
#include <dpmi.h>
39+
#include <go32.h>
4640
#include <dos.h>
47-
4841
#include "dosaspi.h"
4942

43+
/**
44+
** Define some units.
45+
**/
46+
47+
#define Ki 1024 /* x1024 = x400 = 1 << 10 */
48+
49+
5050
/* Name the struct (SRB_Cmd SRB_Status SRB_HaId) common to all SRB's. */
5151

5252
typedef SRB_Abort SRB;

dos32make.bat

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@echo off
2+
set PATH=g:\djgpp\bin;%PATH%
3+
set DJGPP=g:\djgpp\djgpp.env
4+
gpp -o DVRFlash.exe -Wno-deprecated *.c*
5+
pause

dosaspi.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818

1919
/* Understand the classic Adaptec SDK in Windows terms. */
2020

21+
#ifdef DJGPP /* Don't need this whole mumbo jumbo in 32 bit mode */
22+
#define far
23+
#define pascal
24+
#endif
25+
2126
#define FAR far /* sizeof pointer is large */
2227
#define PASCAL pascal /* caller pushes in order, callee pops */
2328

dosmake.bat

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)