summaryrefslogtreecommitdiff
path: root/sys/src/games
AgeCommit message (Collapse)Author
2020-11-28games/mix: fix decoding of shift instructionsAlex Musolino
2020-11-28games/mix: fix SLAX and SRAX instructions (thanks nicolagi)Alex Musolino
MIX shift instructions shift by bytes not bits.
2020-11-27games/mix: fix implementation of MOVE instruction (thanks nicolagi)Alex Musolino
Plan 9 memcpy(2) uses the same implementation as memmove(2) to handle overlapping ranges. Hovewer, the MIX MOVE instruction, as described in TAOCP, specifically does not do this. It copies words one at a time starting from the lowest address. This change also expands the address validation to check that all addresses within the source and destination ranges are valid before proceeding.
2020-10-15games/nes: workaround for truncated chrSigrid
2020-09-13games/4s: increase thread size (thanks majiru)Ori Bernstein
It seems like on amd64, we're overflowing the stack. Let's not do that.
2020-05-02make bind(2) error handling consistentcinap_lenrek
The mount() and bind() syscalls return -1 on error, and the mountid sequence number on success. The manpage states that the mountid sequence number is a positive integer, but the kernels implementation currently uses a unsigned 32-bit integer and does not guarantee that the mountid will not become negative. Most code just cares about the error, so test for the -1 error value only.
2020-03-08games/playlistfs: open /proc/n/ctl OWRITE, not ORDWRcinap_lenrek
2020-01-22add v8eaiju
2019-11-03games/turtle: do exit instead of crash in redraw() when there where no lines ↵cinap_lenrek
drawn
2019-11-03add games/linden and turtle to mkfileaiju
2019-11-03add games/linden and games/turtleaiju
2019-05-07wadfs: avoid comma operator after PBIT32() macroscinap_lenrek
2018-11-20games/md: fix mkfileaiju
2018-11-20games/md: use cpu.c from blitaiju
2018-11-20games/blit: clean up cpu.c and make it pass testsaiju
2018-11-17games/c64: make keyboard table more readableaiju
2018-10-21doom: fix music for patch wadsqwx
revert last change, which used games/wadfs to expose genmidi and music lumps. replacements from patch wads were never seen that way. instead, write genmidi and music lumps to /tmp and play them from there.
2018-10-11games/gb: when the LCD is turned off, reset ppuy and ppustate to 0, fixes ↵aiju
bug in dragon warriors iii reported by mischief
2018-08-31dmid: add support for midi streamsqwx
tested with a usb midi keyboard and a midi->usb adaptor
2018-07-25add games/dpic and games/todpicqwx
2018-07-21dmid: better fnumber calculation and fix fine tuning for 2nd voiceqwx
2018-07-15doom: use wadfs to expose music lumpsqwx
launch wadfs after detecting main wad, exposing GENMIDI and music lumps under /mnt/wad. /bin/dmus can then use them directly, and wadfs doesn't need to be started manually.
2018-07-12add games/dmid and games/opl3qwx
2018-07-10midi: properly skip sysex messagesqwx
this fixes playing any midi files containing such messages example: prince of persia midis from vgmpf wiki
2018-07-03games/mines: add missing checks for UseGhostaiju
2018-06-26mus: fix note volume and channel selection; simplifyqwx
- fix overwriting channel 10 with channel 9 - fix using channel volume instead of last volume when setting note (fixes d_doom and others) - remove useless state
2018-06-22gba: handle 8bit writes to vramqwx
ignore 8bit writes to obj and oam, and duplicate bits for bg and palette memory, as per gbatek. thanks aiju for helping with the implementation.
2018-06-13emulators ui: don't drink and codeqwx
2018-06-13emulators ui: add option for fixed factor scaling and bound scale verticallyqwx
2018-06-13games/gb: attempt at fixing sprite priorityaiju
2018-06-13games/gb: fix mbc5 register addressing (fixes warioland3 gamebreaking bug)aiju
2018-06-09snes: fix input botch 2qwx
2018-06-09snes: fix input botchqwx
2018-05-31doom: don't set repl if scale is 1qwx
2018-05-29emulators ui: don't call flushmouse twiceqwx
2018-05-14emulators ui: fix input botch and typoqwx
2018-05-13demote libemu to common codeqwx
- too small, nothing else that won't be under /games will use it - "libemu" as a name doesn't make sense here
2018-05-12add port of aiju's port of games/2600qwx
2018-05-12add libemuqwx
move redundant code from emulators to a common library
2018-05-12add signed fixed size integer typedefsqwx
2018-05-02games/mines: chain new CLists in splitknown correctlyaiju
2018-05-02games/mines -g: elements taken from list should be -2, not -1aiju
2018-03-31gb*: reverse savegame field polarityqwx
2018-03-31blit,c64,gb*: fix phaser coolant leak during resizeqwx
2018-03-10games/mines: build a better ghost trapaiju
2018-02-26games/mix: fix incorrect line numbersglenda
2018-02-25mines: documentation and chronometric control of supernatural apparitionsaiju
2018-02-25ghost in the minesweeper shellaiju
2018-02-25games/mines: bikesheddingaiju
2017-11-27games/blit: update screen when display address changes (thanks aap)aiju