Skip to content

Commit

Permalink
Drop 3088, CTCI-W32, CTCT and VMNET. Replace CTCT with CTCE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fish-Git committed Nov 29, 2017
1 parent 18b6048 commit 8946111
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 1,379 deletions.
18 changes: 0 additions & 18 deletions _TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,6 @@

Refer to "hostopts.h" for an example of the technique I'm referring to.

-------------------------------------------------------------------------------

*BUG*: printer FCB parsing is FUBAR (wrong):

Old (original) style was: "fcb=66010713192531374361495561",
which yields: 66 1 7 13 19 25 31 37 43 61 49 55 61
int FCBMASK[] = {66,1,7,13,19,25,31,37,43,63,49,55,61};

Notice the old style is a string of 26 digits (13 pairs), which are NOT
separated by commas. The current parsing code presumes comma separators
which is WRONG and incorrectly causes old format to always be rejected.

Also notice channel 9 and 12 are on same line number 61. This is valid
for old 1403 paper carraige-control tapes, but is invalid on newer 3211
FCB image printers which support only one channel defined per line. We
need to fix this (provide supported for BOTH) which is REQUIRED to fix
the incorrect parsing/support of the original "fcb=" option format.

-------------------------------------------------------------------------------

BUG: instruction tracing: control registers not being shown for some
Expand Down
6 changes: 2 additions & 4 deletions ctc_ctci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1228,10 +1228,8 @@ static int ParseArgs( DEVBLK* pDEVBLK, PCTCBLK pCTCBLK,
}
// Compatability with old format configuration files needs to be
// maintained. Old format statements have the tun character device
// name as the second argument on Linux, or CTCI-W32 as the first
// argument on Windows.
if( ( strncasecmp( argv[0], "/", 1 ) == 0 ) ||
( strncasecmp( pDEVBLK->typname, "CTCI-W32", 8 ) == 0 ) )
// name as the second argument on Linux.
if (strncasecmp( argv[0], "/", 1 ) == 0)
{
pCTCBLK->fOldFormat = 1;
}
Expand Down
6 changes: 0 additions & 6 deletions ctc_lcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3391,14 +3391,8 @@ HDL_DEVICE_SECTION;

// ZZ the following device types should be moved to
// ZZ their own loadable modules
HDL_DEVICE(3088, ctcadpt_device_hndinfo );
HDL_DEVICE(CTCI, ctci_device_hndinfo );
HDL_DEVICE(CTCT, ctct_device_hndinfo );
HDL_DEVICE(CTCE, ctce_device_hndinfo );
HDL_DEVICE(VMNET,vmnet_device_hndinfo );
#if defined(WIN32)
HDL_DEVICE(CTCI-W32,ctci_device_hndinfo );
#endif
}
END_DEVICE_SECTION
#endif
Expand Down
Loading

0 comments on commit 8946111

Please sign in to comment.