Repository navigation
Releases
MilliEmu 2.1 — deep debug across every core
MilliEmu 2.1 — deep debug across every core
Released 2026-12-03.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 307,120 bytes
- SHA-256:
495e33c48724b16e59baf459d85dc5561ad0ef4c8165416cdd01be9ec1dc7f7f - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
Three bugs found by testing every core at once
A new harness, tools/CoreSweep.java, opens all fourteen registered extensions the way the app
does and throws real test ROMs, truncations, header-less blobs and byte-mutated images at them. It
checks the invariants the app silently relies on: bad images raise IOException and never a JVM
fault, a loaded image never throws or hangs a frame, two fresh runs produce identical video and
audio, reset() replays like a fresh load, opening a second ROM leaks no state, save-state replay
is byte-exact, and a truncated save state is refused.
It ran 560 cases (340 images actually executed) and surfaced three real defects:
- Pokémon Mini could take the whole session down. A
.mincartridge that hit an unsupported
S1C88 opcode threwIllegalStateExceptionout ofstepFrame(), which the Android frame loop
treats as fatal. The core now freezes with a recordedfaultReason(), exactly like the Virtual
Boy core already did. - DS
SWI 00hreset the entire machine. GBATEK defines it as SoftReset: clear the caller's
200h-byte system area, reinitialise its stack pointers, and jump to the return address the
program stored at027FFE24h/027FFE34h. The core calledreset(), wiping main RAM from inside
a CPU step — a cartridge calling it in a loop turned one frame into minutes of work. - GBA
SWI 00hhad the same defect and now follows GBATEK too: clear03007E00h..03007FFFh,
set the three stack pointers, and branch to the ROM or RAM entry the flag byte at03007FFAh
selects, with main RAM and video memory intact.
Thirteen new deterministic checks cover the fixes; the suite is now 294 checks with 0 failures, and
both Gradle assembles pass. No commercial ROMs were used or downloaded: the sweep runs the
self-checking test ROMs already in the repository plus generated images.
MilliEmu 2.0 — DS 3D edge marking and anti-aliasing
MilliEmu 2.0 adds per-polygon edge marking and edge-only anti-aliasing to the Nintendo DS 3D renderer.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 306,705 bytes
- SHA-256:
b5d4935c7411d97ecc8cca71a3faf25de04cb729e1b0be8c928d2bb6b8b1d0c6 - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
Polygons get outlined and softened edges
0x04000330..0x0400033Fis a real eight-entry RGB555 edge-colour table, readable and writable through the ARM9 bus. GBATEK groups polygon IDs by eight, so a pixel uses entrypolygonID >> 3.- The rasteriser keeps a polygon ID per pixel. A pixel is an edge when an orthogonal neighbour has a different ID and this pixel is nearer; the clear/rear plane counts as ID 0 at maximum depth, so silhouettes against the backdrop are outlined too.
DISP3DCNTbit 5 enables edge marking. The edge colour blends into the pixel at full alpha, or at 16/31 when anti-aliasing is on (DeSmuME's edge blend).DISP3DCNTbit 4 enables anti-aliasing, which softens only detected edge pixels toward their drawn differing neighbours. Interiors are never touched.- The edge pass runs after the existing opaque and translucent passes, so lighting, texture, fog, clipping, sorting and toon/highlight shading compose as before.
A correction to the record
0x04000340 is ALPHA_TEST_REF (bits 0-4), not an edge-alpha register; the DS has no programmed edge-alpha register. Edge blending strength comes from the anti-aliasing mode, and the edge table index is polygonID >> 3, not the low three ID bits.
Verification
- Java 8 compile succeeds for core sources and tests.
- Full JVM suite: 280 passed, 0 failed, including four new checks (boundary outline, edge-alpha blend over the pixel beneath, AA-only softening with byte-exact interiors, edge-colour bus readback). With the edge pass disabled, the three behaviour checks fail and the other 277 pass.
:app:assembleDebugand:app:assembleReleaseboth succeed; release APK 306,705 bytes, versionCode 11, versionName 2.0.
Not modelled yet: clear-colour/clear-depth strips, and AA is a deterministic neighbour average rather than the hardware's per-edge coverage value. No on-device Android run or commercial-ROM compatibility test was performed.
MilliEmu 1.9 — DS 3D toon and highlight shading
MilliEmu 1.9 wires the Nintendo DS shading table into the 3D renderer end to end.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 305,794 bytes
- SHA-256:
0a2ea9fbecfe7b4b208ba795a9bb260b13a8e8c83009be80ddcc5fba38876413 - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
Shaded polygons use the real shading table
0x04000380..0x040003BFis a real 32-entry RGB555 table: halfword and word writes reach it and read back unchanged.- Polygons drawn with
POLYGON_ATTRbits 4-5 set to 2 take their vertex colour from the table entry selected by the shaded vertex's 6-bit red component, as GBATEK describes. DISP3DCNTbit 1 picks toon shading (the entry replaces the colour) or highlight shading (the entry is added and clamped). Modulation and decal polygons ignore the table.- Texturing, lighting, fog, clipping and translucent sorting from 1.8 stay intact on top of the shaded colour.
Also includes 1.8 (never released on its own)
- Every GBATEK texture format: 4/16/256-colour palettes, A3I5, A5I3, 4x4 compressed and direct colour.
- Separate non-square S/T sizes, repeat/clamp, flip, colour-zero transparency and per-texel alpha.
- Correct 12.4 fixed-point
TEXCOORDand per-slot compressed-texture palette tables. - Basic lighting, fog, near-plane clipping and deterministic back-to-front translucent sorting.
Verification
- Java 8 compile succeeds for core sources and tests.
- Full JVM suite: 276 passed, 0 failed, including four new shading checks. The toon and highlight checks were confirmed to fail with the renderer hook removed.
:app:assembleDebugand:app:assembleReleaseboth succeed; the release APK is 305,794 bytes, versionCode 10, versionName 1.9.
Still not modelled in the DS 3D engine: edge marking, anti-aliasing and clear-colour/clear-depth strips. No on-device Android run or commercial-ROM compatibility test was performed.
MilliEmu 1.7
MilliEmu 1.7 ships the Nintendo DS VRAM bank routing and SPU coverage rebuild on top of the existing 1.6 release.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Version: versionCode 8, versionName 1.7
Nintendo DS core rebuild
- Added physical VRAM banks (
vram+vramcnt) plus logical legacy-array fallbacks for rendering compatibility. - ARM7 VRAM accesses now use the ARM7 bank mapping instead of the ARM9 mapping.
- Added VRAMCNT register I/O (0x04000240..0x04000249, excluding 0x04000247) through
NdsMachine. - Added HBlank DMA triggers to
stepFrame. - Serialized physical VRAM and bank controls in save states (save-state version bumped to 2).
- Added ARM9 math coprocessor (DIV/SQRT) registers.
Audio (SPU)
- Deterministic SPU tests (
dsAudio,dsPsgAudio,dsAudioRom) exercise the SPU end-to-end and produce non-zero audio output. - Rockwrestler does not drive the SPU; audio acceptance is proven by the deterministic SPU tests/ROM.
Verification
- Java 8 compile succeeds (
javac --release 8). - Full JVM suite: 262 passed, 0 failed (historical run).
- Rockwrestler headless run: 47,518 of 98,304 pixels non-black.
- Release APK built successfully (
app-release.apk, 301,240 bytes, SHA-25607e937ec3c3d40149da26fb58259eba1694ae250b541569ff43db4040a501822).
Still open
- Card-ready DMA trigger and timer cascade/count-up.
- Full BIOS HLE and IPC/PXI services for retail SDK boot.
- Cycle-accurate DMA/timer/PPU timing.
- Textured 3D rendering.
MilliEmu 1.6
MilliEmu 1.6 adds three new cores (SMS/Game Gear, SG-1000, Atari 2600) on top of the existing 13, plus a redesigned animated Android UI.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 298,957 bytes
- SHA-256:
6813c8c5ef831b82e1df30df8f7087a625e80dc003845e558e9cd13334b28bd5 - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
New cores
- SMS / Game Gear (
sms,gg): shared Z80, VDP mode 4 line renderer with sprites and CRAM, line/frame IRQ, 3-voice PSG plus noise, Sega mapper, save states. - SG-1000 (
sg): TMS9918A VDP (Graphics I/II, Multicolor, Text, 32 sprites) on the same Z80 and PSG. - Atari 2600 (
a26): 6507 via the shared 6502, TIA playfield/players/missiles/ball, NUSIZ, HMOVE, collisions, VSYNC/VBLANK/WSYNC, two-voice audio, RIOT timer. Accepts 2K/4K images; larger images are rejected.
UI
Uidesign system with ripples, press physics and staggered entrances.- Redesigned library hero and recent-game cards; animated emulator toolbar and glowing gamepad buttons.
GmCorenull-safety so the hub cannot crash before a ROM loads.
Verification
- JVM suite: 259 passed, 0 failed.
:app:assembleDebugand:app:assembleReleasesucceed (versionCode 7, versionName 1.6).- No on-device run or commercial-ROM compatibility test was performed.
MilliEmu 1.5 — keyless DS decryption and a Dreamcast core
MilliEmu 1.5 makes retail DS cartridges open on a clean install and adds a real Dreamcast core for .gdi disc dumps.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 266,938 bytes
- SHA-256:
4895577c362979a10c38fa84d138bbc507e29d4b4bc7fd45d929d8892e5a4b38 - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
Encrypted retail DS ROMs now open without a BIOS
1.4 could decode a secure area only with a user-supplied 16 KiB ARM7 BIOS, so a retail image still failed to load on a fresh install. 1.5 carries the published 1042-word KEY1 table (NdsKeyTables) and uses it automatically:
- Encrypted retail
.ndsimages open on a clean install. No BIOS, no extra step. - An imported
bios7.binis still tried first and wins when it decodes; if it does not, the built-in table is used, and a genuinely corrupt dump is rejected rather than booting garbage. - The ROM file is never written to; decryption happens on a copy in memory.
- Homebrew, trimmed and already-decrypted images load exactly as before.
New: a built-in Dreamcast core (dc, .gdi)
.gdi dumps now run in-process instead of being refused:
- SH-4 integer CPU with correct branch delay slots,
bsr/rts, MAC multiply and the T flag. - 16 MiB main RAM with the SH-4 segment mirrors, and a linear RGB565 framebuffer at 640x480 (4:3).
- GDI manifests (2048- and 2352-byte tracks, Mode 1 and Mode 2 Form 1 payloads) and raw ISO data tracks, read through an ISO9660 implementation.
- The self-boot path copies
1ST_READ.BINto0x8C010000and starts it there with a stack.
Compressed images (.chd, .cdi, .zip, .7z) still go to the external Flycast handoff, which now shares the hub with the built-in core.
Verification
- The dependency-free JVM suite reports 217 passed, 0 failed — the 196 checks from 1.4 plus 21 new Dreamcast checks and the new BIOS-free KEY1 path.
:app:assembleReleasesucceeds with Gradle 8.7, Android Gradle Plugin 8.4.0, JDK 17 and SDK 34. The release APK is 266,938 bytes, versionCode 6, versionName 1.5, declares no app permissions, and is signed with the committedCN=MilliEmukey. The release dex containsDcCore,DcCpuandNdsKeyTables.
Not there yet (unchanged honesty)
- The Dreamcast core is a bring-up core, not a way to play commercial GD-ROM games. PowerVR2 display lists and rasterisation, AICA audio, the BIOS, interrupts and the MMU/FPU are not emulated. It is verified with hand-assembled SH-4 programs and synthetic ISO/GDI fixtures, not with retail discs.
- No sound in the GBA, DS, SNES or Dreamcast cores; NES and Game Boy audio are complete.
- No 3D on the DS, and no DS BIOS firmware is bundled.
- The APK was built and inspected in this environment, not launched on hardware — there is no device or KVM here, so no on-device Android run or commercial-game compatibility test was performed.
- No BIOS, commercial ROM or disc image is bundled or redistributed.
MilliEmu 1.4 — encrypted DS carts and seven systems
MilliEmu 1.4 — encrypted DS carts and seven systems
Released 2026-11-28. This is the first release that contains the Nintendo DS KEY1 work and every
core added since 1.3.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 254,197 bytes
- SHA-256:
250bd938c60bed60a70f1279e5135427aafd5214587c00e76072c541e326806a - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
Encrypted Nintendo DS ROMs now open
Retail .nds images keep the first 2 KiB of ARM9 code — the secure area at ROM offset 0x4000 —
encrypted with KEY1. 1.3 refused those images. 1.4 decrypts the area in memory:
- Tap Import DS ARM7 BIOS… on the hub and select an exactly 16 KiB
bios7.bin. - Open the
.nds(or.ds) image.
The ROM file is never modified. A missing or wrong BIOS is rejected with a clear message instead of
booting garbage. Decrypted, trimmed and homebrew images still load with no BIOS. The KEY1 key
schedule and block transform were checked against GBATEK's algorithm and melonDS's Key1_Decrypt;
the suite carries a known-answer vector that decrypts to encryObj, MOV r0,#42, B ..
What's new since 1.3
Added
- Native Game Boy Color mode with banked memory, color palettes, double-speed switching, GDMA,
HBlank DMA, and mode-tagged save states. - Nintendo DS KEY1 secure-area decryption using an exactly 16 KiB ARM7 BIOS dump, with a
known-answer vector and no vendor BIOS or commercial ROM bundled. - An explicit external Dreamcast handoff for
.chd,.cdi,.zip, and.7zimages. It opens
an installed Flycast app; it does not embed a Dreamcast core. - A GameMaker: Studio 1.x runtime (
gm,data.win):FORM/GEN8chunk parser, GML bytecode 15/16
interpreter, instances, rooms, events, sprite/background/tile rendering and save states. It is a
working VM foundation, not a finished GameMaker runner — surfaces, shaders, fonts/text, audio,
collisions and Data Structures are not implemented, so Undertale itself does not run end-to-end. - A Virtual Boy core (
vb,.vb/.vboy): V810 integer CPU, VIP background/world/object
renderer with GPLT/JPLT palettes, WRAM/DRAM/character RAM, keypad and save states. It renders
mono output and is verified with hand-assembled V810 programs and hand-built VRAM scenes, not
with commercial cartridges. - A Pokémon Mini core (
pm,.min): S1C88 CPU, 96x64 one-bit LCD with invert-all, internal and
LCD RAM, cartridge bank window, keypad and save states. It is verified with synthetic S1C88
programs and.minimages; audio and cartridge EEPROM are not implemented. .dsis accepted as an alias for.nds.- Regression checks for CGB conformance, legacy DMG save migration, DS KEY1 vectors, Dreamcast
handoff metadata, the GameMaker parser/VM/renderer, and the two new cores.
Fixed
- SNES save states restore SRAM, work RAM, and CPU registers with the correct stream layout.
- The Game Boy frame loop yields while the LCD is off.
- Shared ARM Thumb stack-relative word stores execute on both GBA and DS CPUs.
- GBA mode 5 renders both framebuffer pages at 160×128, and GBA save states include cartridge SRAM
while remaining compatible with older states. - V810 overflow flags now test the sign bit instead of any matching bit, so signed branches such as
BLT/BGT and signed arithmetic take the correct path.
Verification
- The dependency-free JVM suite reports 196 passed, 0 failed.
:app:assembleDebugand:app:assembleReleasesucceed with Gradle 8.7, Android Gradle Plugin
8.4.0, JDK 17, and SDK 34. The release APK is 254,197 bytes, versionCode 5, versionName 1.4,
contains no native libraries, declares no app permissions, and is signed with the committed
CN=MilliEmukey (SHA-256 above). The release dex containsNdsSecureArea.- An upstream parallel-dc headless suite passed during research; MilliEmu does not ship that core.
- No on-device Android run or commercial-game compatibility test was performed. The APK was built
and inspected in this environment, not launched on hardware.
MilliEmu 1.3 — five systems, a real DS fix, and a proper look
MilliEmu now runs NES, Game Boy, Game Boy Advance, Nintendo DS and Super Nintendo through the
same hub. Two of those cores are new in this release, the DS core got the two bugs that made
Rockwrestler look frozen, and the app finally has its own icon and a coloured interface.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 194,539 bytes
- SHA-256:
9275692668957cf01f456e3dbad7921943192888a1e4e2d201c98de0bff054be - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
New: Game Boy Advance core (gba, .gba)
A complete second ARM7TDMI machine on top of the DS core's CPU: BIOS-free boot state, modes 0-5
PPU (text, affine, bitmap) with 128 sprites, four DMA channels, timers and the standard IRQs, and
in-place BIOS calls for everything games actually use (Div, Sqrt, ArcTan, CpuSet, BgAffineSet,
LZ77, Run-Length, BitUnPack, Halt, IntrWait).
What it runs today:
jsmolka/gba-testsarm.gba— the condition-code, branch, flag, shift and data-processing
suites all pass (200+ numbered checks, each one a real ARM instruction); the ROM draws its
progress through the GBA PPU.shades.gbarenders its gradient through bitmap mode 3.- Fixing those tests also fixed the DS: three genuine decoder bugs came out of it —
RRX(ROR #0) now feeds the old carry in,LSLcomputes the carry from the right bit, and a
register-specified shift leaves the carry alone when the shift count is zero.
New: Super Nintendo core (sfc, .smc)
A full 65C816 interpreter (both accumulator/index widths, decimal mode, block moves, every
addressing mode), LoROM and HiROM mapping, PPU background modes 0-7 with 128 sprites and Mode 7,
all eight DMA channels plus HDMA, NMI/VBlank/VCount IRQs and joypad auto-read.
Verified with a hand-written test ROM (palette → two tiles → a filled map → BG1 on) that renders
exactly the expected 50 % white stripe pattern, which exercises the whole CPU → VRAM → PPU →
framebuffer path. Public PeterLemon demos boot and run through the same code.
Fixed: Rockwrestler no longer looks stalled
The DS test ROM was never actually stuck in the CPU — its menu was running the whole time. Two
real bugs hid it:
- ARM single data transfer with a register-specified offset was silently skipped by the
decoder (the group switch never routed to it), so register-offset loads/stores did nothing. - VRAM display mode (DISPCNT display mode 2) was not rendered, and
DISPCNTwas read as a
16-bit register, losing bits 16-17 — the ROM turns the screen on with0x20000and the PPU
ignored it.
Also fixed in the DS core: the ARM SWI number is now taken from bits 16-23 (the field the
hardware uses), so swi 6 no longer runs SoftReset; TCM is honoured for 16- and 32-bit accesses;
the IPC block was rewritten with independent sync/status registers per core and correct
empty/full/error bits. Rockwrestler now shows its menu, enters ARMv4 and reports OK for its
CONDITION CODES suite (artifacts/nds-rockwrestler.png).
New: the app has an icon, and colour
- A designed launcher icon (controller over a pixel grid, indigo → magenta, cyan rim) replaces the
default Android robot, in all five densities. - The library is rebuilt: gradient background, per-system colour chips, a gradient "Open ROM…"
button, and recent games as cards with a colour strip tinted by the system they belong to
(orange NES, green Game Boy, blue GBA, pink DS). - The in-game toolbar chips are rounded and violet, and the status line uses the system colour.
Everything else
CoreRegistrylearns.gba,.sfcand.smc; the library hint lists them.- New headless tools:
tools/GbaRun.java,tools/SnesRun.java(withGBA_TRACE/GBA_STEPS,
SNES_TRACE/SNES_DUMP) andtools/IconGen.java(crops the artwork into the mipmaps). - Verification suite: 74 checks, 0 failures (
java -cp build/classes:build/test-classes emu.test.TestRunner).
Not there yet (unchanged honesty)
- No sound in the GBA, DS or SNES cores.
readAudioreturns silence for those three; NES and
Game Boy audio are complete. - No 3D on the DS and no DS BIOS firmware. (KEY1-encrypted retail ROMs were refused in 1.3; 1.4 adds in-memory decryption with a user-supplied BIOS.)
- SNES windows, colour maths, interlace and offset-per-tile are not applied; Mode 5/6 render
at 256 pixels wide. GBA windows and alpha blending are likewise not applied. - No commercial cartridge has been run through the GBA or SNES cores — they are verified with
public test ROMs and hand-written programs, not with retail games. - The APK was built and inspected, not launched on hardware here (no device or KVM in this
environment). The screenshot-worthy evidence is inartifacts/: Rockwrestler's menu, the GBA
ARM test output, the GBA shade gradient, and the SNES stripe test.
MilliEmu 1.3 — five systems, DS fixed, icon + colour
MilliEmu 1.3 — five systems, a real DS fix, and a proper look
MilliEmu now runs NES, Game Boy, Game Boy Advance, Nintendo DS and Super Nintendo through the
same hub. Two of those cores are new in this release, the DS core got the two bugs that made
Rockwrestler look frozen, and the app finally has its own icon and a coloured interface.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 194,539 bytes
- SHA-256:
9275692668957cf01f456e3dbad7921943192888a1e4e2d201c98de0bff054be - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
New: Game Boy Advance core (gba, .gba)
A complete second ARM7TDMI machine on top of the DS core's CPU: BIOS-free boot state, modes 0-5
PPU (text, affine, bitmap) with 128 sprites, four DMA channels, timers and the standard IRQs, and
in-place BIOS calls for everything games actually use (Div, Sqrt, ArcTan, CpuSet, BgAffineSet,
LZ77, Run-Length, BitUnPack, Halt, IntrWait).
What it runs today:
jsmolka/gba-testsarm.gba— the condition-code, branch, flag, shift and data-processing
suites all pass (200+ numbered checks, each one a real ARM instruction); the ROM draws its
progress through the GBA PPU.shades.gbarenders its gradient through bitmap mode 3.- Fixing those tests also fixed the DS: three genuine decoder bugs came out of it —
RRX(ROR #0) now feeds the old carry in,LSLcomputes the carry from the right bit, and a
register-specified shift leaves the carry alone when the shift count is zero.
New: Super Nintendo core (sfc, .smc)
A full 65C816 interpreter (both accumulator/index widths, decimal mode, block moves, every
addressing mode), LoROM and HiROM mapping, PPU background modes 0-7 with 128 sprites and Mode 7,
all eight DMA channels plus HDMA, NMI/VBlank/VCount IRQs and joypad auto-read.
Verified with a hand-written test ROM (palette → two tiles → a filled map → BG1 on) that renders
exactly the expected 50 % white stripe pattern, which exercises the whole CPU → VRAM → PPU →
framebuffer path. Public PeterLemon demos boot and run through the same code.
Fixed: Rockwrestler no longer looks stalled
The DS test ROM was never actually stuck in the CPU — its menu was running the whole time. Two
real bugs hid it:
- ARM single data transfer with a register-specified offset was silently skipped by the
decoder (the group switch never routed to it), so register-offset loads/stores did nothing. - VRAM display mode (DISPCNT display mode 2) was not rendered, and
DISPCNTwas read as a
16-bit register, losing bits 16-17 — the ROM turns the screen on with0x20000and the PPU
ignored it.
Also fixed in the DS core: the ARM SWI number is now taken from bits 16-23 (the field the
hardware uses), so swi 6 no longer runs SoftReset; TCM is honoured for 16- and 32-bit accesses;
the IPC block was rewritten with independent sync/status registers per core and correct
empty/full/error bits. Rockwrestler now shows its menu, enters ARMv4 and reports OK for its
CONDITION CODES suite (artifacts/nds-rockwrestler.png).
New: the app has an icon, and colour
- A designed launcher icon (controller over a pixel grid, indigo → magenta, cyan rim) replaces the
default Android robot, in all five densities. - The library is rebuilt: gradient background, per-system colour chips, a gradient "Open ROM…"
button, and recent games as cards with a colour strip tinted by the system they belong to
(orange NES, green Game Boy, blue GBA, pink DS). - The in-game toolbar chips are rounded and violet, and the status line uses the system colour.
Everything else
CoreRegistrylearns.gba,.sfcand.smc; the library hint lists them.- New headless tools:
tools/GbaRun.java,tools/SnesRun.java(withGBA_TRACE/GBA_STEPS,
SNES_TRACE/SNES_DUMP) andtools/IconGen.java(crops the artwork into the mipmaps). - Verification suite: 74 checks, 0 failures (
java -cp build/classes:build/test-classes emu.test.TestRunner).
Not there yet (unchanged honesty)
- No sound in the GBA, DS or SNES cores.
readAudioreturns silence for those three; NES and
Game Boy audio are complete. - No 3D on the DS, no DS BIOS firmware, and KEY1-encrypted retail ROMs are still refused.
- SNES windows, colour maths, interlace and offset-per-tile are not applied; Mode 5/6 render
at 256 pixels wide. GBA windows and alpha blending are likewise not applied. - No commercial cartridge has been run through the GBA or SNES cores — they are verified with
public test ROMs and hand-written programs, not with retail games. - The APK was built and inspected, not launched on hardware here (no device or KVM in this
environment). The screenshot-worthy evidence is inartifacts/: Rockwrestler's menu, the GBA
ARM test output, the GBA shade gradient, and the SNES stripe test.
MilliEmu 1.2 — NES + Game Boy + Nintendo DS
MilliEmu 1.2 — now three systems: NES + Game Boy + Nintendo DS
The hub gained its third core. MilliEmu runs .nds images through a from-scratch dual-core ARM
emulator: a real ARM9 and ARM7 running side by side, with the DS memory map, both 2D engines and
the inter-processor FIFOs. As with the previous two cores, the UI needed no new code — the
library and the picker just learned one more extension.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 80,264 bytes
- SHA-256:
7df2569daa4d76e3acfd55b89c1598c68a8e6de0e709c61240fe7b43fab58052 - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
New in 1.2 — Nintendo DS core
| Area | Status |
|---|---|
| ARM9 (ARMv5TE) + ARM7 (ARMv4T), ARM and Thumb, condition codes, banked registers | Complete |
Exception entry/return, IRQ via the BIOS vector to the user handler at 0x03FFFFFC |
Complete |
| 4 MiB main RAM, shared/ARM7 WRAM, ITCM/DTCM, BIOS stubs, VRAM windows, palette, OAM | Complete |
| IPC sync register + both 16-word FIFOs with the status bits homebrew polls | Complete |
| DMA (4 channels per core), timers (4 per core), keypad | Complete |
| 2D main + sub engines: text and affine backgrounds, OAM sprites, 15-bit bitmap mode 5 | Complete |
| BIOS calls: Div, CpuSet/CpuFastSet, BitUnPack, LZ77, Run-Length, Halt/VBlankIntrWait | Complete |
| Save states | Complete, single slot per game |
| 3D engine · DS sound · KEY1-encrypted retail ROMs | Not implemented |
The two screens are rendered stacked, so the picture keeps the DS's real 256×384 layout and the
app letterboxes it to the physical screen.
What is not there (unchanged honesty)
- No 3D engine and no sound. The 3D rasteriser and the 16-channel audio block are not
modelled;readAudioreturns silence instead of noise. - Unencrypted images only. Retail cartridges encrypt the start of the ARM9 program with
Nintendo's KEY1 cipher, whose Blowfish tables are not in this repository. Those images are
detected and refused with a clear message instead of hanging. Homebrew.ndsfiles load. - No BIOS firmware: the pieces homebrew actually calls are emulated in place.
- Verified against one public test ROM. Rockwrestler loads, runs its ARM9/ARM7 init and its
CPU suite for hundreds of millions of instructions, and idles in its per-frame loop; it does
not yet complete that ROM's full suite, so no DS game is claimed as fully playable. No
commercial DS game can be run at all without KEY1 decryption. - Speed: ~55–65 fps in the desktop JVM harness, so a mid-range phone sits near full speed.
Verification
74 checks pass (up from 38), including 26 new DS checks that assemble ARM and Thumb programs and
boot complete synthetic DS ROM images through the real cartridge loader, memory map and both
picture engines. NES and Game Boy results are unchanged: Klaus Dormann's 6502 test, nestest
(8991 instructions), blargg's instr_test-v5, cpu_instrs, instr_timing, halt_bug, and
dmg-acid2 (23040/23040 pixels identical).
As before, the APK is built and signature-verified but was not launched on a phone in the
build environment (no KVM, no USB device); everything below the UI is exercised by the suite.
Install
Copy MilliEmu-1.2.apk to the phone, tap it, allow "install unknown apps" for the file manager,
open it, then Open ROM… and pick a .nes, .gb, .gbc or .nds file. It installs over 1.0
and 1.1 as an update: same signing key, higher version code.
MilliEmu 1.1 — NES + Game Boy
MilliEmu 1.1 — now two systems: NES + Game Boy
The hub gained its second core. MilliEmu is no longer a NES-only emulator: it now runs Game Boy
(DMG) ROMs through a from-scratch LR35902 core, and the UI picks the core from the file
extension. No build tools needed — download, tap, play.
- Package:
emu.android· Android 5.0+ (API 21) · no permissions, no network - Size: 58,897 bytes
- SHA-256:
3bb84a636803e5537162058ba6f75f69d962e8adbf66a9a86676d2397703e586 - Signed: v1 + v2 schemes, self-signed key
CN=MilliEmu(committed inkeystore/)
New in 1.1 — Game Boy core
| Area | Status |
|---|---|
| LR35902 CPU, all opcodes incl. CB prefix | Complete, hardware cycle counts, EI delay, HALT bug |
| PPU: background, window, 8×8/8×16 sprites, 10-per-line, DMG priority | Complete |
| APU: 2× pulse (with sweep), wave, noise, envelopes, frame sequencer | Complete |
| Timer/DIV, joypad, serial, VBlank/STAT/LYC interrupts | Complete |
| Cartridges | ROM-only, MBC1, MBC2, MBC3, MBC5 |
| Save states | Full machine state, one slot per game |
Supported files: .nes, .gb, and .gbc when the game is DMG-compatible. Game Boy Color
exclusive games are rejected with a clear message instead of booting to garbage.
The video is now letterboxed per core (4:3 for the NES, 10:9 for the Game Boy), and the on-screen
gamepad is unchanged — the same eight buttons map to the Game Boy's D-pad, A, B, Start, Select.
Verification
38 passed, 0 failed in the headless suite (29 NES + 9 Game Boy):
- Game Boy cpu_instrs: all 11 sub-tests pass.
- Game Boy instr_timing: instruction cycle counts match hardware.
- Game Boy halt_bug: the HALT bug behaves like real hardware.
- Game Boy dmg-acid2: Matt Currie's PPU conformance test, 23040/23040 pixels identical
to the official reference image. - NES: Klaus Dormann's 6502 functional test,
nestest(8991/8991 with exact cycles), blargg
instr_test-v5(16/16), PPU/mapper/APU checks and a byte-identical save-state round trip.
Known limitations
- Game Boy is monochrome DMG only: no CGB colour palettes, no double-speed mode, no boot ROM
animation (registers start post-boot, as games expect). - blargg's
mem_timingstill fails its 3 sub-tests: instruction totals are exact, but the
individual bus accesses inside an instruction are not split across their exact T-cycles. - No link cable, no RTC, no battery-backed
.savfiles (cartridge RAM is kept in save states). - NES: no DMC channel, scanline-accurate PPU, mappers 0/1/2/3/4/7 only.
Install note
This APK is signed with the same key as 1.0, so it installs straight over it as an update.