Kevin Lange
9458b813a4
Merge branch 'gerow-sh-C-p-C-n' into gerow-mixing-fix
2015-05-18 21:11:00 -07:00
Kevin Lange
740ec2ede7
Merge branch 'mixing-fix' of https://github.com/gerow/toaruos into gerow-mixing-fix
2015-05-18 21:10:53 -07:00
Kevin Lange
bc806cf774
Merge branch 'sh-C-p-C-n' of https://github.com/gerow/toaruos into gerow-sh-C-p-C-n
2015-05-18 21:10:23 -07:00
Kevin Lange
60568a70a5
Remove debug messages from png loading
2015-05-18 21:08:37 -07:00
Kevin Lange
9a72bfc4cd
Add half-assed support for IRQ chaining.
...
We only support 4 total chain entries at the moment, but that can be
"easily expanded"... We don't really have a lite dynamic vector, just
the big fat dynamic lists, so improving on this needs some extra effort.
This commit also drags in a bunch of random network work by necessity.
2015-05-18 21:07:06 -07:00
Kevin Lange
331e0f0ad1
All debug lines to go straight to serial rather than TTY
2015-05-18 21:05:52 -07:00
Kevin Lange
b4d7e263b6
Fix critical issue in spawn_process
2015-05-18 21:05:41 -07:00
Mike Gerow
3515353704
Allow walking through shell history using C-n and C-p
2015-05-18 19:29:33 -07:00
Mike Gerow
2ac9f8a9ea
Fix the way that buffers are mixed
...
The previous method was failing to actually mix the samples as signed
16-bit values and just adding the individual bytes. This works out fine
for single buffers but creates weird artifacting if multiple buffers are
being mixed and there is a carry between the bytes.
2015-05-18 02:00:57 -07:00
Mike Gerow
368d2c0525
Add a command line utility for interacting with /dev/mixer
2015-05-17 20:31:36 -07:00
Mike Gerow
0f35a5bfe3
Add ioctl interface for snd mixer
2015-05-17 20:31:36 -07:00
Mike Gerow
f53ea98e05
Implement snd mixer interface in ac97.c
2015-05-17 20:31:36 -07:00
Mike Gerow
ad708efd5a
Add support for managing mixer knobs to snd interface
2015-05-17 20:31:36 -07:00
Kevin Lange
5d4f63356a
Fix warning in lfbvideo module
2015-05-17 15:00:49 -07:00
Kevin Lange
e703c8761b
removing log calls from timing-sensitive sound functions
2015-05-17 14:12:10 -07:00
Kevin Lange
8e61d4ee3a
Cleanup unused functions in glogin
2015-05-15 22:51:47 -07:00
Kevin Lange
9df3810da9
Separate pipe write/read locking
2015-05-15 22:51:27 -07:00
Kevin Lange
e047cea9a3
Boring comment header cleanups [ci skip]
2015-05-15 22:50:58 -07:00
Kevin Lange
bebb58b189
Fix audio delays
2015-05-15 22:21:53 -07:00
Kevin Lange
141ca495d9
Write to buffers in sequence instead of splitting in half
2015-05-15 15:01:51 -07:00
Mike Gerow
64d771b4fa
Remove the now unnecessary ioctl from play utility
2015-05-15 01:04:07 -07:00
Mike Gerow
320925d0d9
Convert ac97 module to use snd
2015-05-15 01:04:07 -07:00
Mike Gerow
b06b4af8b9
Add snd sound subsystem.
...
It's got a long way to go, but this provides basic mixing between
applications.
2015-05-15 01:04:07 -07:00
Mike Gerow
fd8c5db72a
Surround list macros in parens in order to allow calls like this:
...
list_t list;
foreach(node, &list) {
...
}
2015-05-15 01:04:07 -07:00
Kevin Lange
9cf86430ee
fix readme typo [ci skip]
2015-05-14 20:34:46 -07:00
Kevin Lange
58f84075bf
Big rewrite of the README
...
Have wanted to convert the three lists of third-party software to a table for a while now.
2015-05-14 19:34:17 -07:00
Kevin Lange
e1720dbc8a
Fix allocation of common symbols in modules
...
Fixes #87
2015-05-14 09:47:23 -07:00
Kevin Lange
66938e3123
Fix symbols not marked extern
2015-05-14 09:32:52 -07:00
Kevin Lange
6acef2ab41
Add audio player
2015-05-14 09:25:48 -07:00
Kevin Lange
456cbf1016
hacky, but working, /dev/dsp interface
2015-05-13 23:28:47 -07:00
Kevin Lange
3e605ec2d8
Crank the volume a bit
2015-05-13 18:58:24 -07:00
Kevin Lange
034cd38cf4
Gracefully handle failures to load audio files
2015-05-13 18:52:00 -07:00
Kevin Lange
5573199c4e
Actually let the file finish playing instead of cutting it off
2015-05-13 18:39:56 -07:00
Kevin Lange
a3ca443492
Don't bind shell functions if we didn't find it
2015-05-13 15:27:41 -07:00
Kevin Lange
fb9e02fbd8
Clean up AC97 driver for merge
2015-05-13 15:26:28 -07:00
Mike Gerow
3b60e8c36f
Added experimental ac97 driver.
...
This doesn't include a userland interface, but it does include a couple
of commands for the debug shell. ac97_status, which shows some register
and port values for the ac97 and ac97_noise which attempts to play a
(very annoying) 440Hz sine wave through the sound card.
2015-05-13 01:35:55 -07:00
Mike Gerow
ac17214207
Added ability to check if an IRQ is already occupied.
...
A proper solution would probably be to introduce shared IRQs at some
point in time.
2015-05-13 01:33:05 -07:00
Kevin Lange
eb3e865036
Update pong description
2015-05-12 23:29:24 -07:00
Kevin Lange
de3e405b52
Make pong prettier
2015-05-12 20:51:07 -07:00
Kevin Lange
2a59b09a9a
This is terrible: Yutani Pong
2015-05-11 22:20:27 -07:00
Kevin Lange
f0f286acb7
Yield after flipping display after glogin
...
Fixes very common issue where artifacts of the login widget were visible
after logging in before the desktop started up.
2015-05-09 22:11:55 -07:00
Kevin Lange
85795869f2
Add an early boot testing module
2015-05-03 18:36:57 -07:00
Kevin Lange
0cdcef9b3e
When requesting larger video modes, map more memory
2015-05-03 18:36:02 -07:00
Kevin Lange
8100af2d70
Recent dev changes to Makefile
2015-05-03 18:35:40 -07:00
Kevin Lange
c661e3073d
Add more icon search paths
2015-05-02 18:57:49 -07:00
Kevin Lange
648aedc0a4
Use a different resynch strategy for timer
2015-05-01 23:01:12 -07:00
Kevin Lange
a6f071f9c8
New scroll rows should set background colors.
2015-05-01 00:36:50 -07:00
Kevin Lange
365295010c
Make animations in Yutani faster.
2015-04-30 18:06:36 -07:00
Kevin Lange
49952347d6
add a piano app
2015-04-30 16:34:30 -07:00
Kevin Lange
59d0481db4
Fix pcspkr timing
2015-04-30 16:34:23 -07:00