Commit Graph

1446 Commits

Author SHA1 Message Date
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
Yanyan Jiang 490756cbb8
Merge pull request #41 from jiangyy/litenes-ppu-opt
Litenes ppu opt
2019-04-29 08:27:18 +00:00
Zihao Yu 4095581af4 apps,litenes,ppu: refactor profiling code 2019-04-29 16:20:01 +08:00
Zihao Yu ac0249005a apps,litenes,ppu: do not examine every sprite
* also put the checking of sprite0 hit out of the inner loop
2019-04-29 16:08:42 +08:00
Zihao Yu 83f10b8cc6 apps,litenes,fce: fix frame_cnt 2019-04-29 14:22:01 +08:00
Zihao Yu e6c8d1952f apps,litenes,ppu: use memcpy() for DMA 2019-04-29 13:39:00 +08:00
Zihao Yu 93b25bf7f2 apps,litenes,memory: inline mmc and psg accessing 2019-04-29 13:24:13 +08:00
Zihao Yu 1a98d2009d apps,litenes,cpu: optimize lazy flag for zf 2019-04-29 12:48:49 +08:00
Zihao Yu e98b03d54d apps,litenes,cpu: remove extra cycle statistic during addressing
* it seems still work
2019-04-29 12:41:02 +08:00
Zihao Yu aebf0f2211 apps,litenes,cpu: let flag be an integer instead of a bit
* this can simplify some flag computation
* to use the flag as a bit, use cpu_flag_setbit(flag)
2019-04-29 11:45:59 +08:00
Zihao Yu e8dfb2fecc apps,litenes,cpu: do not compute target if the branch is not taken 2019-04-29 11:43:58 +08:00
Zihao Yu d506f5e8fe apps,litenes,ppu: change palette cache to color cache 2019-04-29 10:08:45 +08:00
Zihao Yu a3a875bb7a apps,litenes: clean up 2019-04-29 02:10:41 +08:00