Commit graph

3422 commits

Author SHA1 Message Date
stanley lieber 8c1417228c /lib/face/48x48x8/.dict: add quanstro@9atom.org; erik does not wear a hat 2014-03-06 14:56:40 -05:00
cinap_lenrek bbe797c3d0 ndb(8): the truth is too hard to explain, so theres a nice lie. 2014-03-05 20:13:03 +01:00
cinap_lenrek f894ab740f ndb(8): document -x option of ndb/dnsquery (thanks mischief) 2014-03-05 19:50:34 +01:00
mischief 077a4dbe48 cpu: remove unused connection directory buffer 2014-03-04 07:46:16 -08:00
cinap_lenrek c904d5bfa6 nintendo(1): add SOURCE section 2014-03-05 00:05:43 +01:00
aiju 8dfc237a57 updated nintendo manpage 2014-03-04 23:10:31 +01:00
cinap_lenrek 316d8ad76b pc64: fix segattach
the comment about Physseg.size being in pages is wrong,
change type to uintptr and correct the comment.

change the length parameter of segattach() and isoverlap()
to uintptr as well. segments can grow over 4GB in pc64 now
and globalsegattach() in devsegment calculates len argument
of isoverlap() by s->top - s->bot. note that the syscall
still takes 32bit ulong argument for the length!

check for integer overflow in segattach(), make sure segment
goes not beyond USTKTOP.

change PTEMAPMEM constant to uvlong as it is used to calculate
SEGMAXSIZE.
2014-03-04 22:37:15 +01:00
stanley lieber 06c8a5b391 games(1), nintendo(1): re-organize nintendo emulators into separate man page; add HISTORY 2014-03-03 01:06:40 -05:00
stanley lieber 6c77d9bc16 /lib/rsc: We've entered the feature freeze. 2014-03-03 00:30:37 -05:00
stanley lieber ffbfbe270f fortunes: If you start your own successfull project, you also can develop your own set of reasons for doing any of a variety of operational things at any point in time. 2014-03-03 00:26:35 -05:00
stanley lieber 36bfb7d3d0 /lib/face/48x48x4/.dict: fix mistake 2014-03-03 00:20:10 -05:00
aiju c92edc1de5 games/nes: fix buffer overrun 2014-03-03 20:13:56 +01:00
cinap_lenrek f7ab9fb52a pcmconv: revert previous change, fix dither clipping
previous change had forgot how dithering works... m(

we *really* add a random signal when *reducing* the number
of bits. just make sure we do not overflow like in
mixin().
2014-03-03 14:45:14 +01:00
cinap_lenrek 7fc7802358 pcmconv: fix dither clipping
the check in dither() was inverted. we should only
add noise when the output bit count is greater
than input bit count (samples shifted up) to
fill the lower zero bits produced by the shift.
2014-03-03 09:00:59 +01:00
cinap_lenrek 2750062701 cc: correct out-of-bounds references in funct.c (thanks charles forsyth) 2014-03-02 21:08:48 +01:00
cinap_lenrek 9405f4c95f kernel: getting rid of duppage() (thanks charles)
simplifying paging code by getting rid of duppage(). instead,
fixfault() now always makes a copy of the shared/cached page
and leaves the cache alone. newpage() uncaches pages as
neccesary.

thanks charles forsyth for the suggestion.

from http://9fans.net/archive/2014/03/26:

> It isn't needed at all. When a cached page is written, it's trying hard to
> replace the page in the cache by a new copy,
> to return the previously cached page. Instead, I copy the cached page and
> return the copy, which is what it already
> does in another instance. ...
2014-03-02 20:55:26 +01:00
aiju 142858b176 games/nes: SUROM support, subtle NMI timing bug fixed 2014-03-02 12:24:07 +01:00
cinap_lenrek 88405371b1 merge 2014-03-01 19:36:45 +01:00
cinap_lenrek 2e6234da0f pc64: multiboot support 2014-03-01 19:35:40 +01:00
aiju 1112601048 merge 2014-03-01 19:23:55 +01:00
aiju 3d01ec2f25 games/nes: fix ppu off-by-one and sprite display bug 2014-03-01 19:23:14 +01:00
stanley lieber d8035a86f7 bcm kernel: add *kernelpercent option for cmdline.txt 2014-02-28 00:27:32 -05:00
cinap_lenrek fd112b949f pc64: enable pmmc driver 2014-03-01 05:50:20 +01:00
cinap_lenrek bc137696be libsec: fix memory leaks in seq_decode() and octet_decode() of asn1 parser 2014-02-28 18:54:56 +01:00
cinap_lenrek 6354bd0728 libsec: skip missing thumbprint files; not an error 2014-02-28 02:08:59 +01:00
cinap_lenrek dd076567a4 libsec: improve thumbprint code
1) handle errors when loading thumbprint file.
initThumbprints() now returns nil and sets errstr
on error. a syntax error in a thumbprint file
should be reported instead of silently ignored!
(have to check users)

