Commit graph

274 commits

Author SHA1 Message Date
aiju
aa125d37e9 games/md: bug fixes 2014-05-29 00:50:06 +02:00
aiju
52153c32dc games/snes: originwindow confuses the cat 2014-05-27 01:01:55 +02:00
aiju
c124e341b9 games/md: moonwalker! 2014-05-26 01:10:46 +02:00
aiju
235cc0747d games/md: small cpu and vdp bug fixes 2014-05-25 21:45:13 +02:00
aiju
79355486f7 games/md: first bug fixes 2014-05-25 01:11:21 +02:00
aiju
93cfa1be72 added crude version of games/md 2014-05-25 23:14:23 +02:00
cinap_lenrek
66f76c2821 doom: get rid of floating point code for division 2014-05-11 20:24:27 +02:00
glenda
c8ac5d7eb7 games/geigerstats: fix usage() to exit; games(1): geigerstats args 2014-04-26 15:08:28 +01:00
aiju
bfbe480319 games/snes: mode 5/6; overscan fix 2014-04-24 19:22:50 +02:00
cinap_lenrek
81545f346f games/snes: faster scaling
load x-stretched scanline and use image replication bit to let
devdraw do the y-stretching. this reduces slow RGB15 -> display
conversions as devdraw caches small numbers of converted source
scanlines (one in hour case). setting pixels should also be a
bit faster. (only 3 writes instead of 9 for x3 scaling)
2014-04-14 20:44:04 +02:00
cinap_lenrek
d2618d03f5 games/snes: upsample audio to 44100 hz instead of setting audio device frequency
used to set audio device frequency thru /dev/volume tho
only ac97 driver supports this. as a quick work arround,
upsample the 32000 hz audio signal to 44100 hz (without
any interpolation).

