幻の上帝吧 关注:328贴子:3,165
1楼继续喂熊……


IP属地:北京1楼2011-04-05 18:04回复
    上一版本地址:
    http://tieba.baidu.com/f?kz=767225536


    IP属地:北京3楼2011-04-05 18:07
    回复
      项目维护用地址:http://code.google.com/p/yslib


      IP属地:北京7楼2011-04-05 19:45
      回复
        回复:8楼
        间歇性404...
        被墙坑了无误。。。


        IP属地:北京9楼2011-04-05 22:33
        回复
          Build199预备完成,继续debug……
          下一个Build发布。


          IP属地:北京11楼2011-04-09 22:01
          回复
            debug完简化了下代码,算是milestone了……
            继续坑。





            


            IP属地:北京12楼2011-04-11 09:14
            回复
              build 226 rev 1。
              loading界面:


              加入invalidation后的效果(FPS是伪劣产品,只在有动作进行刷新时有效;上面是invalidated rect四元组(X, Y, Width, Height)):




              


              IP属地:北京16楼2011-07-13 10:37
              回复
                显示内嵌点阵的TrueType中文字符会出问题,原因不明。
                下面用的是Win7自带宋体simsun.ttc。上面正常的是用FontForge去掉点阵的ttf文件。



                对比正常的:

                


                IP属地:北京17楼2011-07-13 10:43
                回复

                  build 273 rev 47
                  重新部署文本缓冲策略,定长编码大文件随机读取效率即使在模拟器里完爆记事本也绰绰有余(和写字板相当,不过那个显然有预处理过)……
                  *显示tab暂时懒得搞。
                  


                  IP属地:北京18楼2011-12-27 19:20
                  回复

                    Yet sth is not a Shell


                    IP属地:北京21楼2012-01-13 18:50
                    回复
                      优化逻辑。关键动作40.x/125.0。更改关键动作为ListBox拖动,9.x/27.x。
                      最后帧复制使用DMA copy, 10.8~11.x/30.x~31.x。
                      补完ListBox的各种事件 9.9/27.x~29.x。
                      加入其它功能时FPS不稳定,debug在9.4~9.7/27.x~30.x之间波动。可能是加载器的问题。
                      优化主消息循环,9.4→9.6。
                      加入其它内容,再次波动。
                      b276:
                      改变本机Color类型从native(ARGB1555)到RGBA8888,9.5~9.6/28.571~29.4→9.5~9.6/30.6~31.250。
                      但是实机上一直稳定9.09(文件内容/界面略有不同)→ →。。
                      2012-01-12 12:28
                      旧关键动作→KA0
                      关键动作→KA1
                      Invalidation moved to child rendering.
                      FPS under debug configuration:
                      KA0 38~39→41.6
                      KA1 9.5~9.6→9.6~9.7
                      2012-01-12 17:13
                      font loading interface changed
                      FPS under debug configuration:
                      KA1 9.6~9.7
                      2012-01-17 04:24
                      Define KeyAction2 as touching the main window.
                      ----
                      b278 debug rev 12/release rev 13
                      KA0 40.000~41.666/125~142.85
                      KA1 9.3~9.433/29.411~30.3
                      KA2 55.555~58.823/142.85~166.6
                      free 62.500(+)/166.6~200.0
                      ----
                      Buffered widget renderer background bug fixed.
                      KA1 9.1~9.2
                      Add state for ignorance.
                      KA1 8.8~8.9
                      Set ignorance.
                      ----
                      b278 debug rev 21/release rev 22
                      KA0 40.000~41.666/125~142
                      KA1 9.259(+)/29.411~30.3
                      KA2 55.555~58.823/142.85~166.6
                      free 58.823~62.500/166.6~200.0
                      2012-01-17 04:35
                      Surprisingly, almost no efficiency decreased in release configuration.
                      Hope to see performance on real machine.
                      2012-01-17 04:36
                      Size of program image:
                      b278
                      debug 1053KB
                      release 829KB
                      minimal size:
                      b267, b269
                      release 811KB
                      b267
                      debug 1023KB
                      EX:
                      b156 798KB
                      b178 1051KB
                      Difficult to control the binary size using current tools.
                      2012-01-17 04:41
                      


                      IP属地:北京24楼2012-01-17 20:44
                      回复

                        SWI 02h (GBA) or SWI 06h (NDS7/NDS9) - Halt
                        Halts the CPU until an interrupt request occurs. The CPU is switched into low-power mode, all other circuits (video, sound, timers, serial, keypad, system clock) are kept operating.
                        Halt mode is terminated when any enabled interrupts are requested, that is when (IE AND IF) is not zero, the GBA locks up if that condition doesn't get true. However, the state of CPUs IRQ disable bit in CPSR register, and the IME register are don't care, Halt passes through even if either one has disabled interrupts.
                        On GBA and NDS7, Halt is implemented by writing to HALTCNT, Port 4000301h. On NDS9, Halt is implemted by writing to System Control Coprocessor (mov p15,0,c7,c0,4,r0 opcode), this opcode hangs if IME=0.
                        No parameters, no return value.
                        (GBA/NDS7: all registers unchanged, NDS9: R0 destroyed)
                        SWI 07h (NDS7) - Sleep
                        No info, probably similar as GBA SWI 03h (Stop). Sleep is implemented for NDS7 only, not for NDS9, not sure if the functions stops BOTH NDS7 and NDS9?

                        


                        IP属地:北京25楼2012-01-17 20:53
                        回复

                          TCM and DMA and IRQ
                          No idea if/how IRQs are handled during DMA? Eventually (unlikely) code in TCM is kept executed until DMA finishes (ie. until the IRQ vector can be accessed. Eventually the IRQ vector is instantly accessed (causing to halt the CPU until DMA finishes). In both cases: Assuming that IRQs are enabled, and that the IRQ vector and/or IRQ handler are located outside TCM.
                          


                          IP属地:北京26楼2012-01-17 20:55
                          回复
                            Maxmod init removed, simplified ::main impl @ ARM7.
                            FPS:
                            KA1 9.2~9.3/29.4~30.3
                            binary size:
                            1034KB/810KB


                            IP属地:北京27楼2012-01-17 21:20
                            回复
                              b287 r27
                              9.259(+)~9.345(-)
                              加了载入文本的默认视图处理反而高了……
                              果然是cache miss的RPWT么。。
                              b287 r31
                              9.345~9.433


                              IP属地:北京28楼2012-01-18 17:24
                              回复