2) fix memory leak in initThumbprints(); we have to use
freeThumbprints() instead of free to release crltab.

3) use the actual head entries for thumbprint
storage in the thumbprints array. most thumbprint
files are rather sparse.

4) remove private emalloc() function. we shouldnt
just exit the calling process on allocation error,
instead handle error properly. this is a library!
2014-02-28 01:23:11 +01:00
aiju ff5ac0c5cb games/nes: improved time synchronization
games/gb: added some games/nes improvements
2014-02-27 19:52:02 +01:00
stanley lieber c65a3809da add /lib/face/48x48x8/o/openbsd.1 2014-02-26 17:22:41 -05:00
mischief 99f9a60178 libsec: add aes_128_cbc and aes_256_cbc ciphers 2014-02-25 17:37:59 -08:00
mischief 774ccb19e4 devtls: spelling 2014-02-25 16:57:22 -08:00
mischief de4db6745e libsec: move static sendbuf into TlsConnection and give receive buffer a better name 2014-02-25 12:48:17 -08:00
glenda 8c65872285 scribble(2): quashed false claims of quick-reference decadance. 2014-02-25 20:05:34 +00:00
cinap_lenrek b4d13efc1e csdial: avoid useless werrstr() call on success (thanks mischief) 2014-02-25 20:14:08 +01:00
cinap_lenrek c4fec93ab9 python: add buffer length check in sock_recvfrom_into() 2014-02-25 18:51:03 +01:00
mischief ec37e34f07 acid: fix errstr syscall data offset for truss library 2014-02-25 09:31:58 -08:00
mischief 26af562313 mp(2): spelling 2014-02-24 01:10:40 -08:00
aiju 28c3c2bea7 games/nes: mmc3 chr inversion fixed 2014-02-25 09:39:30 +01:00
aiju 1df8b3d2c1 games/nes: it's too late to write code 2014-02-25 23:25:28 +01:00
aiju 1a67cd2c44 games/nes: fixed reload flags 2014-02-25 23:18:26 +01:00
aiju d8489586ec merge 2014-02-24 22:50:29 +01:00
aiju 76b51dc816 games/nes: added dmc, fixed envelope, added cnrom 2014-02-24 22:50:05 +01:00
cinap_lenrek 5e353e17c6 acid: add some debugging aid function for counting kernel image cache page refs 2014-02-24 22:45:38 +01:00
cinap_lenrek c29719ce84 merge 2014-02-24 22:43:21 +01:00
cinap_lenrek 521a34d33b kernel: keep cached pages continuous at the end of the page list on imagereclaim()
imagereclaim() sabotaged itself by breaking the invariant
that cached pages are kept at the end of the page list.

once we made a hole of uncached pages, we would stop
reclaiming cached pages before it as the loop breaks
once it hits a uncached page. (we iterate backwards from
the tail to the head of the pagelist until pages have been
reclaimed or we hit a uncached page).

the solution is to move pages to the head of the pagelist
after removing them from the image cache.
2014-02-24 22:42:22 +01:00
mischief 1d1fafc892 control(2): spelling 2014-02-24 13:02:54 -08:00
aiju 60c3c3b3db games/nes: added uxrom (mapper 2) 2014-02-24 19:50:02 +01:00
aiju 9486df09c2 games/nes: best commit (fixed audio and timing) 2014-02-24 19:33:26 +01:00
aiju ad9047ab2c games/nes: basic audio support, battery backup, bug fixes 2014-02-23 21:46:16 +01:00
cinap_lenrek f82e3e8657 merge 2014-02-23 18:42:01 +01:00
cinap_lenrek ef1ec09cf7 pc64: fix mmu leak 2014-02-23 18:40:43 +01:00