Better HN
topnewbestaskshowjobs
Log inSign up

xrip

4 karma · joined Aug 19, 2025 (1y ago) · 10 submissions

https://github.com/xrip
Submissions

1.

I Rebuilt the 1997 Ultima Online Client from Scratch So a Bot Can Play It(github.com ↗)

2 points · by xrip · 6mo ago · discuss

2.

Tiny Coder – AI coding agent in ~300 LOC writing itself(github.com ↗)

1 points · by xrip · 10mo ago · discuss

comment 1y ago · link · parent

Btw, vogons may be more intersted in other project of mine https://github.com/xrip/retro-sound It also can be used on real hardware via COM port, but someone should write DOS TSR like OPL2LPT

Win32 version on pico-286 can also use retro-sound :)

comment 1y ago · link · parent

> Why not work on it? Isn't there a fairly substantial return on investment for someone in Russia who does that? This is not meant as a put down or an insult. Just general befuddlement because it seems like a no-brainer to me. I have no probs reading and listen in english, but writing is bad caused lack of practice.

> So cpu.[ch] are from fake86 -- via faux86 or straight from fake86? What version did you fork? That is something that would be good to put in the readme.

I think it's mixture of all availble version, but base is from https://github.com/lgblgblgb/fake86

RP2040 drivers is mostly by murmulator community, and initial code by from https://github.com/AlexEkb4ever the creator of murmulator devboard hardware. They're also rewriten and improved by my, but initial from Alex

My code or often deep rewrite of others code is in ./src/ except emu8950 and cpu.(c|h). MiniFB for win32 is striped down version of minifb laying around at github, linuxminifb is my implementation for linux.

About structs and so on, i'm not C coder at all i've started with C from scratch two years ago in my spare time :) So this project, if we trace from inital commit till now is mirror of my growth as C coder :) Also, about Linux/Win32 versions. Win32 version used for overal algo debuggin. Linux version is just 'because why not?'

Typescript is my everyday toy and tool (memory economy? cpu cycles waste... huh!).

Network Redirector uses >=DOS 4 structs, main difference between dos versions is CDS struct and SDA, which is easely can be changed.

There is pre-configured boot FDD0 image for which should be used to achieve best emulator configuration and performance.

comment 1y ago · link · parent

Bios is lightly modified https://github.com/virtualxt/pcxtbios (https://www.phatcode.net/downloads.php?id=101)

comment 1y ago · link · parent

Check the commits chain. LLM write wonderfull stub but not realy working code, and then i've cleaned and fixed it down. Also mapdrive.asm writen by me. In other words - llm was a good helper.

comment 1y ago · link · parent

My english is pretty bad, its take time to write post in not sort of a 'pigeon English' :)

Regarding other commenters, about LLMs. Sure they're used, nowdays it's stupid to drop the oportunities that LLMS provide. But around 60% of codoe wroten by me, and CPU emulation is wroten by famous Mike Chambers in fake86 emulator. Sometimes, when code looks rought or stupid (why no struct, folks?) -- keep in mind it's target on very limited cpu power and MUCH more limited RAM of RP2040. Also, code mess of .inl.c cause we need maximize functions inlineing, each funciton call on pico took abonrmal amout of CPU cycles.

While RP2350 was some sort of gamechanger, resources is still limited.