Commit Graph

1774 Commits

Author SHA1 Message Date
LinJiawei 22703d010e support printf float number 2021-01-12 21:33:49 +08:00
LinJiawei 04fe5a7498 enable fpu 2021-01-10 12:06:11 +08:00
Yinan Xu 862aa8c188 Merge branch 'master' of github.com:RISCVERS/nexus-am 2021-01-10 11:53:20 +08:00
Yinan Xu eb04f7e38e am: set memory size to 1GB 2021-01-10 11:52:53 +08:00
Allen 3fd847e688 Merge branch 'master' of github.com:RISCVERS/nexus-am 2021-01-09 21:47:54 +08:00
Allen ce05c7b079 Ported stream benchmark. 2021-01-09 21:46:17 +08:00
LinJiawei fea5c098d7 update coremark 2020-10-27 13:00:26 +08:00
LinJiawei 022d9065d3 Merge branch 'master' of https://github.com/RISCVERS/nexus-am 2020-07-26 15:45:18 +08:00
LinJiawei 8fe5185ec0 Microbench: reduce test size of bf 2020-07-26 15:44:44 +08:00
Yinan Xu 9b24c9ca30 cte: enable/disable sip 2020-07-22 09:52:35 +08:00
Zihao Yu 374ff58bb0 Merge branch 'dummy' into 'master'
dummy: add dummy devices

See merge request projectn/nexus-am!48
2020-07-10 20:30:26 +08:00
Zihao Yu 1a6c4c3cdd dummy: add dummy devices 2020-07-10 20:29:34 +08:00
Zihao Yu fdcab56165 Merge branch 'fceux-no-gui' into 'master'
apps,fceux: support video without GUI

See merge request projectn/nexus-am!47
2020-07-10 19:41:27 +08:00
Zihao Yu 73d5ffe67b apps,fceux: support video without GUI 2020-07-10 19:40:27 +08:00
Zihao Yu 4075abdddc Merge branch 'riscv64-noop-nanoslite' into 'master'
Riscv64 noop nanoslite

See merge request projectn/nexus-am!46
2020-07-09 16:55:48 +08:00
Zihao Yu 326d9da31d apps,fceux: support exit with Q key 2020-07-09 16:54:43 +08:00
Zihao Yu c61900dce9 riscv64-noop: adapt to new MMIO address space 2020-07-09 16:53:03 +08:00
Zihao Yu c90a5adf34 Merge branch 'fix-audio' into 'master'
Fix audio

See merge request projectn/nexus-am!45
2020-07-06 14:25:50 +08:00
Zihao Yu 794ae5e948 apps,fceux: disable audio code with SOUND_NONE 2020-07-06 14:24:17 +08:00
Zihao Yu 2695bb1d18 am: add dummy audio for platform without audio device 2020-07-06 14:21:48 +08:00
Zihao Yu 63f9d3784f Merge branch 'jyy-upstream' into 'master'
Jyy upstream

See merge request projectn/nexus-am!43
2020-04-24 20:30:58 +08:00
Zihao Yu ed7744a593 Merge branch 'audio' into 'master'
Audio

See merge request projectn/nexus-am!42
2020-04-24 20:28:55 +08:00
Zihao Yu f112d35650 klib,stdlib: implement a simple version of free()
* this helps to avoid out-of-memory in fceux, since fceux will repeatly
  call malloc()/free() when copying data to the audio buffer
