|
|
| version 1.2, 2003/10/25 09:08:24 | version 1.5, 2005/02/07 14:46:14 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "np2.h" | #include "np2.h" |
| #include "commng.h" | #include "commng.h" |
| #include "cmjasts.h" | |
| // ---- non connect | // ---- non connect |
| static UINT ncread(COMMNG self, BYTE *data) { | static UINT ncread(COMMNG self, UINT8 *data) { |
| (void)self; | (void)self; |
| (void)data; | (void)data; |
| return(0); | return(0); |
| } | } |
| static UINT ncwrite(COMMNG self, BYTE data) { | static UINT ncwrite(COMMNG self, UINT8 data) { |
| (void)self; | (void)self; |
| (void)data; | (void)data; |
| return(0); | return(0); |
| } | } |
| static BYTE ncgetstat(COMMNG self) { | static UINT8 ncgetstat(COMMNG self) { |
| (void)self; | (void)self; |
| return(0xf0); | return(0xf0); |
| Line 69 COMMNG commng_create(UINT device) { | Line 70 COMMNG commng_create(UINT device) { |
| case COMCREATE_PRINTER: | case COMCREATE_PRINTER: |
| cfg = NULL; | cfg = NULL; |
| if (np2oscfg.jastsnd) { | |
| ret = cmjasts_create(); | |
| } | |
| break; | break; |
| case COMCREATE_MPU98II: | case COMCREATE_MPU98II: |