Commit graph

46 commits

Author SHA1 Message Date
cinap_lenrek ce84082205 change /dev/kbd to return multiple messages per read 2016-04-03 22:54:22 +02:00
cinap_lenrek 5a6131ea09 games/snes: do message display in screenproc
do the message drawing from the screenproc so there are no
race conditions with libdraw.
2014-11-20 01:26:31 +01:00
cinap_lenrek dc2c8dca5b games/md, games/snes: fix memory leak on resize 2014-11-19 21:01:36 +01:00
cinap_lenrek a28263f7b2 games/snes: fix extern pic declaration to match reality 2014-11-18 17:03:45 +01:00
cinap_lenrek 763231588c games/snes: flush screen in parallel to audio (fixes buffer underruns on x200s)
the x200s is too slow on a single core to keep up without
audio buffer underruns, so the idea is to flush screen
in parallel to witing audio samples in a separate process.

with the proc, we also can keep updating the screen on resize
when paused.
2014-11-18 16:07:34 +01:00
aiju 844612fcb8 games/snes: save more audio state 2014-11-17 17:00:41 +01:00
aiju 4f264cedfb added crc32 2014-09-30 13:07:36 +02:00
stanley lieber 69eb0cd713 games/snes: add -a -h -m -T to usage 2014-07-22 17:00:32 -04:00
aiju 37a5b4e9c3 games/snes: fix -T 2014-06-13 19:54:33 +02:00
aiju 52153c32dc games/snes: originwindow confuses the cat 2014-05-27 01:01:55 +02: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
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
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