Commit graph

3010 commits

Author SHA1 Message Date
aiju f6a79e0acb games/snes: cpu bug fix and bg cleanup 2014-03-14 21:03:25 +01:00
aiju d54a795c80 games/snes: bg 3 2014-03-14 19:39:20 +01:00
aiju 08e433f31d games/snes: hirom support and register 2180 fix 2014-03-14 18:20:13 +01:00
aiju 8d11fd6d27 games/snes: mouse support 2014-03-14 16:49:52 +01:00
aiju e8e0428140 games/snes: performance improvements and scaling 2014-03-14 15:06:25 +01:00
aiju 289fb207c9 games/snes: added decimal mode and wai 2014-03-14 15:06:21 +01:00
cinap_lenrek ff677a1cb4 cpu: make -p work with explicit service in dialstring (same as import) 2014-03-14 03:54:08 +01:00
cinap_lenrek 8fb212515d import: make import -p work with explicit service in dialstring (thanks mischief)
mischief → ; import -p tcp!9.offblast.org!17007 / /n/9
mischief → -> import: can't mount /: EOF receiving fversion reply
mischief → on the console
mischief → bmo Mar 13 18:55:30 dialing tcp!9.offblast.org!17007
mischief → bmo Mar 13 18:55:30 reconnected to tcp!9.offblast.org!17007
mischief → bmo Mar 13 18:55:30 connected from 199.191.58.44
mischief → bmo Mar 13 18:55:34 exiting...bmo Mar 13 18:55:30 dialing tcp!9.offblast.org!17007
mischief → bmo Mar 13 18:55:30 reconnected to tcp!9.offblast.org!17007
mischief → bmo Mar 13 18:55:30 connected from 199.191.58.44
mischief → bmo Mar 13 18:55:34 exiting...
mischief → aan is dialing the *exportfs* port because i explicitly specified it
2014-03-14 03:48:26 +01:00
aiju 85a414751a added games/snes 2014-03-13 20:07:36 +01:00
cinap_lenrek eed4871674 exportfs: avoid closing netfd in filter()
netfd is initially zero (stdin), when filter() closes fd0,
fd0 is free to be reused. this causes problems with openmount()
that assumes sfd being >2.

instead, we dup the our pipe end over netfd, and close the pipe.
2014-03-11 07:03:15 +01:00
cinap_lenrek 2c0490a26e libdraw: fix zero stringwidth() bug
stringwidth() and string() sometimes failed spuriously due
to the wrong assumption that cachechars() will only fail
when a different subfont is needed. in fact, cachechars()
can fail for other reasons like when it resizes the fontcache
(or fails todo so).

theres also the case when loadchar() is unable to translate
a character and returns 0. this case needs to be differentiated
from such temporary conditions like fontcache resize or subfont
load to stop the retry loop in string() and stringwidth().

now cachechars() returns -1 to indicate that it cannot
proceed and we test this in string() and stringwidth()
to skip over untranslatable characters to make progress
instead of retrying.
2014-03-10 06:41:45 +01:00
cinap_lenrek 760b3d0667 5e: remove newline from suicide string 2014-03-10 23:20:01 +01:00
cinap_lenrek 3aeca15d3c 5e: trap unaligned memory access 2014-03-10 23:16:47 +01:00
aiju 26a8accad2 nusb: added joy 2014-03-09 18:03:07 +01:00
cinap_lenrek 62ffb9c16e libmach: pragma pack 32bit Ureg structs for amd64
when libmach is compiled with 6c, unions in the 32bit Uregs
cause fields to be wronly aligned. use #pragma pack arround
the #include "/$objtype/include/ureg.h" statement.
2014-03-09 02:04:08 +01:00
stanley lieber beb7827425 5e(1): add HISTORY 2014-03-08 19:12:00 -05:00
cinap_lenrek 9743c2752c merge 2014-03-08 21:09:59 +01:00
cinap_lenrek f05af31f36 5e: fix amd64 2014-03-08 21:07:57 +01:00
stanley lieber f459c5133a fortunes: it would be nice to be able to try the plan 9 go port without a plan 9 system. 2014-03-07 22:32:58 -05:00
stanley lieber 0c005b5105 mothra: handle blank lines inside <pre> tags 2014-03-07 11:44:05 -05:00
cinap_lenrek f88d0c372d nusb: fix loaddevstr() (thanks erik quanstro and richard miller)
loaddevstr() should request 256 bytes, as per standard and
respect the length embedded in the string.
2014-03-06 22:53:20 +01:00
cinap_lenrek 7cdd1c46c5 wifi: remove misleading packet header length check in wifidecrypt()
we do not need to check block length in wifidecrypt()
again as wifiiq() already filters out truncated frames.
2014-03-06 22:09:17 +01:00
cinap_lenrek 8e924edeeb wifi: decode AP->AP (WDS / bridge) data frames. 2014-03-06 21:36:14 +01: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 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
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
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