works as long as AppleShare is disabled...boot into BASIC, then set normal speed (1.0 MHz) & hit Ctrl-Reset before running executable
git-svn-id: https://svn.salfter.gotdns.org/svn/a2bfc/trunk@82 1b90f75b-8b96-4784-87c0-14078182fce6
This commit is contained in:
16
ow.c
Normal file
16
ow.c
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "ow.h"
|
||||
|
||||
void ow_selectdevice(unsigned char* devid)
|
||||
{
|
||||
ow_reset();
|
||||
ow_writebyte(85);
|
||||
ow_writebyte(devid[0]);
|
||||
ow_writebyte(devid[1]);
|
||||
ow_writebyte(devid[2]);
|
||||
ow_writebyte(devid[3]);
|
||||
ow_writebyte(devid[4]);
|
||||
ow_writebyte(devid[5]);
|
||||
ow_writebyte(devid[6]);
|
||||
ow_writebyte(devid[7]);
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user