]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
10 years agogames/snes: fixed decimal mode
aiju [Fri, 21 Mar 2014 12:57:25 +0000 (13:57 +0100)]
games/snes: fixed decimal mode

10 years agogames/snes: added open bus emulation
aiju [Fri, 21 Mar 2014 12:57:18 +0000 (13:57 +0100)]
games/snes: added open bus emulation

10 years agogames/snes: address remapping and irq reset bug fix
aiju [Fri, 21 Mar 2014 11:57:17 +0000 (12:57 +0100)]
games/snes: address remapping and irq reset bug fix

10 years agogames/snes: added state saving
aiju [Fri, 21 Mar 2014 09:53:33 +0000 (10:53 +0100)]
games/snes: added state saving

10 years agogames/snes: made cpu timing slightly more accurate
aiju [Thu, 20 Mar 2014 15:44:01 +0000 (16:44 +0100)]
games/snes: made cpu timing slightly more accurate

10 years agogames/snes: added offset-per-tile
aiju [Thu, 20 Mar 2014 14:21:53 +0000 (15:21 +0100)]
games/snes: added offset-per-tile

10 years agoaudiohda: start playback only when we have a minimum delay buffered
cinap_lenrek [Wed, 19 Mar 2014 20:15:43 +0000 (21:15 +0100)]
audiohda: start playback only when we have a minimum delay buffered

10 years agogames/snes: audio improvements
aiju [Wed, 19 Mar 2014 19:25:06 +0000 (20:25 +0100)]
games/snes: audio improvements

10 years agogames/snes: fixed large sprite scrolling bug
aiju [Wed, 19 Mar 2014 08:04:25 +0000 (09:04 +0100)]
games/snes: fixed large sprite scrolling bug

10 years agopc64: port etherbcm
cinap_lenrek [Wed, 19 Mar 2014 08:00:20 +0000 (09:00 +0100)]
pc64: port etherbcm

do not store Block* pointer in packet descriptor, assumed
pointer would fit in a long. we use pointer table now to
record the Block* pointer and store index instead.

10 years agogames/snes: audio support (kind of)
aiju [Mon, 17 Mar 2014 17:56:00 +0000 (18:56 +0100)]
games/snes: audio support (kind of)

10 years agoetheriwl: provide shutdown function
cinap_lenrek [Mon, 17 Mar 2014 17:21:01 +0000 (18:21 +0100)]
etheriwl: provide shutdown function

10 years agogames/snes: reset oam address on vblank
aiju [Mon, 17 Mar 2014 14:48:36 +0000 (15:48 +0100)]
games/snes: reset oam address on vblank

10 years agomerge
aiju [Mon, 17 Mar 2014 13:57:49 +0000 (14:57 +0100)]
merge

10 years agogames/snes: SPC ADDW/SUBW fix
aiju [Mon, 17 Mar 2014 13:57:37 +0000 (14:57 +0100)]
games/snes: SPC ADDW/SUBW fix

10 years agogames/snes: BIT #imm does not set NZ flags
aiju [Mon, 17 Mar 2014 13:54:12 +0000 (14:54 +0100)]
games/snes: BIT #imm does not set NZ flags

10 years agopc64: amd64 kernel reboot support
cinap_lenrek [Sun, 16 Mar 2014 19:22:59 +0000 (20:22 +0100)]
pc64: amd64 kernel reboot support

10 years agomerge
aiju [Sun, 16 Mar 2014 08:53:14 +0000 (09:53 +0100)]
merge

10 years agogames/snes: bug fixes
aiju [Sun, 16 Mar 2014 08:52:38 +0000 (09:52 +0100)]
games/snes: bug fixes

10 years agopc64: fix swaped error/flags in dumpregs(), remove misleading comment in apbootstrap
cinap_lenrek [Sun, 16 Mar 2014 01:28:04 +0000 (02:28 +0100)]
pc64: fix swaped error/flags in dumpregs(), remove misleading comment in apbootstrap

