Speed up memory transfers a littel bit

This commit is contained in:
dschmenk 2013-09-06 20:59:00 -07:00
parent ece53f6bfa
commit d5daf6f970
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -25,7 +25,7 @@
/* /*
* Apple II request entry * Apple II request entry
*/ */
#define MAX_XFER 32 #define MAX_XFER 64
struct a2request { struct a2request {
int idx; int idx;

View File

@ -46,6 +46,7 @@ int main(int argc, char **argv)
perror("Usage: dskwrite <filename> [ip address]\n"); perror("Usage: dskwrite <filename> [ip address]\n");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
sleep(1);
fflush(stdin); fflush(stdin);
a2write(pifd, ORG, sizeof(online), online); a2write(pifd, ORG, sizeof(online), online);
a2call(pifd, ORG, &result); a2call(pifd, ORG, &result);