Commit Graph

1308 Commits

Author SHA1 Message Date
Yanyan Jiang 33e5bf71c0 rename i64 to int64 2019-05-31 13:49:11 +00:00
Yanyan Jiang 696531b79b remove unused libs 2019-05-31 11:58:17 +00:00
Yanyan Jiang 87aefa2793 move int64 ops in compiler-rt to klib 2019-05-31 07:55:27 +00:00
Yanyan Jiang bca6560f7f remove amtrace.h for redesign 2019-05-31 15:15:44 +08:00
Yanyan Jiang 86d6b20739
Merge pull request #53 from jiangyy/microbench-train
Microbench train
2019-05-25 08:36:44 +00:00
Zihao Yu 9307402f18 apps,microbench: update doc 2019-05-25 16:28:54 +08:00
Zihao Yu 4544fccc4c apps,microbench: add train input of medium size 2019-05-25 16:20:52 +08:00
Yanyan Jiang a06d6397b4
Merge pull request #49 from jiangyy/better-memcpy
libs,klib,string: add 4-byte loop
2019-05-10 11:48:05 +00:00
Zihao Yu 1e1fe7c877 libs,klib,string: add 4-byte loop 2019-05-10 18:50:48 +08:00
Yanyan Jiang f0baaa1e81
Merge pull request #48 from jiangyy/fix-litenes
Revert "apps,litenes: use uint16_t for word memory accessing"
2019-05-09 13:06:03 +00:00
Zihao Yu ed0f10a778 Revert "apps,litenes: use uint16_t for word memory accessing"
This reverts commit 5ae9a76c1e.

* it may cause unaligned memory accessing on riscv32 and mips32
2019-05-09 20:24:46 +08:00
Yanyan Jiang 72acda06bb
Merge pull request #47 from jiangyy/better-name
Better name
2019-05-07 09:56:36 +00:00
Zihao Yu 18ec5ff14c am,navy: avoid symbol overwritten by nanos 2019-05-07 17:44:30 +08:00
Zihao Yu b55b6defa5 am,riscv32-noop: avoid symbol overwritten by nanos 2019-05-07 17:38:54 +08:00
Zihao Yu 17a3b09b85 am,riscv32-nemu: avoid symbol overwritten by nanos 2019-05-07 17:33:37 +08:00
Zihao Yu 2ecad442a9 am,mips32-nemu: avoid symbol overwritten by nanos 2019-05-07 17:30:04 +08:00
Zihao Yu aa1d9c091a am,x86-nemu: avoid symbol overwritten by nanos 2019-05-07 17:27:02 +08:00
Zihao Yu dc71dea89f am,native: avoid symbol overwritten by nanos 2019-05-07 16:04:04 +08:00
Yanyan Jiang 066a0e0fd4
Merge pull request #46 from jiangyy/fix-ld
Now x86-qemu will not export symbols that would confuse with other's code
2019-05-07 06:54:59 +00:00
Yanyan Jiang 2d3d90b739 x86-qemu: initialize all exported symbols 2019-05-07 14:54:22 +08:00
Yanyan Jiang 4f186f5da9 am: merge changes 2019-05-07 05:02:21 +00:00
Yanyan Jiang 76f99359c1 Merge branch 'fix-ld' of https://github.com/jiangyy/abstract-machine into fix-ld 2019-05-07 12:58:46 +08:00
Yanyan Jiang 299ffa8d0c apic.c: remove comments 2019-05-07 12:58:34 +08:00
Yanyan Jiang e514ef06d1
Merge pull request #44 from jiangyy/fix-cte
x86-qemu: force kernel stack 64b alignment
2019-05-07 04:57:53 +00:00
Yanyan Jiang fb3325b63f
Merge pull request #45 from jiangyy/fix-litenes
litenes: lock FPS to 60
2019-05-07 04:57:13 +00:00
Yanyan Jiang aea00f757d litenes: lock FPS to 60 2019-05-06 18:36:36 +00:00
Yanyan Jiang 296ee1a3d4 minor refactors 2019-05-06 18:19:11 +00:00
Yanyan Jiang 8a0dfdeff7 x86-qemu: force kernel stack 64b alignment regardess of given stack range 2019-05-06 17:54:20 +00:00
Yanyan Jiang cba9b59f9a x86-qemu: remove global data def 2019-05-06 17:53:03 +08:00
Yanyan Jiang e39f4f4d39 x86-qemu, makefiles: fixes, remove x86 tracing (need redesign) 2019-05-06 17:45:53 +08:00
Yanyan Jiang 6102652dc8 x86-qemu, makefiles: simplify ld commands 2019-05-06 17:11:43 +08:00
Yanyan Jiang 38a7ad8ed9
Merge pull request #42 from jiangyy/litenes-opt
Litenes opt
2019-05-06 05:05:40 +00:00
Zihao Yu 8ac4d491b8 apps,litenes,fce: do not wait for next frame if the current frame is skipped 2019-05-02 20:14:48 +08:00
Zihao Yu 6d9672f6e8 apps,litenes,ppu: process one frame in ppu_frame()
* this makes it possible to use more aggressive code for skip frame
2019-05-02 19:40:53 +08:00
Zihao Yu aa54af854c apps,litenes,ppu: fix buffer overflow bug when drawing sprite with y > H 2019-05-02 18:18:35 +08:00
Zihao Yu b7af5518f6 apps,litenes: smaller memory consumption 2019-05-02 15:55:15 +08:00
Zihao Yu c0524c8890 apps,litenes,ppu: simply sprite0 hit checking 2019-05-02 15:28:08 +08:00
Zihao Yu b9161a8568 apps,litenes,fce: use smaller screen array 2019-05-02 13:30:55 +08:00
Zihao Yu 4c772f1a1e apps,litenes,ppu: refactor scanline drawing 2019-05-02 11:30:10 +08:00
Zihao Yu 9d103b1de3 am,nemu-devices,video: assertion fails when out of bound 2019-05-01 18:03:29 +08:00
Zihao Yu 86476dc148 apps,litenes,ppu: only draw the scanline covered by sprite0 for hit check 2019-05-01 16:15:07 +08:00
Zihao Yu 5da7efea86 apps,litenes,ppu: re-organize pattern table to fetch XHLidx friendly 2019-05-01 13:46:02 +08:00
Zihao Yu 14422979c5 apps,litenes,ppu: split scanline updating from drawing 2019-05-01 11:55:45 +08:00
Zihao Yu 4e18c1bff3 apps,litenes,ppu: store XHLidx to check sprite0 hit, instead of XHL value 2019-05-01 11:06:00 +08:00
Zihao Yu c4abe72189 apps,litenes,ppu: directly set color16 to background for all pass
* Since last commit, the non-mirror pass and the mirror pass do not
  overlap. Combining them will give the complete screen.
2019-05-01 10:17:57 +08:00
Zihao Yu c4b65cfa51 apps,litenes,ppu: skip tile_x which is on the left of the screen 2019-04-30 22:16:26 +08:00
Zihao Yu 34bd77711a apps,litenes,ppu: draw background scanline with bbg color directly 2019-04-30 22:14:26 +08:00
Zihao Yu 2469881c61 apps,litenes,ppu: directly set color16 to background for the non-mirror pass 2019-04-30 18:29:34 +08:00
Zihao Yu 5ae9a76c1e apps,litenes: use uint16_t for word memory accessing 2019-04-30 11:55:48 +08:00
Zihao Yu 342e5ec844 apps,litenes,cpu: skip spin 2019-04-30 11:26:46 +08:00