The makefile now works for Linux and most Unix's. Howevr, for Solaris and MacOS, you must first export the OSTYPE environment variable: > export OSTYPE > make Otherwise, you will get build errors. 1. New Features 1.1 3.8-0 1.1.1 SCP and Libraries - BREAK, NOBREAK, and SHOW BREAK with no argument will set, clear, and show (respectively) a breakpoint at the current PC. 1.2 GRI - Added support for the GRI-99 processor. 1.3 HP2100 - Added support for the BACI terminal interface. - Added support for RTE OS/VMA/EMA, SIGNAL, VIS firmware extensions. 1.4 Nova - Added support for 64KW memory (implemented in third-party CPU's). 1.5 PDP-11 - Added support for DC11, RC11, KE11A, KG11A. - Added modem control support for DL11. - Added ASCII character support for all 8b devices. 2. Bugs Fixed Please see the revision history on http://simh.trailing-edge.com or in the source module sim_rev.h.
67 lines
4 KiB
C
67 lines
4 KiB
C
/*************************************************************************
|
|
* *
|
|
* $Id: wd179x.h 1907 2008-05-21 07:04:17Z hharte $ *
|
|
* *
|
|
* Copyright (c) 2007-2008 Howard M. Harte. *
|
|
* http://www.hartetec.com *
|
|
* *
|
|
* Permission is hereby granted, free of charge, to any person obtaining *
|
|
* a copy of this software and associated documentation files (the *
|
|
* "Software"), to deal in the Software without restriction, including *
|
|
* without limitation the rights to use, copy, modify, merge, publish, *
|
|
* distribute, sublicense, and/or sell copies of the Software, and to *
|
|
* permit persons to whom the Software is furnished to do so, subject to *
|
|
* the following conditions: *
|
|
* *
|
|
* The above copyright notice and this permission notice shall be *
|
|
* included in all copies or substantial portions of the Software. *
|
|
* *
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL HOWARD M. HARTE BE LIABLE FOR ANY *
|
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, *
|
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE *
|
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
|
* *
|
|
* Except as contained in this notice, the name of Howard M. Harte shall *
|
|
* not be used in advertising or otherwise to promote the sale, use or *
|
|
* other dealings in this Software without prior written authorization *
|
|
* Howard M. Harte. *
|
|
* *
|
|
* SIMH Interface based on altairz80_hdsk.c, by Peter Schorn. *
|
|
* *
|
|
* Module Description: *
|
|
* Generic Intel 8272 Disk Controller module for SIMH. *
|
|
* *
|
|
* Environment: *
|
|
* User mode only *
|
|
* *
|
|
*************************************************************************/
|
|
|
|
extern t_stat wd179x_attach(UNIT *uptr, char *cptr);
|
|
extern t_stat wd179x_detach(UNIT *uptr);
|
|
extern uint8 WD179X_Set_DMA(const uint32 dma_addr);
|
|
extern uint8 WD179X_Read(const uint32 Addr);
|
|
extern uint8 WD179X_Write(const uint32 Addr, uint8 cData);
|
|
|
|
extern void wd179x_external_restore(void);
|
|
|
|
#define WD179X_FDC_MSR 0 /* R=FDC Main Status Register, W=Drive Select Register */
|
|
#define WD179X_FDC_DATA 1 /* R/W FDC Data Register */
|
|
|
|
#define WD179X_STATUS 0
|
|
#define WD179X_TRACK 1
|
|
#define WD179X_SECTOR 2
|
|
#define WD179X_DATA 3
|
|
|
|
typedef struct {
|
|
PNP_INFO pnp; /* Plug-n-Play Information */
|
|
uint8 intrq; /* WD179X Interrupt Request Output (EOJ) */
|
|
uint8 hld; /* WD179X Head Load Output */
|
|
uint8 drq; /* WD179X DMA Request Output */
|
|
uint8 ddens; /* WD179X Double-Density Input */
|
|
uint8 fdc_head; /* H Head Number */
|
|
uint8 sel_drive; /* Currently selected drive */
|
|
uint8 drivetype; /* 8 or 5 depending on disk type. */
|
|
} WD179X_INFO_PUB;
|