Better HN
topnewbestaskshowjobs
Log inSign up

dmcrespo

100 karma · joined Feb 4, 2026 (9mo ago) · 62 submissions

Submissions

comment 1mo ago · link · parent

That's exactly what I was analyzing. They go viral very quickly, and there's no way to verify if they contain viruses or steal information.

comment 1mo ago · link · parent

It seems a bit crazy to me, plus now it opens the door to many iPhone copies... we'll have to be very careful

comment 1mo ago · link · parent

Really cool project! The only thing I noticed is that the performance feels a bit slow at times, and it could use a little more fluidity, especially when interacting with the model.

Other than that, everything feels really well done. Building something like this in JavaScript/HTML, especially with a 3D model this detailed, must be quite challenging from an optimization standpoint.

Great work!

comment 1mo ago · link · parent

I spent the last few months porting the original PlayStation Metal Gear Solid (1998) decompilation directly to an ESP32-S3 microcontroller, targeting the Seeed XIAO ESP32-S3 Sense and Waveshare handhelds.

AI was used to port to ESP32, and human talent was used to assemble the circuit, hardware, and proprietary knowledge of ESP32 and FreeRTOS optimizations.

Rather than running an emulator, the decompiled C source from mgs_reversing is compiled natively to Xtensa machine code. Everything the original PS1 hardware provided, including the GTE, GPU, BIOS scheduler, and CD drive, is reimplemented in software on top of ESP-IDF and FreeRTOS.

SoC: ESP32-S3, dual-core Xtensa LX7 @ 240 MHz, 512 KB internal SRAM, 8 MB Octal PSRAM.

Display: 320×240 LCD (ST7789 / ILI9341) over SPI at 40 MHz.

Storage: MicroSD card over SPI containing the full game stage assets (STAGE.DIR).

Internal SRAM is fast but limited, while PSRAM provides 8 MB of additional memory but sits behind the same cache subsystem used for external Flash.

Placing FreeRTOS task stacks in PSRAM initially appeared to work, until a task performed file I/O such as fopen().

When external Flash cache was disabled during Flash/PSRAM access, the CPU could no longer safely access task stacks stored in PSRAM, causing an immediate SoC crash.

comment 2mo ago · link · parent

Calling this paper "Dream" seems a bit speculative to me. The idea is interesting and reminded me somewhat of karpathy's work at https://github.com/karpathy/autoresearch

comment 2mo ago · link · parent

Since this is about old iPod technology, I thought this might be interesting here:

I’ve been working on getting the real Apple iPod Classic 6G firmware running in QEMU. It currently emulates two clickwheel iPods, including the display ,click wheel input and music player.

https://github.com/davidmonterocrespo24/qemu-ipod-classic

Still a work in progress

comment 3mo ago · link · parent

That's incredible, I never imagined that was possible. The Apple ecosystem is very closed.I was checking if it exists for the iPod Classic since it's my favorite

8.

Velxio 3.0 – An AI hardware Agent that designs circuits an emulator(github.com ↗)

5 points · by dmcrespo · 5mo ago · 1 comment

9.

Velxio 2.5:Arduino and ESP32 and real SPICE circuit simulation in the browser(velxio.dev ↗)

5 points · by dmcrespo · 7mo ago · 2 comments

comment 8mo ago · link · parent

You're partially right. ESP32-C6 isn’t supported yet (only ESP32, S3, CAM, C3 for now), and the current flow is Arduino-based via arduino-cli — ESP-IDF support is planned a future You’re also right about binaries, you can’t upload an ELF/BIN yet, everything goes through the built-in compilation pipeline (but it’s on the roadmap).

Appreciate the feedback.

comment 8mo ago · link · parent

Yeah, definitely, ESPHome fits really well with what I’m building. I’m currently going through the docs to see how to integrate it properly

comment 8mo ago · link · parent

Both, with a nuance. The AVR simulator syncs to wall-clock time and each frame calculates cycles from real elapsed deltaMs, so delay(1000) takes 1 real second and timer-dependent code (PWM, millis()) runs at correct real time rates. The RP2040 and ESP32-C3 simulators use a fixed cycles-per-frame budget (125MHz/60 and 160MHz/60 respectively), which targets real time but doesn't compensate for frame drops . if the browser stutters, emulated time stretches slightly. All three are cycle-accurate at the instruction level though, so the logic and peripheral behavior is faithful to real hardware regardless of frame timing

comment 8mo ago · link · parent

Thanks, appreciate it! Glad you like it

comment 8mo ago · link · parent

Thanks, appreciate it!

comment 8mo ago · link · parent

Yes,peripherals are fully emulated, not just the CPU. LEDs blink, buttons respond to clicks, Serial Monitor works, servos rotate, displays render (ILI9341 TFT), and we have 48 o more components from the wokwi-elements library. The Blink example should show the built-in LED toggling on pin 13. If it didn't blink for you, it might be a compilation issue

try the example Traffic Light : Simulate a traffic light with red, yellow, and green LEDs

123