dmonterocrespo
Joined 1 year ago
Joined 1 year ago
Instead of high-level emulation, the decompiled C source is compiled directly to Xtensa machine code for the ESP32-S3. We replaced the PlayStation SDK/GPU/GTE with custom software routines, running on a DIY handheld built around a Seeed XIAO ESP32-S3 Sense.
To speed up development without constantly flashing hardware, we run the compiled firmware image directly inside a browser-based hardware simulator CLI (velxio-cli) to verify serial outputs and execution in seconds.
Having 100% matching C code makes native ports to embedded platforms completely feasible without relying on heavy JIT/interpreter glue.
The game code compiles directly to Xtensa machine code, with the PlayStation SDK, GPU, GTE, CD drive, scheduler, and controller replaced by software layers.
It runs on a Seeed Studio XIAO ESP32-S3 Sense with 8 MB PSRAM and microSD.
The post goes into the porting process, memory layout, scheduler, software rendering, debugging, and the bugs that took the most time to find
Application Architect with over 10 years of experience leading the development of large-scale enterprise ecosystems. Specialist in the integration of Generative Artificial Intelligence (LLMs, RAG) and Cloud-Native architectures (OpenShift, Kubernetes). Certified Odoo ERP expert with a proven track record in the digital transformation of government and retail sectors. Focused on designing scalable solutions that optimize critical business processes.
Architecture and AI GenAI (watsonx.ai), RAG, LangChain, LLMs, Vector Databases,Agents LLM Backend & Core Java (Expert), Python (Expert), Node.js, PHP. Frontend & Mobile Angular, React, Android (Native). ERP & Business Odoo Certified (Functional & Technical), CRM, Contabilidad, eCommerce. DevOps & Cloud Docker, Kubernetes, OpenShift, CI/CD, AWS/IBM Cloud.
Programming and robotics enthusiast
Github https://github.com/davidmonterocrespo24
Medium https://medium.com/@davidmonterocrespo24
I’m working on a side project https://velxio.dev