10 years agogames/snes: small mode 7 fix
aiju [Sat, 15 Mar 2014 21:27:14 +0000 (22:27 +0100)]
games/snes: small mode 7 fix

10 years agogames/snes: mode 7
aiju [Sat, 15 Mar 2014 20:46:00 +0000 (21:46 +0100)]
games/snes: mode 7

10 years agoinst/bootsetup: do not copy 9pccpuf kernel to 9fat
cinap_lenrek [Sat, 15 Mar 2014 18:13:27 +0000 (19:13 +0100)]
inst/bootsetup: do not copy 9pccpuf kernel to 9fat

theres no cpuserver install anymore and pc kernels can
assume cpu role with service=cpu boot parameter.

10 years agogames/snes: fix flickering sprite bug
aiju [Sat, 15 Mar 2014 09:06:18 +0000 (10:06 +0100)]
games/snes: fix flickering sprite bug

10 years agomerge
cinap_lenrek [Sat, 15 Mar 2014 03:39:27 +0000 (04:39 +0100)]
merge

10 years agopc64: add R8-R15 in dumpregs()
cinap_lenrek [Sat, 15 Mar 2014 03:38:14 +0000 (04:38 +0100)]
pc64: add R8-R15 in dumpregs()

10 years agomerge
cinap_lenrek [Sat, 15 Mar 2014 00:07:17 +0000 (01:07 +0100)]
merge

10 years agoplan9.ini(8): document service= boot parameter
cinap_lenrek [Sat, 15 Mar 2014 00:06:11 +0000 (01:06 +0100)]
plan9.ini(8): document service= boot parameter

10 years agomerge
aiju [Fri, 14 Mar 2014 23:57:46 +0000 (00:57 +0100)]
merge

10 years agogames/snes: small hdma fix
aiju [Fri, 14 Mar 2014 23:57:03 +0000 (00:57 +0100)]
games/snes: small hdma fix

10 years agomerge
cinap_lenrek [Fri, 14 Mar 2014 23:56:36 +0000 (00:56 +0100)]
merge

10 years agokernel: interpret service= boot parameter to set "cpuserver" variable
cinap_lenrek [Fri, 14 Mar 2014 23:55:02 +0000 (00:55 +0100)]
kernel: interpret service= boot parameter to set "cpuserver" variable

10 years agogames/mkfile: add snes
cinap_lenrek [Fri, 14 Mar 2014 20:53:26 +0000 (21:53 +0100)]
games/mkfile: add snes

10 years agomerge
cinap_lenrek [Fri, 14 Mar 2014 20:16:53 +0000 (21:16 +0100)]
merge

10 years agoramfs: replace with new lib9p based implementation
cinap_lenrek [Fri, 14 Mar 2014 20:15:16 +0000 (21:15 +0100)]
ramfs: replace with new lib9p based implementation

old ramfs had a limit on the number of files it could serve
and file size was limited to maximum allocaiton size.

the new implementation uses multiple memory chunks to back file data
in a private compactable memory pool to overcome these limits.
files can be sparse. file metadata is maintained by 9pfile data
structures of lib9p.

10 years agogames/snes: cpu bug fix and bg cleanup
aiju [Fri, 14 Mar 2014 20:03:25 +0000 (21:03 +0100)]
games/snes: cpu bug fix and bg cleanup

10 years agogames/snes: bg 3
aiju [Fri, 14 Mar 2014 18:39:20 +0000 (19:39 +0100)]
games/snes: bg 3

10 years agogames/snes: hirom support and register 2180 fix
aiju [Fri, 14 Mar 2014 17:20:13 +0000 (18:20 +0100)]
games/snes: hirom support and register 2180 fix

10 years agogames/snes: mouse support
aiju [Fri, 14 Mar 2014 15:49:52 +0000 (16:49 +0100)]
games/snes: mouse support

10 years agogames/snes: performance improvements and scaling
aiju [Fri, 14 Mar 2014 14:06:25 +0000 (15:06 +0100)]
games/snes: performance improvements and scaling

