Commit graph

34 commits

Author SHA1 Message Date
Fabian 497f618cab Merge branch 'wasm' into master 2021-01-03 02:07:20 -06:00
Fabian fe6872d55b Don't print control characters in terminal 2020-12-31 19:14:33 -06:00
copy e237b218c9 Fix style and hide extra COM ports behind options 2019-05-11 19:06:41 -05:00
Stefan Bethke 0bce005cc0 Add COM2 to COM4 and extend API to allow receiving output bytes and sending input bytes to them. 2019-05-11 19:06:41 -05:00
copy 32990efa96 Uart: Start with iir set for THRI
Fixes serial detection in seabios
Fixes #132
2017-03-11 19:26:14 -05:00
copy 4576386878 Make closure compiler happy 2017-03-04 16:25:23 -05:00
copy 7a1de12ca5 Trim whitespace when logging from uart 2016-12-01 00:28:14 +01:00
copy 997d4c6c6d Port over some improvements from jor1k for uart 2016-11-21 20:09:03 +01:00
copy 289ce3dabc Uart: Implement 16 bit data access 2016-06-26 20:59:09 +02:00
copy d7dac7c9b4 Prepare for Closure Compiler's new type inference 2015-12-30 23:30:54 +01:00
copy 7fba276f86 Fix warnings 2015-09-15 21:58:40 +02:00
copy f557156256 trailing whitespace 2015-09-12 01:10:38 +02:00
copy f82373d6b2 Build state of emulator explicitly. Fixes #40 2015-05-18 22:18:59 +02:00
copy 3a824eda12 Change handling of interrupts to involve APIC 2015-05-17 01:56:50 +02:00
copy 5ec103706f Remove bus.should_send 2015-04-12 16:45:03 +02:00
copy 27ced06ac9 Some annotations 2015-02-25 18:21:54 +01:00
copy a0da169168 Make _state_skip work by value (instead of key). Fixes certain Closure Compiler builds 2015-01-12 18:05:10 +01:00
copy 0832f75ad4 uart fixes 2015-01-12 00:47:43 +01:00
copy a644a0e3e3 whoops 2015-01-12 00:40:39 +01:00
copy 420f6e72b9 linewise input event is unused (and likely useless), disable for now 2015-01-11 21:30:25 +01:00
copy aaedb1349a More correct UART implementation via jor1k 2015-01-10 02:17:19 +01:00
copy 4fad44504d Send 'serial0-output-line' messages if necessary 2015-01-09 04:03:38 +01:00
copy 13511362d7 refactor communication between emulated devices and browser implementation using Bus. Web worker comming soon ;) 2014-12-25 02:32:18 +01:00
copy e9042db130 use prototype 2014-12-21 22:57:17 +01:00
copy 143b3b108b clean up unused code in uart 2014-12-20 20:45:07 +01:00
copy 3f7744ed29 Proper interrupt identification via jor1k 2014-12-14 16:26:09 +01:00
copy 5fd2a1bd35 Improved handling of IO port operations 2014-10-21 21:51:42 +02:00
copy 034889a5b6 clean that up 2014-10-04 20:50:31 +02:00
copy 7a731ca061 Change CPU from closure to prototypical notation.
This change was necessary for several reasons:

- Code is much clearer and more modular
- The CPU object is now serializeable and therefore can be safed and
  restored
- A dynamic translator from instructions to (optimized) JavaScript is
  planned. It would use `new Function` to create functions at runtime.
  Functions created this way don't have access to any scope (except for
  the global scope) and therefore were not have been able to modify
  registers, etc. This is now possible through the cpu object
- Possibly, but not necessarily a speedgain can be achieved.
  See http://mrale.ph/blog/2012/09/23/grokking-v8-closures-for-fun.html

Additionally, some code was moved around.
2014-06-15 22:25:17 +02:00
copy 7cb213f0ee plans for plan9 2014-06-02 22:31:25 +02:00
copy 3c82cc5f72 Working UART implementation 2014-01-08 03:14:33 +01:00
copy 0a59180db4 Preparations for new interface 2014-01-05 03:19:09 +01:00
copy d7d8c2d2ff minor changes 2013-12-20 22:05:49 +01:00
copy 8180d49f24 first public release 2013-11-06 01:12:55 +01:00