~/talk

Emulating on the JVM

Talkat J-Fall 2023 · on Thursday, 2023-11-09· [java, embedded-and-hardware]
links:none on file
slides:none on file

Builds a working CHIP-8 emulator on the JVM using JavaFX, implementing the chip’s 35 instructions, 4 KB memory map, 64×32 monochrome display and 60 Hz timers. Solves Java’s signed-byte problem with unsigned byte masking and manual range checks, assembles two-byte instructions with fetchOpcode combining two bytes, wires keyboard and rudimentary sound (sound not fixed yet), and demos games like Invaders where graphics flicker as expected but the emulation runs.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:50Choosing Chip-8 as emulator target
  3. 2:52Chip-8 architecture overview
  4. 5:03Handling unsigned values in Java
  5. 6:57Fetching and decoding instructions
  6. 8:26Building with JavaFX
  7. 9:56Running the emulator demo
  8. 11:09Testing with Space Invaders
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.