Commit Graph

145 Commits

Author SHA1 Message Date
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
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
59d0481db4 Fix pcspkr timing 2015-04-30 16:34:23 -07:00
Kevin Lange
4fd1ae9aa3 Support scrollwheel mice 2015-04-26 18:05:14 -07:00
Kevin Lange
7344a50fe0 Major changes to timing interfaces
- The kernel version has been bumped to 0.9.0
- The timer resolution in the kernel has been increased to millseconds.
- The preemptive scheduling interval has been descreased to one
  millisecond.
- Relative sleep continues to use 10 millsecond intervals for legacy
  reasons.
- `gettimeofday` now uses the internal tick counter to calculate the
  current time. Drift is calculated from the CMOS every 5 seconds and
  applies only to `gettimeofday` and other places that use it.
- The resolution of timing information provided by debug functions has
  been increased to three digits (milliseconds).
- The resolution of timing information provided by the procfs uptime
  virtual file has been increased to three digits (milliseconds).
- Functions have been added to the debug shell to read the TSC. The TSC
  is not used in timing functions at this time.
2015-04-14 23:05:07 -07:00
Kevin Lange
b54e2d1b54 Several ridiculous hacks for networking 2015-04-04 12:19:10 -07:00
Kevin Lange
c11a871ad5 Support PCI init from VirtualBox BGE 2015-04-04 12:18:09 -07:00
Kevin Lange
d44289b593 empty stub intel hda module 2015-04-04 11:48:57 -07:00
Kevin Lange
f33f723735 Remove ext2 debug stuff 2015-02-15 17:40:31 -08:00
Kevin Lange
a9f5727a8b sketchy incorrect unlink and truncate on open 2015-02-12 21:43:20 -08:00
Kevin Lange
e64eb6c90c Cleanup and bugfixes for previous ext2 work 2015-02-12 21:02:02 -08:00
Kevin Lange
25df3dfe0e File permissions when writing ext2 2015-02-12 20:34:40 -08:00
Kevin Lange
ba65120b0a More experimental ext2 write support - vfs linkage 2015-02-12 20:24:29 -08:00
Kevin Lange
a73a033a29 Experimental updates to write support in ext2 (incomplete, internals only) 2015-02-11 23:12:01 -08:00
Kevin Lange
4b1778293b Add a silly module for debugging on my netbook 2015-02-04 19:53:16 -08:00
Kevin Lange
a7eb739963 Support notably slower drives 2015-02-04 19:53:02 -08:00
Kevin Lange
91c51272bc Copyright years (hello 2015) 2015-02-03 19:43:04 -08:00
Kevin Lange
f631283fb2 minor keyboard module cleanup 2015-02-03 15:19:09 -08:00
Kevin Lange
724a58930f Fix rtl_ircd startup sequence 2014-08-05 22:33:56 -07:00
Kevin Lange
87c212017b Various bits of cleanup to unbreak mounting 2014-06-09 21:21:46 -07:00
Kevin Lange
17e332b5e7 expose mounting to userspace 2014-06-09 20:13:11 -07:00
Kevin Lange
d3cddf169a And then some more magic to merge the vimhints and the copyright headers 2014-06-07 23:58:31 -07:00
Kevin Lange
1287af81ef Reinsert vim hints magically 2014-06-07 23:51:01 -07:00
Kevin Lange
b58f7ed353 Strip vim hints from modules 2014-06-07 23:45:54 -07:00
Kevin Lange
d3b4a7c5dc Tweak a few extraneous copyright headers 2014-06-07 23:29:17 -07:00
Kevin Lange
ef7d72c1e1 License headers and a tool to generate them 2014-06-07 23:13:29 -07:00
Kevin Lange
09c8678953 add a debug shell command to replace with a login shell 2014-06-07 20:44:13 -07:00
Kevin Lange
dfc5901575 Cleanup module loading command (messages in particular) 2014-06-07 19:48:37 -07:00
Kevin Lange
77761d0266 Fix double free in kdebug ls 2014-06-07 19:42:19 -07:00
Kevin Lange
d532f0350a Only include binary name, and not path, in /proc/x/status 2014-06-07 18:07:23 -07:00
Kevin Lange
c843c60888 Fix permission masks on procfs 2014-06-07 15:05:12 -07:00
Kevin Lange
24e34911bf Some net cleanup, still working on generic interface 2014-06-07 13:25:28 -07:00
Kevin Lange
02dbc0e1f4 some vague attempt at revealing links in stat 2014-06-07 12:58:45 -07:00
Kevin Lange
871da8a2d4 Reset tty after divine-size 2014-06-06 11:37:47 -07:00
Kevin Lange
9d389c52d5 Add PPid to procfs 2014-06-05 23:41:21 -07:00
Kevin Lange
4c199aa6b8 close previous wd on kdebug cd 2014-06-05 22:22:17 -07:00
Kevin Lange
34d81fca37 Probably fix mkdir in tmpfs 2014-06-05 19:08:07 -07:00
Kevin Lange
99ca785025 Fix warning in ps2mouse module 2014-06-01 12:56:47 -07:00
Kevin Lange
d7b7d17a00 That assertion should be a warning 2014-05-31 20:35:23 -07:00
Kevin Lange
f317b18a25 Add a debug command to maybe fix mouse if it gets stuck 2014-05-30 22:27:45 -07:00
Kevin Lange
04fa7a39b7 Support ^D in debug shell; make VINTR ^B for serial console 2014-05-29 22:01:53 -07:00
Kevin Lange
54cd6e4547 Hm. Not sure why that's happening. 2014-05-28 20:17:23 -07:00
Kevin Lange
84420f9e5c Support closing packetfs connections 2014-05-28 19:21:56 -07:00
Kevin Lange
d696f51f8b Real unix pipes 2014-05-27 21:38:30 -07:00
Kevin Lange
ad1074184c Fix an IRC bail fprintf that was dropping a unit 2014-05-23 13:26:03 -07:00