tweak: add missing return statement
[rsc] --rw-rw-r-- M 1328934 glenda sys 38997 Mar 28 11:06 sys/src/cmd/tweak.c
/n/sourcesdump/2006/0328/plan9/sys/src/cmd/tweak.c:536,541 -
/n/sourcesdump/2006/0329/plan9/sys/src/cmd/tweak.c:536,542
return 10 + (c - 'a');
if('A'<=c && c<='F')
return 10 + (c - 'A');
+ return 0;
}
Thing*
usb(3): avoid non-printing math symbols
[rsc] --rw-rw-r-- M 1328934 glenda sys 6941 Mar 28 12:38 sys/man/3/usb
/n/sourcesdump/2006/0328/plan9/sys/man/3/usb:134,143 -
/n/sourcesdump/2006/0329/plan9/sys/man/3/usb:134,144
.PP
The data rate is thus
.IR hz × samplesize
- bytes per second, and the packet size used will vary between
- ⌊(\f2period\fP×\f2hz\fP)/1000⌋×\f2samplesize\fP
- and
- ⌈(\f2period\fP×\f2hz\fP)/1000⌉×\f2samplesize\fP.
+ bytes per second, and the number of samples in a packet
+ will be
+ .RI ( period × hz )/1000,
+ rounded up or down.
+ Packets do not contain fractional samples.
.PP
The mouse, which produces 3-byte samples, is configured with
.BR "ep 1 bulk r 3 32" :
prep(8): document search for 9LOAD
[rsc] --rw-rw-r-- M 1328934 glenda sys 13874 Mar 28 12:55 sys/man/8/prep
/n/sourcesdump/2006/0328/plan9/sys/man/8/prep:600,609 -
/n/sourcesdump/2006/0329/plan9/sys/man/8/prep:600,610
.I bfile
to make the disk a boot disk.
It gets loaded by the BIOS at 0x7C00,
- reads the root directory into address 0x7E00, and looks at
- the first root directory entry.
- If that file is called
- .BR 9LOAD ,
+ reads the first sector of the
+ root directory into address 0x7E00, and looks for
+ a directory entry named
+ .BR 9LOAD .
+ If it finds such an entry,
it uses
single sector reads to load the file into address 0x10000 and then
jumps to the loaded file image.
/n/sourcesdump/2006/0328/plan9/sys/man/8/prep:610,616 -
/n/sourcesdump/2006/0329/plan9/sys/man/8/prep:611,617
The file
.B /386/pbslba
is similar, but because it uses LBA addressing (not supported
- by all BIOSes), it can access more than the first 8.5GB of the disk.
+ by older BIOSes), it can access more than the first 8.5GB of the disk.
.PP
.I Mbr
installs a new boot block in sector 0 (the master boot record)
|