Commit Graph

2026 Commits

Author SHA1 Message Date
Kevin Lange
8acc983265 Keep kernel/symbols.s in .gitignore 2015-05-20 19:19:06 -07:00
Dale Weiler
5ddbbf8199 Some IRQ cleanup 2015-05-20 19:52:19 -04:00
Dale Weiler
82d706f453 Rewrite IDT code 2015-05-20 18:53:03 -04:00
Dale Weiler
51fbc77e3f Eliminate superfluous strlen pass in vasprintf 2015-05-20 18:21:39 -04:00
Dale Weiler
d6a7db993e Use PUSH macro when setting up thread argument and return address 2015-05-20 16:53:14 -04:00
Dale Weiler
333d97bc7a Fix system calls 2015-05-20 16:45:30 -04:00
Dale Weiler
c9f9625722 Use uintptr_t and document sys_mount arguments which are not used with a TODO 2015-05-20 14:59:47 -04:00
Dale Weiler
d5ef1d194e automatic handling of assembler object files in Makefile 2015-05-20 14:55:33 -04:00
Dale Weiler
117225b626 Cleanup system call code and improve branch prediction. 2015-05-20 14:14:51 -04:00
Dale Weiler
31900155fb ring3 switch code in user.S now 2015-05-20 04:46:10 -04:00
Dale Weiler
ca5a319ee6 Validate syscall inputs 2015-05-20 03:34:39 -04:00
Dale Weiler
ceaed61c42 Merge branch 'strawberry-dev' of github.com:klange/toaruos into strawberry-dev 2015-05-20 03:20:08 -04:00
Dale Weiler
01176e0f97 Use GAS instead of YASM. 2015-05-20 03:12:20 -04:00
Kevin Lange
4a1ff8112d Fix color of volume icons 2015-05-19 20:38:41 -07:00
Kevin Lange
7f66c10230 Bind scroll to volume up/down on volume icon 2015-05-18 22:19:30 -07:00
Kevin Lange
d8ac0fc902 Add a working (but read-only) volume knob to the panel. 2015-05-18 21:36:49 -07:00
Kevin Lange
9d41b3fc25 Merge branch 'mixer-rebase' of https://github.com/gerow/toaruos into gerow-mixer-rebase 2015-05-18 21:15:25 -07:00
Kevin Lange
eac7301e79 Merge branch 'gerow-mixing-fix' into strawberry-dev 2015-05-18 21:11:26 -07:00
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