move the sample buffer room check from audiosample() into
dspstep() so that when the buffer is full (shouldnt happen),
we wont advance dspstate so samples will not get dropped.
2014-04-12 22:25:26 +02:00
glenda
67eb30f0ca games/gb: better video scaler from games/nes 2014-03-30 22:18:17 +01:00
cinap_lenrek
0df733f94b games/snes: fix dspclock signed overflow (music stoping for minute) 2014-03-23 20:16:24 +01:00
aiju
0d080855b2 games/snes: cpu timing fix 2014-03-22 12:50:40 +01:00
aiju
b13425e2b0 games/snes: silly bug 2014-03-22 11:11:51 +01:00
aiju
3e9650551e games/snes: improved cpu timing 2014-03-22 10:51:56 +01:00
aiju
4abb38f177 games/snes: bug fixes 2014-03-21 16:55:16 +01:00
aiju
49ecfb6689 games/snes: minor cpu bug fix 2014-03-21 14:28:10 +01:00
aiju
26777f4cef games/snes: minor oam bugs 2014-03-21 14:25:08 +01:00
aiju
52cb2d472b games/snes: fixed decimal mode 2014-03-21 13:57:25 +01:00
aiju
24bb136c85 games/snes: added open bus emulation 2014-03-21 13:57:18 +01:00
aiju
feb800ff7c games/snes: address remapping and irq reset bug fix 2014-03-21 12:57:17 +01:00
aiju
46168ec503 games/snes: added state saving 2014-03-21 10:53:33 +01:00
aiju
4b0467ce44 games/snes: made cpu timing slightly more accurate 2014-03-20 16:44:01 +01:00
aiju
3a54967108 games/snes: added offset-per-tile 2014-03-20 15:21:53 +01:00
aiju
90148cbe87 games/snes: audio improvements 2014-03-19 20:25:06 +01:00
aiju
5b7ebd7be3 games/snes: fixed large sprite scrolling bug 2014-03-19 09:04:25 +01:00
aiju
f14b49f8bf games/snes: audio support (kind of) 2014-03-17 18:56:00 +01:00
aiju
84d5bbc634 games/snes: reset oam address on vblank 2014-03-17 15:48:36 +01:00
aiju
37c8651f98 merge 2014-03-17 14:57:49 +01:00
aiju
656b427bda games/snes: SPC ADDW/SUBW fix 2014-03-17 14:57:37 +01:00
aiju
b1cd72cfef games/snes: BIT #imm does not set NZ flags 2014-03-17 14:54:12 +01:00
aiju
2fb68b6338 games/snes: bug fixes 2014-03-16 09:52:38 +01:00
aiju
74778941ed games/snes: small mode 7 fix 2014-03-15 22:27:14 +01:00
aiju
744f038e86 games/snes: mode 7 2014-03-15 21:46:00 +01:00
aiju
55ea9a80b1 games/snes: fix flickering sprite bug 2014-03-15 10:06:18 +01:00
aiju
77a3391cf3 games/snes: small hdma fix 2014-03-15 00:57:03 +01:00
aiju
e5a6ebecd2 games/snes: bug fixes 2014-03-14 22:34:47 +01:00
cinap_lenrek
11489407ec games/mkfile: add snes 2014-03-14 21:53:26 +01:00
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
aiju
85a414751a added games/snes 2014-03-13 20:07:36 +01:00
aiju
c92edc1de5 games/nes: fix buffer overrun 2014-03-03 20:13:56 +01:00
aiju
142858b176 games/nes: SUROM support, subtle NMI timing bug fixed 2014-03-02 12:24:07 +01:00
aiju
3d01ec2f25 games/nes: fix ppu off-by-one and sprite display bug 2014-03-01 19:23:14 +01:00
aiju
ff5ac0c5cb games/nes: improved time synchronization
games/gb: added some games/nes improvements
2014-02-27 19:52:02 +01: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
76b51dc816 games/nes: added dmc, fixed envelope, added cnrom 2014-02-24 22:50:05 +01: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
aiju
662fff51f0 games/nes: added oflag 2014-02-23 11:55:29 +01:00
aiju
ca7f016c7b games/nes: minor ppu improvements 2014-02-22 20:10:54 +01:00
aiju
88fbe05ee9 games/nes: mapper 7 fix 2014-02-22 19:50:31 +01:00
aiju
af8c91cf6d games/nes: mmc3 and bugfixes 2014-02-22 17:43:15 +01:00
cinap_lenrek
f001c8c8f4 add games/nes to mkfile 2014-02-22 01:11:42 +01:00
aiju
830a9b59c9 games/nes: added state saving & bug fixes 2014-02-21 20:48:23 +01:00
aiju
29491679b8 games/nes: cleanup and resize handling 2014-02-20 22:13:59 +01:00
aiju
eeac553c36 games/nes: bug fixing 2014-02-20 23:22:14 +01:00
cinap_lenrek
87fcb107ef games/nes: add mapper 7 support 2014-02-16 21:40:33 +01:00
aiju
1225ebec71 added games/nes 2014-02-16 20:51:11 +01:00
cinap_lenrek
3f522c745a doom: port to amd64 2014-02-04 01:09:46 +01:00
cinap_lenrek
4a9f900726 mkfiles: do not rely on path containing the . element
when executing generated binaries and helper scripts,
always execute them as ./name instead of relying that
path contsins the dot.
2013-10-26 20:22:01 +02:00
cinap_lenrek
d4f39b35bf games/doom: remove useless allocation of screen[0] buffer
screens 0-3 are already initialized by V_Init().
2013-08-12 00:40:09 +02:00
cinap_lenrek
762093d212 games/juggle, games/catclock: keep up with queued mouse events
many queued mouse events delay eresize() because
new ebread() takes from the queue first before attempting
to read from the event pipe. this is a waste of memory, so
just process (dequeue) all the events as long as there are
any on each iteration.
2013-08-12 00:08:51 +02:00
cinap_lenrek
883ded7b49 catclock: protect black border with clip rectangle and dont print when window is too small 2013-08-12 23:31:53 +02:00
qeed
5dc9c7f443 fixed operand size for ADD SP, n 2013-05-02 10:40:45 -04:00
aiju
d9dd0970b1 added geigerstats 2013-03-08 20:51:08 +01:00
cinap_lenrek
1be10947ba doom: fix mixbuffer size confusion 2012-09-03 00:24:27 +02:00
aiju
69f5a04ac3 games/gb: del instead of f12/o 2012-08-25 22:38:32 +02:00
aiju
9cab16b426 games/gb: set audioproc priority 2012-08-25 22:33:51 +02:00
aiju
d7c21149e4 gb: pause function 2012-08-25 22:13:29 +02:00
cinap_lenrek
4de62918a3 catclock: properly handle initdraw error instead of crashing 2012-08-04 02:06:57 +02:00
cinap_lenrek
6d3ff523db doom: fix -warp argument parsing bug 2012-07-27 16:49:56 +02:00
cinap_lenrek
543e510da1 doom: cleanup 2012-07-27 14:42:43 +02:00
cinap_lenrek
ab08c97e60 doom: make sure not to drop keyup/keydown events 2012-07-27 11:08:33 +02:00
cinap_lenrek
845db4c372 fix more enviroment pollution 2012-05-26 21:50:10 +02:00
cinap_lenrek
812e0fd058 hget/play: fix enviroment leaks 2012-05-26 21:18:41 +02:00
cinap_lenrek
9f150d42a3 juke: fix script to work with mntgen /mnt, fix "empty filename" error for jukefs 2012-05-25 07:12:05 +02:00
cinap_lenrek
8bfd915415 playlistfs: use play(1) for format detection and decoding 2012-05-24 08:13:31 +02:00
aiju
83e3b1ce1a games/gb: crash and audio fix 2012-04-14 20:53:42 +02:00
aiju
3b9b7a6ab8 added midi player 2012-04-14 14:44:15 +02:00
aiju
d7f507b5b9 games/gb: better audio, scaling, fixed serious MMC5 bug 2012-04-07 16:03:16 +02:00
aiju
8ebb846fb2 more games/gb fun 2012-04-06 20:57:45 +02:00
aiju
4950b5468b various games/gb improvements 2012-04-06 23:29:37 +02:00
aiju
e9854eb12b added gb emulator prototype 2012-04-05 19:11:26 +02:00
cinap_lenrek
cf112fae1b doom: disable mouse grab on crash, prevent some crashed 2012-03-31 03:44:08 +02:00
cinap_lenrek
5524d76075 move mp3 stuff to /sys/src/cmd/audio, add ogg vorbis, add play 2012-01-22 23:30:34 +01:00
cinap_lenrek
79172e71e6 games/mp3dec: dont give up too soon on stream errors 2011-11-17 22:26:53 +01:00
aiju
b622d92891 added games/mandel 2011-09-16 13:32:48 +02:00
cinap_lenrek
31cf34ca81 fix broken build for games/blabs 2011-08-11 21:41:50 +02:00
aiju
5cf6f8c096 fixed blabs 2011-08-08 20:04:52 +02:00
aiju
00f4e0ff7a fixed games/blabs 2011-08-07 21:22:19 +02:00
aiju
7169336c09 added games/packet 2011-08-03 10:27:09 +02:00
cinap_lenrek
89ab1f286e doom: open /dev/audio with OWRITE instead of ORDWR 2011-08-01 05:34:46 +02:00
cinap_lenrek
2fa44c883e games/doom: add /sys/games/lib/doom as default wad path 2011-06-04 03:59:08 -04:00
cinap_lenrek
5a333eb240 games/doom: remove debug abort() 2011-06-02 06:52:29 +00:00
cinap_lenrek
e4cba4c39a games/doom:
removed libthread dependency, its not needed