2020-04-24 20:11:40 +08:00
Zihao Yu bbf856f3fd klib,int64: implement clzsi2() and ctzsi2()
* this is to support 64-bit divisions in fceux
2020-04-24 19:54:19 +08:00
Zihao Yu a149aba788 apps,fceux: add config.h for configuration of frameskip and sound 2020-04-24 19:47:44 +08:00
Zihao Yu 2c17242576 apps,fceux,sdl: handle audio buffer underflow for NEMU 2020-04-24 19:44:52 +08:00
Zihao Yu 22d2be311e apps,fceux,x6502: use ADDCYC() when skipping spin
* ADDCYC() can still maintain soundtimestamp correctly
2020-04-24 19:33:09 +08:00
Zihao Yu ef6689005b apps,fceux,sound: small refactor 2020-04-24 19:31:57 +08:00
Zihao Yu d44eaf8109 apps,fceux,sound: remove floating point operations 2020-04-24 19:31:22 +08:00
Zihao Yu f47f582b59 *-nemu,ioe: add audio 2020-04-24 19:28:11 +08:00
Zihao Yu 90104ba9d2 tests,amtest,audio: use 8kHz example 2020-04-23 21:09:26 +08:00
Zihao Yu dacc04cacc native,devices,audio: add init register 2020-04-23 21:05:58 +08:00
Zihao Yu 43d6cf558d native,devices,audio: add missing files 2020-04-23 20:29:23 +08:00
Zihao Yu 55b6b17140 native,devices,audio: modify the buffer size to match the one in fceux
* this fixed the delay
2020-04-23 20:08:18 +08:00
Zihao Yu c808df5403 apps,fceux: sound works on native, but there is some delay 2020-04-23 20:07:13 +08:00
Zihao Yu bf9ef5524c native,devices,audio: modify ctl.wait to wait until there are enough space
* instead of waiting for a totally free buffer
2020-04-23 20:03:14 +08:00
Zihao Yu 7ac68fa3e2 native,devices,audio: add SBSTAT register
* this can expose the status of the stream buffer to applications
2020-04-23 20:00:48 +08:00
Zihao Yu 163a316f56 apps,fceux: add sound back 2020-04-23 09:23:45 +08:00
Zihao Yu 94601b1cb2 native,ioe: add audio and audio test 2020-04-23 09:22:24 +08:00
Zihao Yu 5548c7d541 Merge branch 'riscv64-sdi' into 'master'
am: add riscv64-sdi

See merge request projectn/nexus-am!41
2020-04-22 16:45:56 +08:00
Zihao Yu 7bd9feb1f1 am: add riscv64-sdi 2020-04-22 16:44:12 +08:00
Zihao Yu ee45a49e1a Merge branch 'riscv32-noop' into 'master'
add riscv32-noop

See merge request projectn/nexus-am!40
2020-04-21 11:55:52 +08:00
Zihao Yu d9607b87fa add riscv32-noop 2020-04-21 11:52:04 +08:00
Zihao Yu 6fd52a1242 Merge branch 'printf-int32' into 'master'
libs,klib,stdio: format 32-bit integer without 64-bit division

See merge request projectn/nexus-am!39
2020-04-15 23:16:40 +08:00
Zihao Yu ae27be8866 libs,klib,stdio: format 32-bit integer without 64-bit division 2020-04-15 23:15:01 +08:00
Zihao Yu 47fb03a3a8 Merge branch 'patch-1' into 'master'
Update string.c : fix bug in strcat when dst start with '\0'

See merge request projectn/nexus-am!38
2020-04-13 23:46:45 +08:00
Legend Zhang 4d3fb8a14f Update string.c : fix bug in strcat when dst start with '\0' 2020-04-13 23:44:37 +08:00
Zihao Yu 5fb66a380f Merge branch 'fix-riscv-cte' into 'master'
riscv64-nemu,cte: fix wrong store instruction in trap.S

See merge request projectn/nexus-am!37
2020-03-25 09:19:37 +08:00
Zihao Yu 90891b4b3e riscv64-nemu,cte: fix wrong store instruction in trap.S 2020-03-25 09:18:26 +08:00
Zihao Yu 00a57cee1b Merge branch 'sdi' into 'master'
am,sdi: use the rv64 engine in NEMU and add more isa

See merge request projectn/nexus-am!36
2020-03-25 09:16:17 +08:00