D
Daniel Rudy
Hello Group,
With all the different threads lately about bit operations, I'm
wondering if you can do this:
typedef unsigned long uint32
uint32 eof;
uint32 bmap;
uint32 blocksect;
uint32 sectsize;
uint32 i;
....
blocksect = 4;
sectsize = 512;
bmap = usbdev.fcb[x].inode.bitmap;
....
for (i = 0; i < blocksect; i++)
eof += (((bmap <<= 1 & 0x80000000) != 0) ? 1 : 0) * sectsize;
....
--
Daniel Rudy
Email address has been base64 encoded to reduce spam
Decode email address using b64decode or uudecode -m
Why geeks like computers: look chat date touch grep make unzip
strip view finger mount fcsk more fcsk yes spray umount sleep
With all the different threads lately about bit operations, I'm
wondering if you can do this:
typedef unsigned long uint32
uint32 eof;
uint32 bmap;
uint32 blocksect;
uint32 sectsize;
uint32 i;
....
blocksect = 4;
sectsize = 512;
bmap = usbdev.fcb[x].inode.bitmap;
....
for (i = 0; i < blocksect; i++)
eof += (((bmap <<= 1 & 0x80000000) != 0) ? 1 : 0) * sectsize;
....
--
Daniel Rudy
Email address has been base64 encoded to reduce spam
Decode email address using b64decode or uudecode -m
Why geeks like computers: look chat date touch grep make unzip
strip view finger mount fcsk more fcsk yes spray umount sleep