Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Emuladores 4 fun & profit

Emuladores 4 fun & profit

Uma breve introdução à emulação no browser citando as specs do CHIP-8

Dfdcc7fdb4b631ae9c30acd5ac6c2cbe?s=128

Thiago Pontes

November 08, 2015
Tweet

Transcript

  1. EMULADORES 4 FUN & PROFIT EMULADORES 4 FUN & PROFIT

  2. thiago pontes @thiagopnts https://thiago.me

  3. eu emuladores

  4. its magic! emulacao?

  5. roms?

  6. como?

  7. System specs

  8. javascript canvas web audio api file api

  9. CHIP-8

  10. cpu-16 registers

  11. cpu-16 registers

  12. address register

  13. address register

  14. 16 bytes stack + 1 stack pointer

  15. 16 bytes stack + 1 stack pointer

  16. 2048 pixels display (64x32)

  17. 2048 pixels display (64x32)

  18. program counter

  19. program counter

  20. 4kb memory

  21. 4kb memory

  22. 35 opcodes 2 bytes cada

  23. 35 opcodes 2 bytes cada

  24. 35 opcodes 2 bytes cada

  25. decode/exec opcode

  26. INPUT, TIMERS, GRAPHICS, ETC

  27. loop

  28. por que?

  29. None
  30. duvidas?