10 years agogames/snes: added decimal mode and wai
aiju [Fri, 14 Mar 2014 14:06:21 +0000 (15:06 +0100)]
games/snes: added decimal mode and wai

10 years agonm(2): clarify that U is an undefined symbol
mischief [Fri, 14 Mar 2014 05:51:22 +0000 (22:51 -0700)]
nm(2): clarify that U is an undefined symbol

10 years agogames/snes: bug fixes
aiju [Fri, 14 Mar 2014 21:34:47 +0000 (22:34 +0100)]
games/snes: bug fixes

10 years agocpu: make -p work with explicit service in dialstring (same as import)
cinap_lenrek [Fri, 14 Mar 2014 02:54:08 +0000 (03:54 +0100)]
cpu: make -p work with explicit service in dialstring (same as import)

10 years agoimport: make import -p work with explicit service in dialstring (thanks mischief)
cinap_lenrek [Fri, 14 Mar 2014 02:48:26 +0000 (03:48 +0100)]
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

10 years agoadded games/snes
aiju [Thu, 13 Mar 2014 19:07:36 +0000 (20:07 +0100)]
added games/snes

10 years agoexportfs: avoid closing netfd in filter()
cinap_lenrek [Tue, 11 Mar 2014 06:03:15 +0000 (07:03 +0100)]
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.

10 years agolibdraw: fix zero stringwidth() bug
cinap_lenrek [Mon, 10 Mar 2014 05:41:45 +0000 (06:41 +0100)]
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.

10 years ago5e: remove newline from suicide string
cinap_lenrek [Mon, 10 Mar 2014 22:20:01 +0000 (23:20 +0100)]
5e: remove newline from suicide string

10 years ago5e: trap unaligned memory access
cinap_lenrek [Mon, 10 Mar 2014 22:16:47 +0000 (23:16 +0100)]
5e: trap unaligned memory access

10 years agonusb: added joy
aiju [Sun, 9 Mar 2014 17:03:07 +0000 (18:03 +0100)]
nusb: added joy

10 years agolibmach: pragma pack 32bit Ureg structs for amd64
cinap_lenrek [Sun, 9 Mar 2014 01:04:08 +0000 (02:04 +0100)]
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.

10 years ago5e(1): add HISTORY
stanley lieber [Sun, 9 Mar 2014 00:12:00 +0000 (19:12 -0500)]
5e(1): add HISTORY

10 years agomerge
cinap_lenrek [Sat, 8 Mar 2014 20:09:59 +0000 (21:09 +0100)]
merge

10 years ago5e: fix amd64
cinap_lenrek [Sat, 8 Mar 2014 20:07:57 +0000 (21:07 +0100)]
5e: fix amd64

10 years agofortunes: it would be nice to be able to try the plan 9 go port without a plan 9...
stanley lieber [Sat, 8 Mar 2014 03:32:58 +0000 (22:32 -0500)]
fortunes: it would be nice to be able to try the plan 9 go port without a plan 9 system.

10 years agomothra: handle blank lines inside <pre> tags
stanley lieber [Fri, 7 Mar 2014 16:44:05 +0000 (11:44 -0500)]
mothra: handle blank lines inside <pre> tags

10 years agonusb: fix loaddevstr() (thanks erik quanstro and richard miller)
cinap_lenrek [Thu, 6 Mar 2014 21:53:20 +0000 (22:53 +0100)]
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.

10 years agowifi: remove misleading packet header length check in wifidecrypt()
cinap_lenrek [Thu, 6 Mar 2014 21:09:17 +0000 (22:09 +0100)]
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.

10 years agowifi: decode AP->AP (WDS / bridge) data frames.
cinap_lenrek [Thu, 6 Mar 2014 20:36:14 +0000 (21:36 +0100)]
wifi: decode AP->AP (WDS / bridge) data frames.

10 years ago/lib/face/48x48x8/.dict: add quanstro@9atom.org; erik does not wear a hat
stanley lieber [Thu, 6 Mar 2014 19:56:40 +0000 (14:56 -0500)]
/lib/face/48x48x8/.dict: add quanstro@9atom.org; erik does not wear a hat