fix menu crash bug

introduce ev_char event type and use it for text
entering like savename and chat.

convert Kaltgr to KEY_RALT

fix skipped initialization when opening /dev/audio
fails. also dont try to write to fd -1
2011-06-02 06:47:50 +00:00
cinap_lenrek
fbbb449cc0 big /dev/kbd change, new format, support Alt+Stuff (key composing) 2011-05-28 08:16:01 +00:00
cinap_lenrek
98f4157b5a games/doom: probing 2011-05-27 20:34:52 +00:00
cinap_lenrek
e6d579525f games/doom: remove key translation 2011-05-27 19:42:14 +00:00
cinap_lenrek
aee28916b0 games/doom: dont pretend we are in a netgame, fix save/load 2011-05-27 17:02:01 +00:00
cinap_lenrek
30da40c16a games/doom: fix the french problem, remove debug prints 2011-05-27 15:55:56 +00:00
cinap_lenrek
439ef2f8ee games/doom: #A/audio -> /dev/audio 2011-05-27 15:26:49 +00:00
cinap_lenrek
9bb72cc699 ac97: max buffer should be full samples, games/doom: enable/disable mouse grabbing when switching to the menu 2011-05-27 15:16:06 +00:00
cinap_lenrek
ddfc34d648 games/doom: use black background 2011-05-27 14:13:53 +00:00
cinap_lenrek
42cd9d946f ac97: fix buffering code, games/doom: enable sound 2011-05-27 13:58:55 +00:00
cinap_lenrek
f9f94d0b52 sorry... 2011-05-27 00:08:24 +00:00
cinap_lenrek
8b3a1f0755 add doom to games/mkfile 2011-05-27 00:06:15 +00:00
cinap_lenrek
ec4bcbd01f rio: disable cons if /dev/kbd is open, add games/doom 2011-05-26 23:30:17 +00:00
aiju
70a168206b fixed [45]s 2011-05-16 22:16:07 +00:00
aiju
e17a2a9e89 fixed bug in glendy game 2011-05-16 06:22:11 +00:00
aiju
981aaea8a4 added minesweeper! 2011-05-14 13:32:57 +00:00
aiju
a41fd25ed9 added glendy game! 2011-05-08 18:59:10 +00:00
aiju
a0befd6cb9 added games/mole 2011-04-22 13:35:55 +02:00
cinap_lenrek
9d24a107a5 boot(8): changed tread to read, other: fix perms 2011-04-18 01:59:36 +00:00
Taru Karttunen
a9060cc06b Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
Taru Karttunen
e5888a1ffd Import sources from 2011-03-30 iso image 2011-03-30 15:46:40 +03:00