mirror of
https://github.com/dschmenk/apple2pi.git
synced 2024-11-30 22:50:47 +00:00
formatting and update for plug-in card
This commit is contained in:
parent
91f7c94d58
commit
ecd31a7118
BIN
src/A2PI.PO
BIN
src/A2PI.PO
Binary file not shown.
@ -714,7 +714,7 @@ void main(int argc, char **argv)
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("a2pi: Bad Sync ACK [0x%02X]\n", iopkt[0]);
|
||||
prlog("a2pi: Bad Sync ACK\n");
|
||||
stop = TRUE;
|
||||
}
|
||||
}
|
||||
@ -740,7 +740,7 @@ void main(int argc, char **argv)
|
||||
{
|
||||
if (read(a2fd, iopkt, 3) == 3)
|
||||
{
|
||||
// printf("a2pi: Event [0x%02X] [0x%02X] [0x%02X]\n", iopkt[0], iopkt[1], iopkt[2]);
|
||||
printf("a2pi: Event [0x%02X] [0x%02X] [0x%02X]\n", iopkt[0], iopkt[1], iopkt[2]);
|
||||
switch (iopkt[0])
|
||||
{
|
||||
case 0x80: /* sync */
|
||||
|
@ -41,6 +41,7 @@ int main(int argc, char **argv)
|
||||
perror("Unable to connect to Apple II Pi");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
sleep(1);
|
||||
a2write(pifd, ORG, sizeof(online), online);
|
||||
a2call(pifd, ORG, &result);
|
||||
a2read(pifd, DATA_BUFFER, 16, volname);
|
||||
|
@ -46,6 +46,8 @@ int main(int argc, char **argv)
|
||||
perror("Usage: dskwrite <filename> [ip address]\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
sleep(1);
|
||||
fflush(stdin);
|
||||
a2write(pifd, ORG, sizeof(online), online);
|
||||
a2call(pifd, ORG, &result);
|
||||
if (result == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user