10 years agondb(8): the truth is too hard to explain, so theres a nice lie.
cinap_lenrek [Wed, 5 Mar 2014 19:13:03 +0000 (20:13 +0100)]
ndb(8): the truth is too hard to explain, so theres a nice lie.

10 years agondb(8): document -x option of ndb/dnsquery (thanks mischief)
cinap_lenrek [Wed, 5 Mar 2014 18:50:34 +0000 (19:50 +0100)]
ndb(8): document -x option of ndb/dnsquery (thanks mischief)

10 years agocpu: remove unused connection directory buffer
mischief [Tue, 4 Mar 2014 15:46:16 +0000 (07:46 -0800)]
cpu: remove unused connection directory buffer

10 years agonintendo(1): add SOURCE section
cinap_lenrek [Tue, 4 Mar 2014 23:05:43 +0000 (00:05 +0100)]
nintendo(1): add SOURCE section

10 years agoupdated nintendo manpage
aiju [Tue, 4 Mar 2014 22:10:31 +0000 (23:10 +0100)]
updated nintendo manpage

10 years agopc64: fix segattach
cinap_lenrek [Tue, 4 Mar 2014 21:37:15 +0000 (22:37 +0100)]
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.

10 years agogames(1), nintendo(1): re-organize nintendo emulators into separate man page; add...
stanley lieber [Mon, 3 Mar 2014 06:06:40 +0000 (01:06 -0500)]
games(1), nintendo(1): re-organize nintendo emulators into separate man page; add HISTORY

10 years ago/lib/rsc: We've entered the feature freeze.
stanley lieber [Mon, 3 Mar 2014 05:30:37 +0000 (00:30 -0500)]
/lib/rsc: We've entered the feature freeze.

10 years agofortunes: If you start your own successfull project, you also can develop your own...
stanley lieber [Mon, 3 Mar 2014 05:26:35 +0000 (00:26 -0500)]
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.

10 years ago/lib/face/48x48x4/.dict: fix mistake
stanley lieber [Mon, 3 Mar 2014 05:20:10 +0000 (00:20 -0500)]
/lib/face/48x48x4/.dict: fix mistake

10 years agogames/nes: fix buffer overrun
aiju [Mon, 3 Mar 2014 19:13:56 +0000 (20:13 +0100)]
games/nes: fix buffer overrun

10 years agopcmconv: revert previous change, fix dither clipping
cinap_lenrek [Mon, 3 Mar 2014 13:45:14 +0000 (14:45 +0100)]
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().

10 years agopcmconv: fix dither clipping
cinap_lenrek [Mon, 3 Mar 2014 08:00:59 +0000 (09:00 +0100)]
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.

10 years agocc: correct out-of-bounds references in funct.c (thanks charles forsyth)
cinap_lenrek [Sun, 2 Mar 2014 20:08:48 +0000 (21:08 +0100)]
cc: correct out-of-bounds references in funct.c (thanks charles forsyth)

10 years agokernel: getting rid of duppage() (thanks charles)
cinap_lenrek [Sun, 2 Mar 2014 19:55:26 +0000 (20:55 +0100)]
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. ...

10 years agogames/nes: SUROM support, subtle NMI timing bug fixed
aiju [Sun, 2 Mar 2014 11:24:07 +0000 (12:24 +0100)]
games/nes: SUROM support, subtle NMI timing bug fixed

10 years agomerge
cinap_lenrek [Sat, 1 Mar 2014 18:36:45 +0000 (19:36 +0100)]
merge

10 years agopc64: multiboot support
cinap_lenrek [Sat, 1 Mar 2014 18:35:40 +0000 (19:35 +0100)]
pc64: multiboot support

10 years agomerge
aiju [Sat, 1 Mar 2014 18:23:55 +0000 (19:23 +0100)]
merge

10 years agogames/nes: fix ppu off-by-one and sprite display bug
aiju [Sat, 1 Mar 2014 18:23:14 +0000 (19:23 +0100)]
games/nes: fix ppu off-by-one and sprite display bug

