Conversation Between jiangzhengwenjzw and Blah
16 to 30 of 89
  1. jiangzhengwenjzw
    June 30th, 2019 10:41 AM
    jiangzhengwenjzw
    sure there're lots of content directly 'incbin'ed from the baserom, but many can be done at this point. I already contributed 2 files and now am waiting for garak to finish porting npc MACROs/DECLs from pokeem.
  2. Blah
    June 30th, 2019 10:17 AM
    Blah
    The repository isn't even fully dumped :x
  3. jiangzhengwenjzw
    June 28th, 2019 8:56 PM
    jiangzhengwenjzw
    pokefirered needs you
  4. jiangzhengwenjzw
    June 24th, 2016 5:39 PM
    jiangzhengwenjzw
    Oh, that's a pity. I've found that many amazing features (like lightning of red/blue orb in EM and flashing charizard in FR titlescreen) are done by those kind of things and the related functions, but they're really not easy to analyze. :/
  5. Blah
    June 24th, 2016 11:33 AM
    Blah
    They are basically unnamed. I asked him about these earlier, he described them as unknown or unnamed structs.
  6. jiangzhengwenjzw
    June 24th, 2016 8:35 AM
    jiangzhengwenjzw
    Hello, I'm quite confused about the dpXX in knizz's DB. Would you mind explaining something basic about it to me? Thanks!
  7. jiangzhengwenjzw
    April 10th, 2016 6:11 AM
    jiangzhengwenjzw
    Great.
  8. Blah
    April 10th, 2016 5:39 AM
    Blah
    That's one way, but you should really avoid doing so. Flush the uncompressed data into a buffer, use gpu_pal_apply and use DMA to transfer the data to VRAM during a vblank. That's all you need to do. If you want examples, check how FireRed does the PC box's BG graphics.
  9. jiangzhengwenjzw
    April 10th, 2016 1:18 AM
    jiangzhengwenjzw
    Do you have any idea? Or should I update the tilemap within the vblank_handler?
  10. jiangzhengwenjzw
    April 7th, 2016 6:33 PM
    jiangzhengwenjzw
    Still not working. I've tried it in ASM, to read the register in lcd_io_buffer.
    See it: http://pastebin.com/ih5jX1ni
  11. Blah
    April 7th, 2016 8:16 AM
    Blah
    Generally, you should use an interrupt. However, this is fine too dependingly:
    http://www.coranac.com/tonc/text/video.htm#sec-vsync1
  12. jiangzhengwenjzw
    April 7th, 2016 7:18 AM
    jiangzhengwenjzw
    yes, i will ask there the next time.
    I surely use gpu_pal_apply, but I don't know how to wait for the vblank. Should I add a task to check the REG_DISPSTAT? (I know there's a "buffer" for this I/O register, but that's the same)
  13. Blah
    April 7th, 2016 6:53 AM
    Blah
    No, I mean wait for the vblank before drawing to the BG. If you use gpu_pal_apply, it should write during the next vblank too. This idea of writing during vblanks is called vsyncing.

    Also Jiang, I appreciate you trying to learn and stuff, but can you ask your questions in help threads? I'd like for other people who may have similar questions to you be able to see my answers to these questions. Often times I've answered your questions privately with someone else. It'd help to spread the knowledge
  14. jiangzhengwenjzw
    April 7th, 2016 6:24 AM
    jiangzhengwenjzw
    what do you mean or what should i do?

    EDIT:
    wait...... is it something with the gpu_sync_bg_show?
  15. Blah
    April 7th, 2016 5:11 AM
    Blah
    yes, vysnc