| version 1.3, 2005/02/04 05:32:25 | version 1.6, 2005/03/20 08:58:19 | 
| Line 1 | Line 1 | 
 |  |  | 
 | #define NP2VIEW_MAX     8 | #define NP2VIEW_MAX     8 | 
 |  |  | 
 | typedef struct { | typedef struct { | 
| BYTE    vram; | UINT8   vram; | 
| BYTE    itf; | UINT8   itf; | 
| BYTE    A20; | UINT8   A20; | 
 | } VIEWMEM_T; | } VIEWMEM_T; | 
 |  |  | 
 | enum { | enum { | 
| Line 26  enum { | Line 27  enum { | 
 | }; | }; | 
 |  |  | 
 | typedef struct { | typedef struct { | 
| DWORD   type; | UINT32  type; | 
| DWORD   arg; | UINT32  arg; | 
| DWORD   size; | UINT32  size; | 
 | void    *ptr; | void    *ptr; | 
 | } VIEWMEMBUF; | } VIEWMEMBUF; | 
 |  |  | 
| Line 36  typedef struct { | Line 37  typedef struct { | 
 | HWND            hwnd; | HWND            hwnd; | 
 | VIEWMEMBUF      buf1; | VIEWMEMBUF      buf1; | 
 | VIEWMEMBUF      buf2; | VIEWMEMBUF      buf2; | 
| DWORD           pos; | UINT32          pos; | 
| DWORD           maxline; | UINT32          maxline; | 
| WORD            step; | UINT16          step; | 
| WORD            mul; | UINT16          mul; | 
| BYTE            alive; | UINT8           alive; | 
| BYTE            type; | UINT8           type; | 
| BYTE            lock; | UINT8           lock; | 
| BYTE            active; | UINT8           active; | 
| WORD            seg; | UINT16          seg; | 
| WORD            off; | UINT16          off; | 
 | VIEWMEM_T       dmem; | VIEWMEM_T       dmem; | 
 | SCROLLINFO      si; | SCROLLINFO      si; | 
 | } NP2VIEW_T; | } NP2VIEW_T; | 
 |  |  | 
| extern  const char      np2viewfont[]; | extern  const TCHAR             np2viewfont[]; | 
| extern  NP2VIEW_T       np2view[NP2VIEW_MAX]; | extern  NP2VIEW_T               np2view[NP2VIEW_MAX]; | 
 |  |  | 
 |  |  | 
 | BOOL viewer_init(HINSTANCE hPreInst); | BOOL viewer_init(HINSTANCE hPreInst); |