10 years agobcm kernel: add *kernelpercent option for cmdline.txt
stanley lieber [Fri, 28 Feb 2014 05:27:32 +0000 (00:27 -0500)]
bcm kernel: add *kernelpercent option for cmdline.txt

10 years agopc64: enable pmmc driver
cinap_lenrek [Sat, 1 Mar 2014 04:50:20 +0000 (05:50 +0100)]
pc64: enable pmmc driver

10 years agolibsec: fix memory leaks in seq_decode() and octet_decode() of asn1 parser
cinap_lenrek [Fri, 28 Feb 2014 17:54:56 +0000 (18:54 +0100)]
libsec: fix memory leaks in seq_decode() and octet_decode() of asn1 parser

10 years agolibsec: skip missing thumbprint files; not an error
cinap_lenrek [Fri, 28 Feb 2014 01:08:59 +0000 (02:08 +0100)]
libsec: skip missing thumbprint files; not an error

10 years agolibsec: improve thumbprint code
cinap_lenrek [Fri, 28 Feb 2014 00:23:11 +0000 (01:23 +0100)]
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!

10 years agogames/nes: improved time synchronization
aiju [Thu, 27 Feb 2014 18:52:02 +0000 (19:52 +0100)]
games/nes: improved time synchronization
games/gb: added some games/nes improvements

10 years agoadd /lib/face/48x48x8/o/openbsd.1
stanley lieber [Wed, 26 Feb 2014 22:22:41 +0000 (17:22 -0500)]
add /lib/face/48x48x8/o/openbsd.1

10 years agolibsec: add aes_128_cbc and aes_256_cbc ciphers
mischief [Wed, 26 Feb 2014 01:37:59 +0000 (17:37 -0800)]
libsec: add aes_128_cbc and aes_256_cbc ciphers

10 years agodevtls: spelling
mischief [Wed, 26 Feb 2014 00:57:22 +0000 (16:57 -0800)]
devtls: spelling

10 years agolibsec: move static sendbuf into TlsConnection and give receive buffer a better name
mischief [Tue, 25 Feb 2014 20:48:17 +0000 (12:48 -0800)]
libsec: move static sendbuf into TlsConnection and give receive buffer a better name

10 years agoscribble(2): quashed false claims of quick-reference decadance.
glenda [Tue, 25 Feb 2014 20:05:34 +0000 (20:05 +0000)]
scribble(2): quashed false claims of quick-reference decadance.

10 years agocsdial: avoid useless werrstr() call on success (thanks mischief)
cinap_lenrek [Tue, 25 Feb 2014 19:14:08 +0000 (20:14 +0100)]
csdial: avoid useless werrstr() call on success (thanks mischief)

10 years agopython: add buffer length check in sock_recvfrom_into()
cinap_lenrek [Tue, 25 Feb 2014 17:51:03 +0000 (18:51 +0100)]
python: add buffer length check in sock_recvfrom_into()

10 years agoacid: fix errstr syscall data offset for truss library
mischief [Tue, 25 Feb 2014 17:31:58 +0000 (09:31 -0800)]
acid: fix errstr syscall data offset for truss library

10 years agomp(2): spelling
mischief [Mon, 24 Feb 2014 09:10:40 +0000 (01:10 -0800)]
mp(2): spelling

10 years agogames/nes: mmc3 chr inversion fixed
aiju [Tue, 25 Feb 2014 08:39:30 +0000 (09:39 +0100)]
games/nes: mmc3 chr inversion fixed

10 years agogames/nes: it's too late to write code
aiju [Tue, 25 Feb 2014 22:25:28 +0000 (23:25 +0100)]
games/nes: it's too late to write code

10 years agogames/nes: fixed reload flags
aiju [Tue, 25 Feb 2014 22:18:26 +0000 (23:18 +0100)]
games/nes: fixed reload flags

10 years agomerge
aiju [Mon, 24 Feb 2014 21:50:29 +0000 (22:50 +0100)]
merge